Loading core/java/android/view/ViewRootImpl.java +1 −15 Original line number Original line Diff line number Diff line Loading @@ -19,7 +19,6 @@ package android.view; import static android.view.WindowCallbacks.RESIZE_MODE_DOCKED_DIVIDER; import static android.view.WindowCallbacks.RESIZE_MODE_DOCKED_DIVIDER; import static android.view.WindowCallbacks.RESIZE_MODE_FREEFORM; import static android.view.WindowCallbacks.RESIZE_MODE_FREEFORM; import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_DECOR_VIEW_VISIBILITY; import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_DECOR_VIEW_VISIBILITY; import static android.view.WindowManager.LayoutParams.TYPE_DOCK_DIVIDER; import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; import static android.view.WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL; import static android.view.WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL; import static android.view.WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY; import static android.view.WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY; Loading Loading @@ -3542,21 +3541,8 @@ public final class ViewRootImpl implements ViewParent, mWinFrame.bottom = t + h; mWinFrame.bottom = t + h; mPendingBackDropFrame.set(mWinFrame); mPendingBackDropFrame.set(mWinFrame); // Suppress layouts during resizing - a correct layout will happen when resizing // is done, and this just increases system load. boolean isDockedDivider = mWindowAttributes.type == TYPE_DOCK_DIVIDER; boolean suppress = (mDragResizing && mResizeMode == RESIZE_MODE_DOCKED_DIVIDER) || isDockedDivider; if (!suppress) { if (mView != null) { forceLayout(mView); } requestLayout(); } else { maybeHandleWindowMove(mWinFrame); maybeHandleWindowMove(mWinFrame); } } } break; break; case MSG_WINDOW_FOCUS_CHANGED: { case MSG_WINDOW_FOCUS_CHANGED: { if (mAdded) { if (mAdded) { Loading Loading
core/java/android/view/ViewRootImpl.java +1 −15 Original line number Original line Diff line number Diff line Loading @@ -19,7 +19,6 @@ package android.view; import static android.view.WindowCallbacks.RESIZE_MODE_DOCKED_DIVIDER; import static android.view.WindowCallbacks.RESIZE_MODE_DOCKED_DIVIDER; import static android.view.WindowCallbacks.RESIZE_MODE_FREEFORM; import static android.view.WindowCallbacks.RESIZE_MODE_FREEFORM; import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_DECOR_VIEW_VISIBILITY; import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_DECOR_VIEW_VISIBILITY; import static android.view.WindowManager.LayoutParams.TYPE_DOCK_DIVIDER; import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; import static android.view.WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL; import static android.view.WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL; import static android.view.WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY; import static android.view.WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY; Loading Loading @@ -3542,21 +3541,8 @@ public final class ViewRootImpl implements ViewParent, mWinFrame.bottom = t + h; mWinFrame.bottom = t + h; mPendingBackDropFrame.set(mWinFrame); mPendingBackDropFrame.set(mWinFrame); // Suppress layouts during resizing - a correct layout will happen when resizing // is done, and this just increases system load. boolean isDockedDivider = mWindowAttributes.type == TYPE_DOCK_DIVIDER; boolean suppress = (mDragResizing && mResizeMode == RESIZE_MODE_DOCKED_DIVIDER) || isDockedDivider; if (!suppress) { if (mView != null) { forceLayout(mView); } requestLayout(); } else { maybeHandleWindowMove(mWinFrame); maybeHandleWindowMove(mWinFrame); } } } break; break; case MSG_WINDOW_FOCUS_CHANGED: { case MSG_WINDOW_FOCUS_CHANGED: { if (mAdded) { if (mAdded) { Loading