Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java177 return (float) Math.hypot(mScrollerX.mCurrVelocity, mScrollerY.mCurrVelocity); in getCurrVelocity()
436 float oldVelocityX = mScrollerX.mCurrVelocity; in fling()
437 float oldVelocityY = mScrollerY.mCurrVelocity; in fling()
553 private float mCurrVelocity; field in OverScroller.SplineOverScroller
751 mCurrVelocity = mVelocity = velocity; in fling()
849 startAfterEdge(start, end, end, (int) mCurrVelocity); in notifyEdgeReached()
878 mVelocity = (int) mCurrVelocity; in continueWhenFinished()
929 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()
935 mCurrVelocity = mVelocity + mDeceleration * t; in update()
945 mCurrVelocity = sign * mOver * 6.0f * (- t + t2); in update()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java142 return mScroller.mCurrVelocity; in getCurrVelocity()
316 float oldVelocityX = mScroller.mCurrVelocity; in fling()
399 private float mCurrVelocity; field in OverScroller.SplineOverScroller
640 mCurrVelocity = mVelocity = velocity; in fling()
740 startAfterEdge(start, end, end, (int) mCurrVelocity); in notifyEdgeReached()
771 mVelocity = (int) mCurrVelocity; in continueWhenFinished()
830 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()
836 mCurrVelocity = mVelocity + mDeceleration * t; in update()
846 mCurrVelocity = sign * mOver * 6.0f * (- t + t2); in update()