Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java537 final float t_inf = SPLINE_TIME[index]; in adjustDuration() local
539 final float timeCoef = t_inf + (x - x_inf) / (x_sup - x_inf) * (t_sup - t_inf); in adjustDuration()
821 final float t_inf = (float) index / NB_SAMPLES; 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()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java675 final float t_inf = SPLINE_TIME[index]; in adjustDuration() local
677 final float timeCoef = t_inf + (x - x_inf) / (x_sup - x_inf) * (t_sup - t_inf); in adjustDuration()
920 final float t_inf = (float) index / NB_SAMPLES; 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()
DScroller.java271 final float t_inf = (float) index / NB_SAMPLES; in computeScrollOffset() local
275 final float distanceCoef = d_inf + (t - t_inf) / (t_sup - t_inf) * (d_sup - d_inf); in computeScrollOffset()