Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScroller.java323 float distanceCoef = 1.f; in computeScrollOffset() local
331 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in computeScrollOffset()
336 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
341 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); in computeScrollOffset()
DOverScroller.java931 float distanceCoef = 1.f; in update() local
939 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()
942 distance = distanceCoef * mSplineDistance; in update()