Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java694 final float velocitySquared = (float) velocity * velocity; in fitOnBounceCurve() local
695 final float distanceToApex = velocitySquared / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()
747 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached() local
748 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()
753 mDeceleration = - sign * velocitySquared / (2.0f * mOver); in onEdgeReached()