Home
last modified time | relevance | path

Searched refs:percentageToScroll (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java217 int minY = algorithm.percentageToScroll(mLayoutAlgorithm.mMinScrollP); in scrollToClosestTask()
218 int maxY = algorithm.percentageToScroll(mLayoutAlgorithm.mMaxScrollP); in scrollToClosestTask()
223 fling(0 /* downScrollP */, 0 /* downY */, algorithm.percentageToScroll(stackScroll), in scrollToClosestTask()
230 mFlingAnimationUtils.apply(animator, algorithm.percentageToScroll(stackScroll), in scrollToClosestTask()
231 algorithm.percentageToScroll(newScrollP), velocity); in scrollToClosestTask()
DTaskStackLayoutAlgorithm.java1020 return mTaskStackLowRamLayoutAlgorithm.percentageToScroll(downScrollP - p); in getYForDeltaP()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java131 y = getTaskTopFromIndex(taskIndex) - percentageToScroll(stackScroll); in getTransform()
137 y = (windowHeight - mTaskRect.height()) / 2 - percentageToScroll(stackScroll); in getTransform()
151 int y = percentageToScroll(scrollP); in getClosestTaskP()
185 public int percentageToScroll(float p) { in percentageToScroll() method in TaskStackLowRamLayoutAlgorithm