Searched refs:scrollRange (Results 1 – 3 of 3) sorted by relevance
104 int scrollRange = rightPageScrollX - leftPageScrollX; in wallpaperOffsetForScroll() local105 if (scrollRange <= 0) { in wallpaperOffsetForScroll()114 adjustedScroll = Utilities.boundToRange(adjustedScroll, 0, scrollRange); in wallpaperOffsetForScroll()115 out[1] = (numScreensForWallpaperParallax - 1) * scrollRange; in wallpaperOffsetForScroll()122 rtlOffset = out[1] - (numScrollableScreens - 1) * scrollRange; in wallpaperOffsetForScroll()
58 float scrollRange = Math.max(controller.getShiftRange(), 1); in getVerticalProgress() local59 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()