Searched refs:mVelocity (Results 1 – 9 of 9) sorted by relevance
165 private float mVelocity; field in SwipeDetector219 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()
185 private float mVelocity; // only for stretch animations field in EdgeEffect308 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 …]
541 private int mVelocity; field in OverScroller.SplineOverScroller682 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 …]
90 private float mVelocity; field in Scroller263 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()453 mVelocity = velocity; in fling()
56 private final PointF mVelocity = new PointF(); field in PipTouchState188 mVelocity.set(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in onTouchEvent()219 return mVelocity;398 pw.println(innerPrefix + "mVelocity=" + mVelocity);
351 private float mVelocity; field in FlingAnimationUtils.VelocityInterpolator356 mVelocity = velocity; in VelocityInterpolator()363 return time * mVelocity / mDiff; in getInterpolation()
156 private final VelocityTracker mVelocity; field in PointerLocationView213 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()
1171 private float mVelocity; field in PhotoView.ScaleRunnable1197 mVelocity = (mTargetScale - mStartScale) / ZOOM_ANIMATION_DURATION; in start()1221 float newScale = (mStartScale + mVelocity * ellapsed); in run()1442 private float mVelocity; field in PhotoView.RotateRunnable1461 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION; in start()1486 float rotationAmount = mVelocity * delta; in run()
71832 Landroid/widget/OverScroller$SplineOverScroller;->mVelocity:I72761 Landroid/widget/Scroller;->mVelocity:F