Home | History | Annotate | Download | only in widget

Lines Matching refs:mVelocity

479         int mVelocity;
578 mVelocity = 0;
587 mVelocity = velocity;
612 mDuration = computeDuration(mStart, min, mVelocity, mDeceleration);
617 mDuration = computeDuration(mStart, max, mVelocity, mDeceleration);
648 mVelocity = 0;
668 mVelocity = (int) (Math.abs(end - start) * TIME_COEF * (positive ? 1.0 : -1.0f));
680 mVelocity = velocity;
692 mDuration = computeDuration(mStart, min, mVelocity, mDeceleration);
697 mDuration = computeDuration(mStart, max, mVelocity, mDeceleration);
715 mVelocity = (int) (velocity / Math.cos(durationSinceEdge * TIME_COEF));
736 mVelocity = (int) (velocity / Math.cos(durationSinceEdge * TIME_COEF));
747 mDeceleration = getDeceleration(mVelocity);
755 mVelocity = (int) (mDeceleration * timeEdge);
769 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
770 final float distance = mVelocity / TIME_COEF;
780 int over = mVelocity > 0 ? mOver : -mOver;
790 int duration = (int) (-1000.0f * mVelocity / mDeceleration);
795 mVelocity = (int) (mVelocity + mDeceleration * mDuration / 1000.0f);
805 startSpringback(mFinal, mFinal - (mVelocity > 0 ? mOver:-mOver), mVelocity > 0);
808 //mVelocity = (int) (mVelocity * BOUNCE_COEFFICIENT);
809 mVelocity = (int) (mVelocity * mBounceCoefficient);
810 if (Math.abs(mVelocity) < MINIMUM_VELOCITY_FOR_BOUNCE) {
837 mCurrVelocity = mVelocity + mDeceleration * t;
838 distance = mVelocity * t + mDeceleration * t * t / 2.0f;
841 mCurrVelocity = mVelocity * (float)Math.cos(d);
842 distance = mVelocity / TIME_COEF * Math.sin(d);