/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/ |
D | SpringAnimation.java | 221 mVelocity = 0; in updateValueAndVelocity() 230 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT / 2); in updateValueAndVelocity() 234 massState = mSpring.updateValues(massState.mValue, massState.mVelocity, deltaT / 2); in updateValueAndVelocity() 236 mVelocity = massState.mVelocity; in updateValueAndVelocity() 239 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT); in updateValueAndVelocity() 241 mVelocity = massState.mVelocity; in updateValueAndVelocity() 247 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity() 249 mVelocity = 0f; in updateValueAndVelocity()
|
D | FlingAnimation.java | 157 MassState state = mFlingForce.updateValueAndVelocity(mValue, mVelocity, deltaT); in updateValueAndVelocity() 159 mVelocity = state.mVelocity; in updateValueAndVelocity() 171 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity() 217 mMassState.mVelocity = (float) (velocity * Math.exp((deltaT / 1000f) * mFriction)); in updateValueAndVelocity() 220 if (isAtEquilibrium(mMassState.mValue, mMassState.mVelocity)) { in updateValueAndVelocity() 221 mMassState.mVelocity = 0f; in updateValueAndVelocity()
|
D | DynamicAnimation.java | 289 float mVelocity = 0; field in DynamicAnimation 325 float mVelocity; field in DynamicAnimation.MassState 403 mVelocity = startVelocity; in setStartVelocity() 680 mEndListeners.get(i).onAnimationEnd(this, canceled, mValue, mVelocity); in endAnimationInternal() 693 mUpdateListeners.get(i).onAnimationUpdate(this, mValue, mVelocity); in setPropertyValue()
|
D | SpringForce.java | 314 mMassState.mVelocity = (float) currentVelocity; in updateValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
D | SwipeDetector.java | 164 private float mVelocity; field in SwipeDetector 218 mVelocity = 0; in onTouchEvent() 295 mDisplacement, mVelocity)); in reportDragging() 299 return mListener.onDrag(mDisplacement - mSubtractDisplacement, mVelocity); in reportDragging() 307 mDisplacement, mVelocity)); in reportDragEnd() 309 mListener.onDragEnd(mVelocity, Math.abs(mVelocity) > RELEASE_VELOCITY_PX_MS); in reportDragEnd() 322 if (Math.abs(mVelocity) < 0.001f) { in computeVelocity() 323 mVelocity = velocity; in computeVelocity() 326 mVelocity = interpolate(mVelocity, velocity, alpha); in computeVelocity() 328 return mVelocity; in computeVelocity()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 551 private int mVelocity; field in OverScroller.SplineOverScroller 691 mVelocity = 0; in startScroll() 718 mVelocity = 0; in springback() 741 mVelocity = -delta; // only sign is used in startSpringback() 749 mCurrVelocity = mVelocity = velocity; in fling() 810 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve() 856 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached() 858 final float sign = Math.signum(mVelocity); in onEdgeReached() 868 mFinal = mStart + (int) (mVelocity > 0 ? distance : -distance); in onEdgeReached() 869 mDuration = - (int) (1000.0f * mVelocity / mDeceleration); in onEdgeReached() [all …]
|
D | Scroller.java | 87 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/pip/phone/ |
D | PipTouchState.java | 53 private final PointF mVelocity = new PointF(); field in PipTouchState 179 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent() 206 return mVelocity; 344 pw.println(innerPrefix + "mVelocity=" + mVelocity);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | FlingAnimationUtils.java | 332 private float mVelocity; field in FlingAnimationUtils.VelocityInterpolator 337 mVelocity = velocity; in VelocityInterpolator() 344 return time * mVelocity / mDiff; in getInterpolation()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 130 private final VelocityTracker mVelocity; field in PointerLocationView 178 mVelocity = VelocityTracker.obtain(); in PointerLocationView() 544 mVelocity.clear(); in onPointerEvent() 576 mVelocity.addMovement(event); in onPointerEvent() 577 mVelocity.computeCurrentVelocity(1); in onPointerEvent() 608 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent() 609 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent() 610 mVelocity.getEstimator(id, ps.mEstimator); in onPointerEvent()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 1171 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()
|
/frameworks/base/config/ |
D | hiddenapi-private-dex.txt | 103382 Landroid/widget/OverScroller$SplineOverScroller;->mVelocity:I 104529 Landroid/widget/Scroller;->mVelocity:F
|