Searched refs:isHorizontalDivision (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 101 boolean isHorizontalDivision, Rect insets) { in DividerSnapAlgorithm() argument 102 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, false); in DividerSnapAlgorithm() 106 boolean isHorizontalDivision, Rect insets, boolean isMinimizedMode) { in DividerSnapAlgorithm() argument 114 mIsHorizontalDivision = isHorizontalDivision; in DividerSnapAlgorithm() 124 calculateTargets(isHorizontalDivision); in DividerSnapAlgorithm() 257 private void calculateTargets(boolean isHorizontalDivision) { in calculateTargets() argument 259 int dividerMax = isHorizontalDivision in calculateTargets() 262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right; in calculateTargets() 267 addRatio16_9Targets(isHorizontalDivision, dividerMax); in calculateTargets() 270 addFixedDivisionTargets(isHorizontalDivision, dividerMax); 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()) { 437 mDisplayHeight, mDividerSize, isHorizontalDivision(), mStableInsets); in initializeSnapAlgorithm() 441 mDisplayWidth, mDisplayHeight, mDividerSize, isHorizontalDivision(), in initializeSnapAlgorithm() 454 if (isHorizontalDivision()) { in getCurrentPosition() 486 isHorizontalDivision() && Math.abs(y - mStartY) > mTouchSlop in onTouch() 487 || (!isHorizontalDivision() && Math.abs(x - mStartX) > mTouchSlop); in onTouch() 508 stopDragging(position, isHorizontalDivision() ? mVelocityTracker.getYVelocity() in onTouch() 667 if (isHorizontalDivision()) { in liftBackground() 740 isHorizontalDivision(), mStableInsets, mDisplayWidth, mDisplayHeight, in setMinimizedDockStack() 886 return isHorizontalDivision() ? calculateYPosition(touchY) : calculateXPosition(touchX); in calculatePosition() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarGestureHelper.java | 215 mDivider.getView().isHorizontalDivision() in handleDragActionMoveEvent() 268 if (mIsVertical && !mDivider.getView().isHorizontalDivision()) { in calculateDragMode() 271 if (!mIsVertical && mDivider.getView().isHorizontalDivision()) { in calculateDragMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 481 boolean isHorizontalDivision = in getDockedBounds() 483 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in getDockedBounds() 499 boolean isHorizontalDivision = in getDockedTaskStackBounds() 501 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in getDockedTaskStackBounds()
|