/frameworks/base/core/java/com/android/internal/policy/ |
D | DockedDividerUtils.java | 34 public static void calculateBoundsForPosition(int position, int dockSide, Rect outRect, in calculateBoundsForPosition() argument 37 switch (dockSide) { in calculateBoundsForPosition() 51 sanitizeStackBounds(outRect, dockSide == DOCKED_LEFT || dockSide == DOCKED_TOP); in calculateBoundsForPosition() 84 public static int calculatePositionForBounds(Rect bounds, int dockSide, int dividerSize) { in calculatePositionForBounds() argument 85 switch (dockSide) { in calculatePositionForBounds() 125 public static int invertDockSide(int dockSide) { in invertDockSide() argument 126 switch (dockSide) { in invertDockSide()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 845 public void calculateBoundsForPosition(int position, int dockSide, Rect outRect) { in calculateBoundsForPosition() argument 846 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, outRect, mDisplayWidth, in calculateBoundsForPosition() 980 private int restrictDismissingTaskPosition(int taskPosition, int dockSide, in restrictDismissingTaskPosition() argument 982 if (snapTarget.flag == SnapTarget.FLAG_DISMISS_START && dockSideTopLeft(dockSide)) { in restrictDismissingTaskPosition() 985 && dockSideBottomRight(dockSide)) { in restrictDismissingTaskPosition() 995 private void applyDismissingParallax(Rect taskRect, int dockSide, SnapTarget snapTarget, in applyDismissingParallax() argument 1003 && dockSideTopLeft(dockSide)) { in applyDismissingParallax() 1008 && dockSideBottomRight(dockSide)) { in applyDismissingParallax() 1014 && isDismissing(splitTarget, position, dockSide)) { in applyDismissingParallax() 1015 fraction = calculateParallaxDismissingFraction(fraction, dockSide); in applyDismissingParallax() [all …]
|
D | MinimizedDockShadow.java | 45 public void setDockSide(int dockSide) { in setDockSide() argument 46 if (dockSide != mDockSide) { in setDockSide() 47 mDockSide = dockSide; in setDockSide()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskStack.java | 436 int dockSide = getDockSide(inOutBounds); in repositionDockedStackAfterRotation() local 437 if (mService.mPolicy.isDockSideAllowed(dockSide)) { in repositionDockedStackAfterRotation() 441 dockSide = DockedDividerUtils.invertDockSide(dockSide); in repositionDockedStackAfterRotation() 442 switch (dockSide) { in repositionDockedStackAfterRotation() 475 final int dockSide = getDockSide(outBounds); in snapDockedStackAfterRotation() local 477 dockSide, dividerSize); in snapDockedStackAfterRotation() 491 DockedDividerUtils.calculateBoundsForPosition(target.position, dockSide, in snapDockedStackAfterRotation() 1037 final int dockSide = getDockSide(); in adjustForMinimizedDockedStack() local 1038 if (dockSide == DOCKED_INVALID && !mTmpAdjustedBounds.isEmpty()) { in adjustForMinimizedDockedStack() 1042 if (dockSide == DOCKED_TOP) { in adjustForMinimizedDockedStack() [all …]
|
D | DockedStackDividerController.java | 173 final int dockSide = TaskStack.getDockSideUnchecked(mTmpRect, mTmpRect2, orientation); in getSmallestWidthDpForBounds() local 174 final int position = DockedDividerUtils.calculatePositionForBounds(mTmpRect, dockSide, in getSmallestWidthDpForBounds() 181 DockedDividerUtils.calculateBoundsForPosition(snappedPosition, dockSide, mTmpRect, in getSmallestWidthDpForBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/ |
D | ShortcutKeyDispatcher.java | 98 int dockSide = mWindowManagerService.getDockedStackSide(); in handleDockKey() local 99 if (dockSide == WindowManager.DOCKED_INVALID) { in handleDockKey()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 426 public final int dockSide; field in TaskStack.DockState 442 DockState(int dockSide, int createMode, int dockAreaAlpha, int hintTextAlpha, in DockState() argument 445 this.dockSide = dockSide; in DockState() 481 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, newWindowBounds, in getDockedBounds() 499 DockedDividerUtils.invertDockSide(dockSide), windowRectOut, width, height, in getDockedTaskStackBounds() 522 if (dockSide == DOCKED_LEFT) { 524 } else if (dockSide == DOCKED_RIGHT) {
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerPolicy.java | 1416 public boolean isDockSideAllowed(int dockSide); in isDockSideAllowed() argument
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 6601 public boolean isDockSideAllowed(int dockSide) { in isDockSideAllowed() argument 6605 return dockSide == DOCKED_TOP || dockSide == DOCKED_LEFT || dockSide == DOCKED_RIGHT; in isDockSideAllowed() 6607 return dockSide == DOCKED_TOP || dockSide == DOCKED_LEFT; in isDockSideAllowed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBar.java | 1315 int dockSide = WindowManagerProxy.getInstance().getDockSide(); in toggleSplitScreenMode() local 1316 if (dockSide == WindowManager.DOCKED_INVALID) { in toggleSplitScreenMode()
|