Home
last modified time | relevance | path

Searched refs:scrollProgress (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java995 float scrollProgress = delta / (totalDistance * 1.0f); in getScrollProgress() local
996 scrollProgress = Math.min(scrollProgress, MAX_SCROLL_PROGRESS); in getScrollProgress()
997 scrollProgress = Math.max(scrollProgress, - MAX_SCROLL_PROGRESS); in getScrollProgress()
998 return scrollProgress; in getScrollProgress()
DWorkspace.java1219 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues() local
1220 float alpha = 1 - Math.abs(scrollProgress); in updatePageAlphaValues()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1756 private float getScrollAlpha(float scrollProgress) { in getScrollAlpha() argument
1757 return scrollProgress < 0 ? mAlphaInterpolator.getInterpolation( in getScrollAlpha()
1758 1 - Math.abs(scrollProgress)) : 1.0f; in getScrollAlpha()
1763 private float getScrollScale(float scrollProgress) { in getScrollScale() argument
1765 Math.abs(scrollProgress)); in getScrollScale()