Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java414 private int mSplineDistance; field in OverScroller.SplineOverScroller
594 mSplineDistance = mFinal - mStart; in setFinalPosition()
658 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
659 mFinal = start + mSplineDistance; in fling()
829 distance = distanceCoef * mSplineDistance; in update()
830 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java568 private int mSplineDistance; field in OverScroller.SplineOverScroller
769 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
770 mFinal = start + mSplineDistance; in fling()
928 distance = distanceCoef * mSplineDistance; in update()
929 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()