Home
last modified time | relevance | path

Searched refs:dockSide (Results 1 – 9 of 9) 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()
DDividerSnapAlgorithm.java110 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/stackdivider/
DDividerView.java982 public void calculateBoundsForPosition(int position, int dockSide, Rect outRect) { in calculateBoundsForPosition() argument
983 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, outRect, mDisplayWidth, in calculateBoundsForPosition()
1142 private int restrictDismissingTaskPosition(int taskPosition, int dockSide, in restrictDismissingTaskPosition() argument
1144 if (snapTarget.flag == SnapTarget.FLAG_DISMISS_START && dockSideTopLeft(dockSide)) { in restrictDismissingTaskPosition()
1147 && dockSideBottomRight(dockSide)) { in restrictDismissingTaskPosition()
1157 private void applyDismissingParallax(Rect taskRect, int dockSide, SnapTarget snapTarget, in applyDismissingParallax() argument
1165 && dockSideTopLeft(dockSide)) { in applyDismissingParallax()
1170 && dockSideBottomRight(dockSide)) { in applyDismissingParallax()
1176 && isDismissing(splitTarget, position, dockSide)) { in applyDismissingParallax()
1177 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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DDockState.java240 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/services/core/java/com/android/server/wm/
DDockedStackDividerController.java176 final int dockSide = getDockSide(mTmpRect, mTmpRect2, orientation, rotation); in getSmallestWidthDpForBounds() local
177 final int position = DockedDividerUtils.calculatePositionForBounds(mTmpRect, dockSide, in getSmallestWidthDpForBounds()
187 DockedDividerUtils.calculateBoundsForPosition(snappedPosition, dockSide, mTmpRect, in getSmallestWidthDpForBounds()
232 void getHomeStackBoundsInDockedMode(Configuration parentConfig, int dockSide, Rect outBounds) { in getHomeStackBoundsInDockedMode() argument
251 if (dockSide == DOCKED_LEFT) { in getHomeStackBoundsInDockedMode()
253 } else if (dockSide == DOCKED_RIGHT) { in getHomeStackBoundsInDockedMode()
473 boolean canPrimaryStackDockTo(int dockSide, Rect parentRect, int rotation) { in canPrimaryStackDockTo() argument
475 return isDockSideAllowed(dockSide, mOriginalDockedSide, in canPrimaryStackDockTo()
481 static boolean isDockSideAllowed(int dockSide, int originalDockSide, int navBarPosition, in isDockSideAllowed() argument
483 if (dockSide == DOCKED_TOP) { in isDockSideAllowed()
[all …]
DTaskStack.java458 final int dockSide = getDockSide(mDisplayContent, parentConfig, inOutBounds); in repositionSplitScreenStackAfterRotation() local
459 final int otherDockSide = DockedDividerUtils.invertDockSide(dockSide); in repositionSplitScreenStackAfterRotation()
460 final int primaryDockSide = primary ? dockSide : otherDockSide; in repositionSplitScreenStackAfterRotation()
500 final int dockSide = getDockSide(parentConfig, outBounds); in snapDockedStackAfterRotation() local
502 dockSide, dividerSize); in snapDockedStackAfterRotation()
518 DockedDividerUtils.calculateBoundsForPosition(target.position, dockSide, in snapDockedStackAfterRotation()
1251 final int dockSide = getDockSide(); in adjustForMinimizedDockedStack() local
1252 if (dockSide == DOCKED_INVALID && !mTmpAdjustedBounds.isEmpty()) { in adjustForMinimizedDockedStack()
1256 if (dockSide == DOCKED_TOP) { in adjustForMinimizedDockedStack()
1262 } else if (dockSide == DOCKED_LEFT) { in adjustForMinimizedDockedStack()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java84 int dockSide = mWindowManagerService.getDockedStackSide(); in handleDockKey() local
85 if (dockSide == WindowManager.DOCKED_INVALID) { in handleDockKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1335 int dockSide = WindowManagerProxy.getInstance().getDockSide(); in toggleSplitScreenMode() local
1336 if (dockSide == WindowManager.DOCKED_INVALID) { in toggleSplitScreenMode()