Searched refs:mDeceleration (Results 1 – 4 of 4) sorted by relevance
402 private float mDeceleration; field in OverScroller.SplineOverScroller575 mDeceleration = 0.0f; in startScroll()630 mDeceleration = getDeceleration(delta); in startSpringback()634 mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta / mDeceleration)); in startSpringback()692 final float durationToApex = - velocity / mDeceleration; in fitOnBounceCurve()695 final float distanceToApex = velocitySquared / 2.0f / Math.abs(mDeceleration); in fitOnBounceCurve()698 2.0 * (distanceToApex + distanceToEdge) / Math.abs(mDeceleration)); in fitOnBounceCurve()701 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()705 mDeceleration = getDeceleration(velocity == 0 ? start - end : velocity); in startBounceAfterEdge()748 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()[all …]
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 final Interpolator mDeceleration = new DecelerateInterpolator(); field in MoveScreensaverRunnable115 mActiveAnimator.setInterpolator(mDeceleration); in run()132 show.setInterpolator(mDeceleration); in run()