Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java64 private static float DECELERATION_RATE = (float) (Math.log(0.75) / Math.log(0.9)); field in Scroller
395 mDuration = (int) (1000.0 * Math.exp(l / (DECELERATION_RATE - 1.0))); in fling()
404 (int) (ALPHA * Math.exp(DECELERATION_RATE / (DECELERATION_RATE - 1.0) * l)); in fling()
DOverScroller.java588 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in OverScroller.SplineOverScroller
790 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDistance()
791 return mFlingFriction * PHYSICAL_COEF * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()
797 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDuration()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java436 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in OverScroller.SplineOverScroller
679 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDistance()
680 … return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()
686 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDuration()