Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java411 private int mSplineDuration; field in OverScroller.SplineOverScroller
601 mDuration = mSplineDuration = elapsedTime + extend; in extendDuration()
641 mDuration = mSplineDuration = 0; in fling()
654 mDuration = mSplineDuration = getSplineFlingDuration(velocity); in fling()
767 if (mDuration < mSplineDuration) { in continueWhenFinished()
816 final float t = (float) currentTime / mSplineDuration; in update()
830 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java565 private int mSplineDuration; field in OverScroller.SplineOverScroller
752 mDuration = mSplineDuration = 0; in fling()
765 mDuration = mSplineDuration = getSplineFlingDuration(velocity); in fling()
874 if (mDuration < mSplineDuration) { in continueWhenFinished()
915 final float t = (float) currentTime / mSplineDuration; in update()
929 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()