Searched refs:distanceCoef (Results 1 – 2 of 2) sorted by relevance
323 float distanceCoef = 1.f; in computeScrollOffset() local331 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()
931 float distanceCoef = 1.f; in update() local939 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()942 distance = distanceCoef * mSplineDistance; in update()