Searched refs:scrollProgress (Results 1 – 3 of 3) sorted by relevance
1149 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress() local1150 scrollProgress = Math.min(scrollProgress, MAX_SCROLL_PROGRESS); in getScrollProgress()1151 scrollProgress = Math.max(scrollProgress, -MAX_SCROLL_PROGRESS); in getScrollProgress()1152 return scrollProgress; in getScrollProgress()
1376 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues() local1377 float alpha = 1 - Math.abs(scrollProgress); in updatePageAlphaValues()1396 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageScrollValues() local1397 child.setScrollProgress(scrollProgress); in updatePageScrollValues()
1756 private float getScrollAlpha(float scrollProgress) { in getScrollAlpha() argument1757 return scrollProgress < 0 ? mAlphaInterpolator.getInterpolation( in getScrollAlpha()1758 1 - Math.abs(scrollProgress)) : 1.0f; in getScrollAlpha()1763 private float getScrollScale(float scrollProgress) { in getScrollScale() argument1765 Math.abs(scrollProgress)); in getScrollScale()