Searched refs:DECELERATION_RATE (Results 1 – 3 of 3) sorted by relevance
64 private static float DECELERATION_RATE = (float) (Math.log(0.75) / Math.log(0.9)); field in Scroller395 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()
588 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in OverScroller.SplineOverScroller790 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()
436 private static float DECELERATION_RATE = (float) (Math.log(0.78) / Math.log(0.9)); field in OverScroller.SplineOverScroller679 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()