/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()
|
D | DividerSnapAlgorithm.java | 110 boolean isHorizontalDivision, Rect insets, int dockSide) { in DividerSnapAlgorithm() argument 112 dockSide, false); in DividerSnapAlgorithm() 116 boolean isHorizontalDivision, Rect insets, int dockSide, boolean isMinimizedMode) { in DividerSnapAlgorithm() argument 134 calculateTargets(isHorizontalDivision, dockSide); in DividerSnapAlgorithm()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | DockState.java | 240 public final int dockSide; field in DockState 256 DockState(int dockSide, int createMode, int dockAreaAlpha, int hintTextAlpha, in DockState() argument 259 this.dockSide = dockSide; in DockState() 295 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, newWindowBounds, in getDockedBounds() 313 DockedDividerUtils.invertDockSide(dockSide), windowRectOut, width, height, in getDockedTaskStackBounds() 336 if (dockSide == DOCKED_LEFT) { 338 } else if (dockSide == DOCKED_RIGHT) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 986 public void calculateBoundsForPosition(int position, int dockSide, Rect outRect) { in calculateBoundsForPosition() argument 987 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, outRect, mDisplayWidth, in calculateBoundsForPosition() 1146 private int restrictDismissingTaskPosition(int taskPosition, int dockSide, in restrictDismissingTaskPosition() argument 1148 if (snapTarget.flag == SnapTarget.FLAG_DISMISS_START && dockSideTopLeft(dockSide)) { in restrictDismissingTaskPosition() 1151 && dockSideBottomRight(dockSide)) { in restrictDismissingTaskPosition() 1161 private void applyDismissingParallax(Rect taskRect, int dockSide, SnapTarget snapTarget, in applyDismissingParallax() argument 1169 && dockSideTopLeft(dockSide)) { in applyDismissingParallax() 1174 && dockSideBottomRight(dockSide)) { in applyDismissingParallax() 1180 && isDismissing(splitTarget, position, dockSide)) { in applyDismissingParallax() 1181 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 | 516 int dockSide = getDockSide(inOutBounds); in repositionPrimarySplitScreenStackAfterRotation() local 517 if (mDisplayContent.getDockedDividerController().canPrimaryStackDockTo(dockSide)) { in repositionPrimarySplitScreenStackAfterRotation() 521 dockSide = DockedDividerUtils.invertDockSide(dockSide); in repositionPrimarySplitScreenStackAfterRotation() 522 switch (dockSide) { in repositionPrimarySplitScreenStackAfterRotation() 554 final int dockSide = getDockSide(outBounds); in snapDockedStackAfterRotation() local 556 dockSide, dividerSize); in snapDockedStackAfterRotation() 572 DockedDividerUtils.calculateBoundsForPosition(target.position, dockSide, in snapDockedStackAfterRotation() 1270 final int dockSide = getDockSide(); in adjustForMinimizedDockedStack() local 1271 if (dockSide == DOCKED_INVALID && !mTmpAdjustedBounds.isEmpty()) { in adjustForMinimizedDockedStack() 1275 if (dockSide == DOCKED_TOP) { in adjustForMinimizedDockedStack() [all …]
|
D | DockedStackDividerController.java | 173 final int dockSide = getDockSide(mTmpRect, mTmpRect2, orientation); in getSmallestWidthDpForBounds() local 174 final int position = DockedDividerUtils.calculatePositionForBounds(mTmpRect, dockSide, in getSmallestWidthDpForBounds() 184 DockedDividerUtils.calculateBoundsForPosition(snappedPosition, dockSide, mTmpRect, in getSmallestWidthDpForBounds() 465 boolean canPrimaryStackDockTo(int dockSide) { in canPrimaryStackDockTo() argument 467 return mService.mPolicy.isDockSideAllowed(dockSide, mOriginalDockedSide, di.logicalWidth, in canPrimaryStackDockTo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/ |
D | ShortcutKeyDispatcher.java | 93 int dockSide = mWindowManagerService.getDockedStackSide(); in handleDockKey() local 94 if (dockSide == WindowManager.DOCKED_INVALID) { in handleDockKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TestWindowManagerPolicy.java | 556 public boolean isDockSideAllowed(int dockSide, int originalDockSide, int displayWidth,
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 1725 public boolean isDockSideAllowed(int dockSide, int originalDockSide, int displayWidth, in isDockSideAllowed() argument
|
D | PhoneWindowManager.java | 7201 public boolean isDockSideAllowed(int dockSide, int originalDockSide, int displayWidth, in isDockSideAllowed() argument 7204 return isDockSideAllowed(dockSide, originalDockSide, barPosition, mNavigationBarCanMove); in isDockSideAllowed() 7208 static boolean isDockSideAllowed(int dockSide, int originalDockSide, in isDockSideAllowed() argument 7210 if (dockSide == DOCKED_TOP) { in isDockSideAllowed() 7216 return dockSide == DOCKED_LEFT && navBarPosition == NAV_BAR_RIGHT in isDockSideAllowed() 7217 || dockSide == DOCKED_RIGHT && navBarPosition == NAV_BAR_LEFT; in isDockSideAllowed() 7221 if (dockSide == originalDockSide) { in isDockSideAllowed() 7226 if (dockSide == DOCKED_LEFT && originalDockSide == DOCKED_TOP) { in isDockSideAllowed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 1354 int dockSide = WindowManagerProxy.getInstance().getDockSide(); in toggleSplitScreenMode() local 1355 if (dockSide == WindowManager.DOCKED_INVALID) { in toggleSplitScreenMode()
|