Searched refs:scrollProgress (Results 1 – 3 of 3) sorted by relevance
995 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress() local996 scrollProgress = Math.min(scrollProgress, MAX_SCROLL_PROGRESS); in getScrollProgress()997 scrollProgress = Math.max(scrollProgress, - MAX_SCROLL_PROGRESS); in getScrollProgress()998 return scrollProgress; in getScrollProgress()
1219 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues() local1220 float alpha = 1 - Math.abs(scrollProgress); in updatePageAlphaValues()
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()