Searched refs:distanceCoef (Results 1 – 3 of 3) sorted by relevance
275 final float distanceCoef = d_inf + (t - t_inf) / (t_sup - t_inf) * (d_sup - d_inf); in computeScrollOffset() local277 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()282 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); in computeScrollOffset()
917 float distanceCoef = 1.f; in update() local925 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()928 distance = distanceCoef * mSplineDistance; in update()
818 float distanceCoef = 1.f; in update() local826 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()829 distance = distanceCoef * mSplineDistance; in update()