Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DOverScroller.java811 final float velocitySquared = (float) velocity * velocity; in fitOnBounceCurve() local
812 final float distanceToApex = velocitySquared / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()
864 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached() local
865 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()
870 mDeceleration = - sign * velocitySquared / (2.0f * mOver); in onEdgeReached()