Searched refs:mVelocity (Results 1 – 5 of 5) sorted by relevance
549 private int mVelocity; field in OverScroller.SplineOverScroller689 mVelocity = 0; in startScroll()716 mVelocity = 0; in springback()739 mVelocity = -delta; // only sign is used in startSpringback()747 mCurrVelocity = mVelocity = velocity; in fling()808 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()854 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached()856 final float sign = Math.signum(mVelocity); in onEdgeReached()866 mFinal = mStart + (int) (mVelocity > 0 ? distance : -distance); in onEdgeReached()867 mDuration = - (int) (1000.0f * mVelocity / mDeceleration); in onEdgeReached()[all …]
87 private float mVelocity; field in Scroller256 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()446 mVelocity = velocity; in fling()
278 private float mVelocity; field in FlingAnimationUtils.VelocityInterpolator283 mVelocity = velocity; in VelocityInterpolator()290 return time * mVelocity / mDiff; in getInterpolation()
129 private final VelocityTracker mVelocity; field in PointerLocationView177 mVelocity = VelocityTracker.obtain(); in PointerLocationView()543 mVelocity.clear(); in onPointerEvent()575 mVelocity.addMovement(event); in onPointerEvent()576 mVelocity.computeCurrentVelocity(1); in onPointerEvent()607 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent()608 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()609 mVelocity.getEstimator(id, ps.mEstimator); in onPointerEvent()
1171 private float mVelocity; field in PhotoView.ScaleRunnable1197 mVelocity = (mTargetScale - mStartScale) / ZOOM_ANIMATION_DURATION; in start()1221 float newScale = (mStartScale + mVelocity * ellapsed); in run()1442 private float mVelocity; field in PhotoView.RotateRunnable1461 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION; in start()1486 float rotationAmount = mVelocity * delta; in run()