Home
last modified time | relevance | path

Searched refs:dockSide (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DDockedDividerUtils.java34 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/
DDividerView.java915 public void calculateBoundsForPosition(int position, int dockSide, Rect outRect) { in calculateBoundsForPosition() argument
916 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, outRect, mDisplayWidth, in calculateBoundsForPosition()
1059 private int restrictDismissingTaskPosition(int taskPosition, int dockSide, in restrictDismissingTaskPosition() argument
1061 if (snapTarget.flag == SnapTarget.FLAG_DISMISS_START && dockSideTopLeft(dockSide)) { in restrictDismissingTaskPosition()
1064 && dockSideBottomRight(dockSide)) { in restrictDismissingTaskPosition()
1074 private void applyDismissingParallax(Rect taskRect, int dockSide, SnapTarget snapTarget, in applyDismissingParallax() argument
1082 && dockSideTopLeft(dockSide)) { in applyDismissingParallax()
1087 && dockSideBottomRight(dockSide)) { in applyDismissingParallax()
1093 && isDismissing(splitTarget, position, dockSide)) { in applyDismissingParallax()
1094 fraction = calculateParallaxDismissingFraction(fraction, dockSide); in applyDismissingParallax()
[all …]
DMinimizedDockShadow.java45 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/
DTaskStack.java479 int dockSide = getDockSide(inOutBounds); in repositionDockedStackAfterRotation() local
480 if (mService.mPolicy.isDockSideAllowed(dockSide)) { in repositionDockedStackAfterRotation()
484 dockSide = DockedDividerUtils.invertDockSide(dockSide); in repositionDockedStackAfterRotation()
485 switch (dockSide) { in repositionDockedStackAfterRotation()
517 final int dockSide = getDockSide(outBounds); in snapDockedStackAfterRotation() local
519 dockSide, dividerSize); in snapDockedStackAfterRotation()
534 DockedDividerUtils.calculateBoundsForPosition(target.position, dockSide, in snapDockedStackAfterRotation()
1139 final int dockSide = getDockSide(); in adjustForMinimizedDockedStack() local
1140 if (dockSide == DOCKED_INVALID && !mTmpAdjustedBounds.isEmpty()) { in adjustForMinimizedDockedStack()
1144 if (dockSide == DOCKED_TOP) { in adjustForMinimizedDockedStack()
[all …]
DDockedStackDividerController.java170 final int dockSide = TaskStack.getDockSideUnchecked(mTmpRect, mTmpRect2, orientation); in getSmallestWidthDpForBounds() local
171 final int position = DockedDividerUtils.calculatePositionForBounds(mTmpRect, dockSide, in getSmallestWidthDpForBounds()
178 DockedDividerUtils.calculateBoundsForPosition(snappedPosition, dockSide, mTmpRect, in getSmallestWidthDpForBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java100 int dockSide = mWindowManagerService.getDockedStackSide(); in handleDockKey() local
101 if (dockSide == WindowManager.DOCKED_INVALID) { in handleDockKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java431 public final int dockSide; field in TaskStack.DockState
447 DockState(int dockSide, int createMode, int dockAreaAlpha, int hintTextAlpha, in DockState() argument
450 this.dockSide = dockSide; in DockState()
486 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, newWindowBounds, in getDockedBounds()
504 DockedDividerUtils.invertDockSide(dockSide), windowRectOut, width, height, in getDockedTaskStackBounds()
527 if (dockSide == DOCKED_LEFT) {
529 } else if (dockSide == DOCKED_RIGHT) {
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTestWindowManagerPolicy.java618 public boolean isDockSideAllowed(int dockSide) {
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java1686 public boolean isDockSideAllowed(int dockSide); in isDockSideAllowed() argument
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java6951 public boolean isDockSideAllowed(int dockSide) { in isDockSideAllowed() argument
6955 return dockSide == DOCKED_TOP || dockSide == DOCKED_LEFT || dockSide == DOCKED_RIGHT; in isDockSideAllowed()
6957 return dockSide == DOCKED_TOP || dockSide == DOCKED_LEFT; in isDockSideAllowed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1538 int dockSide = WindowManagerProxy.getInstance().getDockSide(); in toggleSplitScreenMode() local
1539 if (dockSide == WindowManager.DOCKED_INVALID) { in toggleSplitScreenMode()