Searched refs:scrollProgress (Results 1 – 3 of 3) sorted by relevance
1074 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress() local1075 scrollProgress = Math.min(scrollProgress, MAX_SCROLL_PROGRESS); in getScrollProgress()1076 scrollProgress = Math.max(scrollProgress, - MAX_SCROLL_PROGRESS); in getScrollProgress()1077 return scrollProgress; in getScrollProgress()
1191 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues() local1192 float alpha = 1 - Math.abs(scrollProgress); in updatePageAlphaValues()1211 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageScrollValues() local1212 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()