Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DOverScroller.java671 final float t_inf = SPLINE_TIME[index]; in adjustDuration() local
673 final float timeCoef = t_inf + (x - x_inf) / (x_sup - x_inf) * (t_sup - t_inf); in adjustDuration()
924 final float t_inf = (float) index / NB_SAMPLES; in update() local
928 velocityCoef = (d_sup - d_inf) / (t_sup - t_inf); in update()
929 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()
DScroller.java319 final float t_inf = (float) index / NB_SAMPLES; in computeScrollOffset() local
323 velocityCoef = (d_sup - d_inf) / (t_sup - t_inf); in computeScrollOffset()
324 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in computeScrollOffset()