Searched refs:mVelocity (Results 1 – 3 of 3) sorted by relevance
549 private int mVelocity; field in OverScroller.SplineOverScroller692 mVelocity = 0; in startScroll()719 mVelocity = 0; in springback()742 mVelocity = -delta; // only sign is used in startSpringback()750 mCurrVelocity = mVelocity = velocity; in fling()809 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()854 float distance = mVelocity * mVelocity / (2.0f * Math.abs(mDeceleration)); in onEdgeReached()855 final float sign = Math.signum(mVelocity); in onEdgeReached()859 mDeceleration = - sign * mVelocity * mVelocity / (2.0f * mOver); in onEdgeReached()865 mFinal = mStart + (int) (mVelocity > 0 ? distance : -distance); in onEdgeReached()[all …]
59 private float mVelocity; field in Scroller205 return mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()394 mVelocity = velocity; in fling()
101 private final VelocityTracker mVelocity; field in PointerLocationView141 mVelocity = VelocityTracker.obtain(); in PointerLocationView()481 mVelocity.clear(); in addPointerEvent()507 mVelocity.addMovement(event); in addPointerEvent()508 mVelocity.computeCurrentVelocity(1); in addPointerEvent()537 ps.mXVelocity = mVelocity.getXVelocity(id); in addPointerEvent()538 ps.mYVelocity = mVelocity.getYVelocity(id); in addPointerEvent()539 mVelocity.getEstimator(id, -1, -1, ps.mEstimator); in addPointerEvent()