/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
D | SpringAnimation.java | 268 mVelocity = 0; in updateValueAndVelocity() 276 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT / 2); in updateValueAndVelocity() 280 massState = mSpring.updateValues(massState.mValue, massState.mVelocity, deltaT / 2); in updateValueAndVelocity() 282 mVelocity = massState.mVelocity; in updateValueAndVelocity() 285 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT); in updateValueAndVelocity() 287 mVelocity = massState.mVelocity; in updateValueAndVelocity() 293 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity() 295 mVelocity = 0f; in updateValueAndVelocity()
|
D | FlingAnimation.java | 134 MassState state = mFlingForce.updateValueAndVelocity(mValue, mVelocity, deltaT); in updateValueAndVelocity() 136 mVelocity = state.mVelocity; in updateValueAndVelocity() 146 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity() 182 mMassState.mVelocity = (float) (velocity * Math.exp((deltaT / 1000f) * mFriction)); in updateValueAndVelocity() 185 if (isAtEquilibrium(mMassState.mValue, mMassState.mVelocity)) { in updateValueAndVelocity() 186 mMassState.mVelocity = 0f; in updateValueAndVelocity()
|
D | DynamicAnimation.java | 296 float mVelocity = 0; field in DynamicAnimation 335 float mVelocity; field in DynamicAnimation.MassState 415 mVelocity = startVelocity; in setStartVelocity() 720 mEndListeners.get(i).onAnimationEnd(this, canceled, mValue, mVelocity); in endAnimationInternal() 734 mUpdateListeners.get(i).onAnimationUpdate(this, mValue, mVelocity); in setPropertyValue()
|
D | SpringForce.java | 305 mMassState.mVelocity = (float) currentVelocity; in updateValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
D | SwipeDetector.java | 165 private float mVelocity; field in SwipeDetector 219 mVelocity = 0; in onTouchEvent() 296 mDisplacement, mVelocity)); in reportDragging() 300 return mListener.onDrag(mDisplacement - mSubtractDisplacement, mVelocity); in reportDragging() 308 mDisplacement, mVelocity)); in reportDragEnd() 310 mListener.onDragEnd(mVelocity, Math.abs(mVelocity) > RELEASE_VELOCITY_PX_MS); in reportDragEnd() 323 if (Math.abs(mVelocity) < 0.001f) { in computeVelocity() 324 mVelocity = velocity; in computeVelocity() 327 mVelocity = interpolate(mVelocity, velocity, alpha); in computeVelocity() 329 return mVelocity; in computeVelocity()
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 185 private float mVelocity; // only for stretch animations field in EdgeEffect 308 mVelocity = 0; in finish() 373 mVelocity = 0; in onPull() 478 mVelocity = 0.f; in onRelease() 498 mVelocity = velocity * ON_ABSORB_VELOCITY_ADJUSTMENT; in onAbsorb() 502 mVelocity = 0; in onAbsorb() 667 mVelocity = 0; in draw() 671 if (mState == STATE_RECEDE && mDistance == 0 && mVelocity == 0) { in draw() 757 if (Math.abs(mVelocity) <= LINEAR_VELOCITY_TAKE_OVER in updateSpring() 759 && Math.signum(mVelocity) == -Math.signum(mDistance) in updateSpring() [all …]
|
D | OverScroller.java | 547 private int mVelocity; field in OverScroller.SplineOverScroller 691 mVelocity = 0; in startScroll() 719 mVelocity = 0; in springback() 742 mVelocity = -delta; // only sign is used in startSpringback() 750 mCurrVelocity = mVelocity = velocity; in fling() 811 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve() 857 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached() 859 final float sign = Math.signum(mVelocity); in onEdgeReached() 869 mFinal = mStart + (int) (mVelocity > 0 ? distance : -distance); in onEdgeReached() 870 mDuration = - (int) (1000.0f * mVelocity / mDeceleration); in onEdgeReached() [all …]
|
D | Scroller.java | 90 private float mVelocity; field in Scroller 263 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity() 453 mVelocity = velocity; in fling()
|
/frameworks/base/core/java/android/window/ |
D | BackProgressAnimator.java | 51 private float mVelocity = 0; field in BackProgressAnimator 181 .setStartVelocity(mVelocity) in onBackInvoked() 221 return mVelocity / SCALE_FACTOR; in getVelocity() 225 mVelocity = velocity; in updateProgressValue()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | DifferentialMotionFlingHelperTest.java | 40 private float mVelocity; field in DifferentialMotionFlingHelperTest 46 return mVelocity; 179 mVelocity = velocity; in deliverEventWithVelocity()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipTouchState.java | 56 private final PointF mVelocity = new PointF(); field in PipTouchState 208 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent() 240 return mVelocity; 420 pw.println(innerPrefix + "mVelocity=" + mVelocity);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTouchState.java | 56 private final PointF mVelocity = new PointF(); field in PipTouchState 208 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent() 240 return mVelocity; 421 pw.println(innerPrefix + "mVelocity=" + mVelocity);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
D | FlingAnimationUtils.java | 383 private float mVelocity; field in FlingAnimationUtils.VelocityInterpolator 388 mVelocity = velocity; in VelocityInterpolator() 395 return time * mVelocity / mDiff; in getInterpolation()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 158 private final VelocityTracker mVelocity; field in PointerLocationView 212 mVelocity = VelocityTracker.obtain(); in PointerLocationView() 600 mVelocity.clear(); in onPointerEvent() 631 mVelocity.addMovement(event); in onPointerEvent() 632 mVelocity.computeCurrentVelocity(1); in onPointerEvent() 663 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent() 664 ps.mYVelocity = mVelocity.getYVelocity(id); 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/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 67866 Landroid/widget/OverScroller$SplineOverScroller;->mVelocity:I 68795 Landroid/widget/Scroller;->mVelocity:F
|