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

/frameworks/base/core/java/android/widget/
H A DOverScroller.java551 private int mVelocity; field in class:OverScroller.SplineOverScroller
691 mVelocity = 0;
718 mVelocity = 0;
741 mVelocity = -delta; // only sign is used
749 mCurrVelocity = mVelocity = velocity;
808 mVelocity = (int) (- mDeceleration * totalDuration);
852 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
853 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration));
854 final float sign = Math.signum(mVelocity);
[all...]
H A DScroller.java87 private float mVelocity; field in class:Scroller
262 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f;
458 mVelocity = velocity;
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java120 private final VelocityTracker mVelocity; field in class:PointerLocationView
163 mVelocity = VelocityTracker.obtain();
527 mVelocity.clear();
558 mVelocity.addMovement(event);
559 mVelocity.computeCurrentVelocity(1);
590 ps.mXVelocity = mVelocity.getXVelocity(id);
591 ps.mYVelocity = mVelocity.getYVelocity(id);
592 mVelocity.getEstimator(id, ps.mEstimator);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java960 private float mVelocity; field in class:PhotoView.ScaleRunnable
986 mVelocity = (mTargetScale - mStartScale) / ZOOM_ANIMATION_DURATION;
1010 float newScale = (mStartScale + mVelocity * ellapsed);
1225 private float mVelocity; field in class:PhotoView.RotateRunnable
1244 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION;
1269 float rotationAmount = mVelocity * delta;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java2287 private PointF mVelocity; field in class:PagedView.FlingAlongVectorAnimatorUpdateListener
2297 mVelocity = vel;
2308 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f);
2309 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f);
2315 mVelocity.x *= mFriction;
2316 mVelocity.y *= mFriction;

Completed in 178 milliseconds