Home
last modified time | relevance | path

Searched refs:mDeceleration (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DOverScroller.java565 private float mDeceleration; field in OverScroller.SplineOverScroller
698 mDeceleration = 0.0f; in startScroll()
747 mDeceleration = getDeceleration(delta); in startSpringback()
751 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback()
809 final float durationToApex = - velocity / mDeceleration; in fitOnBounceCurve()
812 final float distanceToApex = velocitySquared / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()
815 2.0 * (distanceToApex + distanceToEdge) / Math.abs(mDeceleration)); in fitOnBounceCurve()
818 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()
822 mDeceleration = getDeceleration(velocity == 0 ? start - end : velocity); in startBounceAfterEdge()
865 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()
[all …]
DScroller.java114 private float mDeceleration; field in Scroller
184 mDeceleration = computeDeceleration(ViewConfiguration.getScrollFriction()); in Scroller()
198 mDeceleration = computeDeceleration(friction); in setFriction()
263 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt82926 Landroid/widget/OverScroller$SplineOverScroller;->mDeceleration:F