Searched refs:DECELERATION_RATE (Results 1 – 3 of 3) sorted by relevance
97 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in Scroller480 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDuration()486 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDistance()487 return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()
587 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in OverScroller.SplineOverScroller786 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDistance()787 … return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()793 final double decelMinusOne = DECELERATION_RATE - 1.0; in getSplineFlingDuration()
1241 private static final float DECELERATION_RATE = 20000f; field in PhotoView.TranslateRunnable1273 mDecelerationX = (float) (DECELERATION_RATE * Math.cos(angle)); in start()1274 mDecelerationY = (float) (DECELERATION_RATE * Math.sin(angle)); in start()1322 mDecelerationX = (mVelocityX > 0) ? DECELERATION_RATE : -DECELERATION_RATE; in run()1327 mDecelerationY = (mVelocityY > 0) ? DECELERATION_RATE : -DECELERATION_RATE; in run()