Home | History | Annotate | Download | only in widget

Lines Matching defs:velocity

199      * Returns the current velocity.
201 * @return The original velocity less the deceleration. Result may be
350 * depend on the initial velocity of the fling.
354 * @param velocityX Initial velocity of the fling (X) measured in pixels per
356 * @param velocityY Initial velocity of the fling (Y) measured in pixels per
392 float velocity = FloatMath.sqrt(velocityX * velocityX + velocityY * velocityY);
394 mVelocity = velocity;
395 final double l = Math.log(START_TENSION * velocity / ALPHA);
401 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity;
402 float coeffY = velocity == 0 ? 1.0f : velocityY / velocity;