Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java273 final float d_inf = SPLINE[index]; in computeScrollOffset() local
275 final float distanceCoef = d_inf + (t - t_inf) / (t_sup - t_inf) * (d_sup - d_inf); in computeScrollOffset()
DOverScroller.java922 final float d_inf = SPLINE_POSITION[index]; in update() local
924 velocityCoef = (d_sup - d_inf) / (t_sup - t_inf); in update()
925 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java823 final float d_inf = SPLINE_POSITION[index]; in update() local
825 velocityCoef = (d_sup - d_inf) / (t_sup - t_inf); in update()
826 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()