Searched refs:mVelocity (Results 1 – 6 of 6) sorted by relevance
552 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 …]
88 private float mVelocity; field in Scroller257 mCurrVelocity : mVelocity - mDeceleration * timePassed() / 2000.0f; in getCurrVelocity()447 mVelocity = velocity; in fling()
284 private float mVelocity; field in FlingAnimationUtils.VelocityInterpolator289 mVelocity = velocity; in VelocityInterpolator()296 return time * mVelocity / mDiff; in getInterpolation()
129 private final VelocityTracker mVelocity; field in PointerLocationView177 mVelocity = VelocityTracker.obtain(); in PointerLocationView()543 mVelocity.clear(); in onPointerEvent()575 mVelocity.addMovement(event); in onPointerEvent()576 mVelocity.computeCurrentVelocity(1); in onPointerEvent()607 ps.mXVelocity = mVelocity.getXVelocity(id); in onPointerEvent()608 ps.mYVelocity = mVelocity.getYVelocity(id); in onPointerEvent()609 mVelocity.getEstimator(id, ps.mEstimator); in onPointerEvent()
1154 private float mVelocity; field in PhotoView.ScaleRunnable1180 mVelocity = (mTargetScale - mStartScale) / ZOOM_ANIMATION_DURATION; in start()1204 float newScale = (mStartScale + mVelocity * ellapsed); in run()1425 private float mVelocity; field in PhotoView.RotateRunnable1444 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION; in start()1469 float rotationAmount = mVelocity * delta; in run()
2412 private PointF mVelocity; field in PagedView.FlingAlongVectorAnimatorUpdateListener2422 mVelocity = vel; in FlingAlongVectorAnimatorUpdateListener()2433 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f); in onAnimationUpdate()2434 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f); in onAnimationUpdate()2440 mVelocity.x *= mFriction; in onAnimationUpdate()2441 mVelocity.y *= mFriction; in onAnimationUpdate()