Searched refs:mDeceleration (Results 1 – 2 of 2) sorted by relevance
555 private float mDeceleration; field in OverScroller.SplineOverScroller688 mDeceleration = 0.0f; in startScroll()737 mDeceleration = getDeceleration(delta); in startSpringback()741 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback()799 final float durationToApex = - velocity / mDeceleration; in fitOnBounceCurve()802 final float distanceToApex = velocitySquared / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()805 2.0 * (distanceToApex + distanceToEdge) / Math.abs(mDeceleration)); in fitOnBounceCurve()808 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()812 mDeceleration = getDeceleration(velocity == 0 ? start - end : velocity); in startBounceAfterEdge()855 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()[all …]
108 private float mDeceleration; field in Scroller177 mDeceleration = computeDeceleration(ViewConfiguration.getScrollFriction()); in Scroller()191 mDeceleration = computeDeceleration(friction); in setFriction()256 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()