Searched defs:mVelocity (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
H A D | PipTouchState.java | 53 private final PointF mVelocity = new PointF(); field in class:PipTouchState 179 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); 206 return mVelocity; 344 pw.println(innerPrefix + "mVelocity=" + mVelocity);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 332 private float mVelocity; field in class:FlingAnimationUtils.VelocityInterpolator 337 mVelocity = velocity; 344 return time * mVelocity / mDiff;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
H A D | SwipeDetector.java | 164 private float mVelocity; field in class:SwipeDetector 218 mVelocity = 0; 295 mDisplacement, mVelocity)); 299 return mListener.onDrag(mDisplacement - mSubtractDisplacement, mVelocity); 307 mDisplacement, mVelocity)); 309 mListener.onDragEnd(mVelocity, Math.abs(mVelocity) > RELEASE_VELOCITY_PX_MS); 322 if (Math.abs(mVelocity) < 0.001f) { 323 mVelocity = velocity; 326 mVelocity [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 87 private float mVelocity; field in class:Scroller 256 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; 446 mVelocity = velocity;
|
H A D | OverScroller.java | 551 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; 810 mVelocity = (int) (- mDeceleration * totalDuration); 854 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached. 856 final float velocitySquared = (float) mVelocity * mVelocity; 858 final float sign = Math.signum(mVelocity); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 130 private final VelocityTracker mVelocity; field in class:PointerLocationView 178 mVelocity = VelocityTracker.obtain(); 544 mVelocity.clear(); 576 mVelocity.addMovement(event); 577 mVelocity.computeCurrentVelocity(1); 608 ps.mXVelocity = mVelocity.getXVelocity(id); 609 ps.mYVelocity = mVelocity.getYVelocity(id); 610 mVelocity.getEstimator(id, ps.mEstimator);
|
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/ |
H A D | DynamicAnimation.java | 289 float mVelocity = 0; field in class:DynamicAnimation 325 float mVelocity; field in class:DynamicAnimation.MassState 403 mVelocity = startVelocity; 680 mEndListeners.get(i).onAnimationEnd(this, canceled, mValue, mVelocity); 693 mUpdateListeners.get(i).onAnimationUpdate(this, mValue, mVelocity);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 1171 private float mVelocity; field in class:PhotoView.ScaleRunnable 1197 mVelocity = (mTargetScale - mStartScale) / ZOOM_ANIMATION_DURATION; 1221 float newScale = (mStartScale + mVelocity * ellapsed); 1442 private float mVelocity; field in class:PhotoView.RotateRunnable 1461 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION; 1486 float rotationAmount = mVelocity * delta;
|
Completed in 580 milliseconds