Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScroller.java97 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in Scroller
492 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDuration()
498 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDistance()
499 return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()
DOverScroller.java589 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in OverScroller.SplineOverScroller
788 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDistance()
789 … return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()
795 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDuration()
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1028 private static final float DECELERATION_RATE = 1000f; field in PhotoView.TranslateRunnable
1082 float slowDown = DECELERATION_RATE * delta; in run()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1030 private static final float DECELERATION_RATE = 1000f; field in PhotoView.TranslateRunnable
1084 float slowDown = DECELERATION_RATE * delta; in run()