Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java241 float mMinScrollP; field in TaskStackLayoutAlgorithm
444 mMinScrollP = mMaxScrollP = mInitialScrollP = 0; in update()
477 mMinScrollP = 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()
488 mMinScrollP = 0; in update()
497 mMinScrollP = Recents.getConfiguration().isLowRamDevice in update()
502 : Math.max(mMinScrollP, (mNumStackTasks - 1) - in update()
508 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
[all …]
DTaskStackViewScroller.java183 return Utilities.clamp(scroll, mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP); in getBoundedStackScroll()
188 if (scroll < mLayoutAlgorithm.mMinScrollP) { in getScrollAmountOutOfBounds()
189 return Math.abs(scroll - mLayoutAlgorithm.mMinScrollP); in getScrollAmountOutOfBounds()
209 if (!Recents.getConfiguration().isLowRamDevice || stackScroll < mLayoutAlgorithm.mMinScrollP in scrollToClosestTask()
217 int minY = algorithm.percentageToScroll(mLayoutAlgorithm.mMinScrollP); in scrollToClosestTask()
DTaskStackViewTouchHandler.java293 float minScrollP = layoutAlgorithm.mMinScrollP; in handleTouchEvent()
346 layoutAlgorithm.mMinScrollP); in handleTouchEvent()
DTaskStackView.java1157 mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP), 0, 1); in computeScroll()