Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java275 final float distanceCoef = d_inf + (t - t_inf) / (t_sup - t_inf) * (d_sup - d_inf); in computeScrollOffset() local
277 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
282 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); in computeScrollOffset()
DOverScroller.java917 float distanceCoef = 1.f; in update() local
925 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()
928 distance = distanceCoef * mSplineDistance; in update()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java818 float distanceCoef = 1.f; in update() local
826 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()
829 distance = distanceCoef * mSplineDistance; in update()