Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DOverScroller.java801 final float velocitySquared = (float) velocity * velocity; in fitOnBounceCurve() local
802 final float distanceToApex = velocitySquared / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()
854 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached() local
855 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()
860 mDeceleration = - sign * velocitySquared / (2.0f * mOver); in onEdgeReached()