Searched refs:mVelocity (Results 1 – 6 of 6) sorted by relevance
550 private int mVelocity; field in OverScroller.SplineOverScroller693 mVelocity = 0; in startScroll()720 mVelocity = 0; in springback()743 mVelocity = -delta; // only sign is used in startSpringback()751 mCurrVelocity = mVelocity = velocity; in fling()810 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()855 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()856 final float sign = Math.signum(mVelocity); in onEdgeReached()860 mDeceleration = - sign * mVelocity * mVelocity / (2.0f * mOver); in onEdgeReached()866 mFinal = mStart + (int) (mVelocity > 0 ? distance : -distance); in onEdgeReached()[all …]
58 private float mVelocity; field in Scroller204 return mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()393 mVelocity = velocity; in fling()
401 private int mVelocity; field in OverScroller.SplineOverScroller587 mVelocity = 0; in startScroll()620 mVelocity = 0; in springback()643 mVelocity = -delta; // only sign is used in startSpringback()651 mCurrVelocity = mVelocity = velocity; in fling()712 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()758 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached()760 final float sign = Math.signum(mVelocity); in onEdgeReached()770 mFinal = mStart + (int) (mVelocity > 0 ? distance : -distance); in onEdgeReached()771 mDuration = - (int) (1000.0f * mVelocity / mDeceleration); in onEdgeReached()[all …]
33 private float mVelocity = 0f; field in DampedSpring114 float force = delta - 2.0f * mVelocity; in update()116 mVelocity += force * dts; in update()117 mValue += mVelocity * dts; in update()132 boolean hasVelocity = Math.abs(mVelocity) >= EPSILON; in isActive()143 mVelocity = 0.0f;
40 private float mVelocity = 0; field in SpringAnimationBuilder124 mVelocity = startVelocity; in setStartVelocity()145 b = beta * a / (2 * gamma) + mVelocity / gamma; in computeParams()
66 private final float mVelocity; field in StaggeredWorkspaceAnim74 mVelocity = velocity; in StaggeredWorkspaceAnim()214 .setStartVelocity(mVelocity) in addStaggeredAnimationForView()