Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java819 float velocityCoef = 0.f; 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()
830 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java918 float velocityCoef = 0.f; 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()
929 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()