Searched refs:isHorizontalDivision (Results 1 – 5 of 5) 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() 267 private void calculateTargets(boolean isHorizontalDivision, int dockedSide) { in calculateTargets() argument 269 int dividerMax = isHorizontalDivision in calculateTargets() 272 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/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 186 if (isHorizontalDivision()) { 472 mDisplayHeight, mDividerSize, isHorizontalDivision(), mStableInsets, mDockSide); in initializeSnapAlgorithm() 476 mDisplayWidth, mDisplayHeight, mDividerSize, isHorizontalDivision(), in initializeSnapAlgorithm() 489 if (isHorizontalDivision()) { in getCurrentPosition() 520 isHorizontalDivision() && Math.abs(y - mStartY) > mTouchSlop in onTouch() 521 || (!isHorizontalDivision() && Math.abs(x - mStartX) > mTouchSlop); in onTouch() 542 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch() 718 if (isHorizontalDivision()) { in liftBackground() 895 (isHorizontalDivision() ? mDisplayHeight : mDisplayWidth); in saveSnapTargetBeforeMinimized() 936 (isHorizontalDivision() ? mDisplayHeight : mDisplayWidth)); in repositionSnapTargetBeforeMinimized() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarGestureHelper.java | 225 mDivider.getView().isHorizontalDivision() in handleDragActionMoveEvent() 283 if (mIsVertical && !mDivider.getView().isHorizontalDivision()) { in calculateDragMode() 286 if (!mIsVertical && mDivider.getView().isHorizontalDivision()) { in calculateDragMode()
|