Home
last modified time | relevance | path

Searched refs:mVelocity (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java165 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/
DEdgeEffect.java185 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 …]
DOverScroller.java541 private int mVelocity; field in OverScroller.SplineOverScroller
682 mVelocity = 0; in startScroll()
710 mVelocity = 0; in springback()
733 mVelocity = -delta; // only sign is used in startSpringback()
741 mCurrVelocity = mVelocity = velocity; in fling()
802 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()
848 final float velocitySquared = (float) mVelocity * mVelocity; in onEdgeReached()
850 final float sign = Math.signum(mVelocity); in onEdgeReached()
860 mFinal = mStart + (int) (mVelocity > 0 ? distance : -distance); in onEdgeReached()
861 mDuration = - (int) (1000.0f * mVelocity / mDeceleration); in onEdgeReached()
[all …]
DScroller.java90 private float mVelocity; field in Scroller
263 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()
453 mVelocity = velocity; in fling()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java56 private final PointF mVelocity = new PointF(); field in PipTouchState
188 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()
219 return mVelocity;
398 pw.println(innerPrefix + "mVelocity=" + mVelocity);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFlingAnimationUtils.java351 private float mVelocity; field in FlingAnimationUtils.VelocityInterpolator
356 mVelocity = velocity; in VelocityInterpolator()
363 return time * mVelocity / mDiff; in getInterpolation()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java156 private final VelocityTracker mVelocity; field in PointerLocationView
213 mVelocity = VelocityTracker.obtain(); in PointerLocationView()
586 mVelocity.clear(); in onPointerEvent()
618 mVelocity.addMovement(event); in onPointerEvent()
619 mVelocity.computeCurrentVelocity(1); in onPointerEvent()
650 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent()
651 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()
652 mVelocity.getEstimator(id, ps.mEstimator); in onPointerEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1171 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/
Dhiddenapi-max-target-o.txt71832 Landroid/widget/OverScroller$SplineOverScroller;->mVelocity:I
72761 Landroid/widget/Scroller;->mVelocity:F