Searched refs:scrollRange (Results 1 – 3 of 3) sorted by relevance
95 int scrollRange = rightPageScrollX - leftPageScrollX; in wallpaperOffsetForScroll() local96 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()
56 float scrollRange = Math.max(controller.getShiftRange(), 1); in getVerticalProgress() local57 float progressDelta = (transitionLength / scrollRange); in getVerticalProgress()
306 final int scrollRange = range - extent; in computeScrollRatio() local307 offset = Math.min(offset, scrollRange); in computeScrollRatio()308 return offset / (float) scrollRange; in computeScrollRatio()