Searched refs:isHorizontalDivision (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 104 boolean isHorizontalDivision, Rect insets) { in DividerSnapAlgorithm() argument 105 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm() 110 boolean isHorizontalDivision, Rect insets, int dockSide) { in DividerSnapAlgorithm() argument 111 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm() 116 boolean isHorizontalDivision, Rect insets, int dockSide, boolean isMinimizedMode) { in DividerSnapAlgorithm() argument 124 mIsHorizontalDivision = isHorizontalDivision; in DividerSnapAlgorithm() 134 calculateTargets(isHorizontalDivision, dockSide); in DividerSnapAlgorithm() 268 private void calculateTargets(boolean isHorizontalDivision, int dockedSide) { in calculateTargets() argument 270 int dividerMax = isHorizontalDivision in calculateTargets() 273 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right; in calculateTargets() [all …]
|
D | DockedDividerUtils.java | 99 public static int calculateMiddlePosition(boolean isHorizontalDivision, Rect insets, in calculateMiddlePosition() argument 101 int start = isHorizontalDivision ? insets.top : insets.left; in calculateMiddlePosition() 102 int end = isHorizontalDivision in calculateMiddlePosition() 109 boolean isHorizontalDivision) { in getDockSideFromCreatedMode() argument 111 if (isHorizontalDivision) { in getDockSideFromCreatedMode() 117 if (isHorizontalDivision) { in getDockSideFromCreatedMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 185 if (isHorizontalDivision()) { 463 mDisplayHeight, mDividerSize, isHorizontalDivision(), mStableInsets, mDockSide); in initializeSnapAlgorithm() 470 mDisplayWidth, mDisplayHeight, mDividerSize, isHorizontalDivision(), in initializeSnapAlgorithm() 483 if (isHorizontalDivision()) { in getCurrentPosition() 514 isHorizontalDivision() && Math.abs(y - mStartY) > mTouchSlop in onTouch() 515 || (!isHorizontalDivision() && Math.abs(x - mStartX) > mTouchSlop); in onTouch() 536 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch() 714 if (isHorizontalDivision()) { in liftBackground() 891 (isHorizontalDivision() ? mDisplayHeight : mDisplayWidth); in saveSnapTargetBeforeMinimized() 932 (isHorizontalDivision() ? mDisplayHeight : mDisplayWidth)); in repositionSnapTargetBeforeMinimized() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | DockState.java | 290 boolean isHorizontalDivision = in getDockedBounds() 292 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in getDockedBounds() 308 boolean isHorizontalDivision = in getDockedTaskStackBounds() 310 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in getDockedTaskStackBounds()
|