Searched refs:mDeceleration (Results 1 – 2 of 2) sorted by relevance
559 private float mDeceleration; field in OverScroller.SplineOverScroller695 mDeceleration = 0.0f; in startScroll()744 mDeceleration = getDeceleration(delta); in startSpringback()748 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback()806 final float durationToApex = - velocity / mDeceleration; in fitOnBounceCurve()807 final float distanceToApex = velocity * velocity / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()810 2.0 * (distanceToApex + distanceToEdge) / Math.abs(mDeceleration)); in fitOnBounceCurve()813 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()817 mDeceleration = getDeceleration(velocity == 0 ? start - end : velocity); in startBounceAfterEdge()858 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()[all …]
72 private float mDeceleration; field in Scroller130 mDeceleration = computeDeceleration(ViewConfiguration.getScrollFriction()); in Scroller()142 mDeceleration = computeDeceleration(friction); in setFriction()205 return mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()