Home
last modified time | relevance | path

Searched refs:mVelocity (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/widget/
DOverScroller.java549 private int mVelocity; field in OverScroller.SplineOverScroller
689 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 …]
DScroller.java87 private float mVelocity; field in Scroller
256 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()
446 mVelocity = velocity; in fling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java278 private float mVelocity; field in FlingAnimationUtils.VelocityInterpolator
283 mVelocity = velocity; in VelocityInterpolator()
290 return time * mVelocity / mDiff; in getInterpolation()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java129 private final VelocityTracker mVelocity; field in PointerLocationView
177 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()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1171 private float mVelocity; field in PhotoView.ScaleRunnable
1197 mVelocity = (mTargetScale - mStartScale) / ZOOM_ANIMATION_DURATION; in start()
1221 float newScale = (mStartScale + mVelocity * ellapsed); in run()
1442 private float mVelocity; field in PhotoView.RotateRunnable
1461 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION; in start()
1486 float rotationAmount = mVelocity * delta; in run()