Loading packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java +12 −0 Original line number Diff line number Diff line Loading @@ -317,6 +317,18 @@ public class DividerView extends FrameLayout implements OnTouchListener, outRect.top = position + mDividerWindowWidth - 2 * mDividerInsets; break; } if (outRect.left > outRect.right) { outRect.left = outRect.right; } if (outRect.top > outRect.bottom) { outRect.top = outRect.bottom; } if (outRect.right < outRect.left) { outRect.right = outRect.left; } if (outRect.bottom < outRect.top) { outRect.bottom = outRect.top; } } public void resizeStack(int position) { Loading services/core/java/com/android/server/wm/Task.java +0 −8 Original line number Diff line number Diff line Loading @@ -194,14 +194,6 @@ class Task implements DimLayer.DimLayerUser { bounds = mTmpRect; mFullscreen = true; } else { if ((mStack.mStackId != FREEFORM_WORKSPACE_STACK_ID && mStack.mStackId != PINNED_STACK_ID) || bounds.isEmpty()) { // ensure bounds are entirely within the display rect if (!bounds.intersect(mTmpRect)) { // Can't set bounds outside the containing display...Sorry! return BOUNDS_CHANGE_NONE; } } mFullscreen = mTmpRect.equals(bounds); } } Loading services/core/java/com/android/server/wm/TaskStack.java +0 −5 Original line number Diff line number Diff line Loading @@ -154,11 +154,6 @@ public class TaskStack implements DimLayer.DimLayerUser { bounds = mTmpRect; mFullscreen = true; } else { // ensure bounds are entirely within the display rect if (!bounds.intersect(mTmpRect)) { // Can't set bounds outside the containing display.. Sorry! return false; } mFullscreen = mTmpRect.equals(bounds); } } Loading Loading
packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java +12 −0 Original line number Diff line number Diff line Loading @@ -317,6 +317,18 @@ public class DividerView extends FrameLayout implements OnTouchListener, outRect.top = position + mDividerWindowWidth - 2 * mDividerInsets; break; } if (outRect.left > outRect.right) { outRect.left = outRect.right; } if (outRect.top > outRect.bottom) { outRect.top = outRect.bottom; } if (outRect.right < outRect.left) { outRect.right = outRect.left; } if (outRect.bottom < outRect.top) { outRect.bottom = outRect.top; } } public void resizeStack(int position) { Loading
services/core/java/com/android/server/wm/Task.java +0 −8 Original line number Diff line number Diff line Loading @@ -194,14 +194,6 @@ class Task implements DimLayer.DimLayerUser { bounds = mTmpRect; mFullscreen = true; } else { if ((mStack.mStackId != FREEFORM_WORKSPACE_STACK_ID && mStack.mStackId != PINNED_STACK_ID) || bounds.isEmpty()) { // ensure bounds are entirely within the display rect if (!bounds.intersect(mTmpRect)) { // Can't set bounds outside the containing display...Sorry! return BOUNDS_CHANGE_NONE; } } mFullscreen = mTmpRect.equals(bounds); } } Loading
services/core/java/com/android/server/wm/TaskStack.java +0 −5 Original line number Diff line number Diff line Loading @@ -154,11 +154,6 @@ public class TaskStack implements DimLayer.DimLayerUser { bounds = mTmpRect; mFullscreen = true; } else { // ensure bounds are entirely within the display rect if (!bounds.intersect(mTmpRect)) { // Can't set bounds outside the containing display.. Sorry! return false; } mFullscreen = mTmpRect.equals(bounds); } } Loading