Searched refs:mDeceleration (Results 1 – 3 of 3) sorted by relevance
556 private float mDeceleration; field in OverScroller.SplineOverScroller692 mDeceleration = 0.0f; in startScroll()741 mDeceleration = getDeceleration(delta); in startSpringback()745 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback()803 final float durationToApex = - velocity / mDeceleration; in fitOnBounceCurve()804 final float distanceToApex = velocity * velocity / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()807 2.0 * (distanceToApex + distanceToEdge) / Math.abs(mDeceleration)); in fitOnBounceCurve()810 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()814 mDeceleration = getDeceleration(velocity == 0 ? start - end : velocity); in startBounceAfterEdge()855 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()[all …]
71 private float mDeceleration; field in Scroller129 mDeceleration = computeDeceleration(ViewConfiguration.getScrollFriction()); in Scroller()141 mDeceleration = computeDeceleration(friction); in setFriction()204 return mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()
47 private val mDeceleration: Interpolator = DecelerateInterpolator() constant in com.android.deskclock.MoveScreensaverRunnable95 mActiveAnimator?.interpolator = mDeceleration in run()112 show.interpolator = mDeceleration in run()