Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java95 int scrollRange = rightPageScrollX - leftPageScrollX; in wallpaperOffsetForScroll() local
96 if (scrollRange <= 0) { in wallpaperOffsetForScroll()
105 adjustedScroll = Utilities.boundToRange(adjustedScroll, 0, scrollRange); in wallpaperOffsetForScroll()
106 out[1] = (numPagesForWallpaperParallax - 1) * scrollRange; in wallpaperOffsetForScroll()
113 rtlOffset = out[1] - (numScrollingPages - 1) * scrollRange; in wallpaperOffsetForScroll()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DBackgroundAppState.java56 float scrollRange = Math.max(controller.getShiftRange(), 1); in getVerticalProgress() local
57 float progressDelta = (transitionLength / scrollRange); in getVerticalProgress()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java306 final int scrollRange = range - extent; in computeScrollRatio() local
307 offset = Math.min(offset, scrollRange); in computeScrollRatio()
308 return offset / (float) scrollRange; in computeScrollRatio()