Searched refs:mVelocity (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DOverScroller.java552 private int mVelocity; field in class:OverScroller.SplineOverScroller
692 mVelocity = 0;
719 mVelocity = 0;
742 mVelocity = -delta; // only sign is used
750 mCurrVelocity = mVelocity = velocity;
809 mVelocity = (int) (- mDeceleration * totalDuration);
853 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
854 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration));
855 final float sign = Math.signum(mVelocity);
[all...]
H A DScroller.java88 private float mVelocity; field in class:Scroller
257 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f;
447 mVelocity = velocity;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java284 private float mVelocity; field in class:FlingAnimationUtils.VelocityInterpolator
289 mVelocity = velocity;
296 return time * mVelocity / mDiff;
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java129 private final VelocityTracker mVelocity; field in class:PointerLocationView
177 mVelocity = VelocityTracker.obtain();
543 mVelocity.clear();
575 mVelocity.addMovement(event);
576 mVelocity.computeCurrentVelocity(1);
607 ps.mXVelocity = mVelocity.getXVelocity(id);
608 ps.mYVelocity = mVelocity.getYVelocity(id);
609 mVelocity.getEstimator(id, ps.mEstimator);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java1154 private float mVelocity; field in class:PhotoView.ScaleRunnable
1180 mVelocity = (mTargetScale - mStartScale) / ZOOM_ANIMATION_DURATION;
1204 float newScale = (mStartScale + mVelocity * ellapsed);
1425 private float mVelocity; field in class:PhotoView.RotateRunnable
1444 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION;
1469 float rotationAmount = mVelocity * delta;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java2412 private PointF mVelocity; field in class:PagedView.FlingAlongVectorAnimatorUpdateListener
2422 mVelocity = vel;
2433 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f);
2434 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f);
2440 mVelocity.x *= mFriction;
2441 mVelocity.y *= mFriction;

Completed in 239 milliseconds