Lines Matching defs:velocity
186 * The fling velocity is also supplied, if relevant. The velocity values may
199 * @param xvel X velocity of the pointer as it left the screen in pixels per second.
200 * @param yvel Y velocity of the pointer as it left the screen in pixels per second.
396 * Set the minimum velocity that will be detected as having a magnitude greater than zero
397 * in pixels per second. Callback methods accepting a velocity will be clamped appropriately.
399 * @param minVel Minimum velocity to detect
406 * Return the currently configured minimum velocity. Any flings with a magnitude less
407 * than this value in pixels per second. Callback methods accepting a velocity will receive
408 * zero as a velocity value if the real detected velocity was below this threshold.
410 * @return the minimum velocity that will be detected
555 * The appropriate velocity from prior motion will be taken into account.
580 * @param xvel Horizontal velocity
581 * @param yvel Vertical velocity
625 private int computeAxisDuration(int delta, int velocity, int motionRange) {
637 velocity = Math.abs(velocity);
638 if (velocity > 0) {
639 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));