Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DOverScroller.java804 final float velocitySquared = (float) velocity * velocity; in fitOnBounceCurve() local
805 final float distanceToApex = velocitySquared / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()
857 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached() local
858 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()
863 mDeceleration = - sign * velocitySquared / (2.0f * mOver); in onEdgeReached()