Home
last modified time | relevance | path

Searched refs:mMaxScrollP (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java183 return Utilities.clamp(scroll, mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP); in getBoundedStackScroll()
190 } else if (scroll > mLayoutAlgorithm.mMaxScrollP) { in getScrollAmountOutOfBounds()
191 return Math.abs(scroll - mLayoutAlgorithm.mMaxScrollP); in getScrollAmountOutOfBounds()
210 || stackScroll > mLayoutAlgorithm.mMaxScrollP) { in scrollToClosestTask()
218 int maxY = algorithm.percentageToScroll(mLayoutAlgorithm.mMaxScrollP); in scrollToClosestTask()
DTaskStackLayoutAlgorithm.java245 float mMaxScrollP; field in TaskStackLayoutAlgorithm
444 mMinScrollP = mMaxScrollP = mInitialScrollP = 0; in update()
478 mMaxScrollP = Math.max(mMinScrollP, (mNumStackTasks - 1) - in update()
482 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
484 mInitialScrollP = Utilities.clamp(launchTaskIndex - 1, mMinScrollP, mMaxScrollP); in update()
489 mMaxScrollP = 0; in update()
500 mMaxScrollP = LegacyRecentsImpl.getConfiguration().isLowRamDevice in update()
508 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
510 mInitialScrollP = Utilities.mapRange(lastScrollPPercent, mMinScrollP, mMaxScrollP); in update()
515 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
[all …]
DTaskStackViewTouchHandler.java295 float maxScrollP = layoutAlgorithm.mMaxScrollP; in handleTouchEvent()
345 layoutAlgorithm.mMaxScrollP); in handleTouchEvent()
DTaskStackView.java1076 event.setMaxScrollY((int) (mLayoutAlgorithm.mMaxScrollP * stackHeight)); in onInitializeAccessibilityEvent()
1159 mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP), 0, 1); in computeScroll()