Lines Matching refs:velocity
185 * The fling velocity is also supplied, if relevant. The velocity values may
198 * @param xvel X velocity of the pointer as it left the screen in pixels per second.
199 * @param yvel Y velocity of the pointer as it left the screen in pixels per second.
395 * Set the minimum velocity that will be detected as having a magnitude greater than zero
396 * in pixels per second. Callback methods accepting a velocity will be clamped appropriately.
398 * @param minVel Minimum velocity to detect
405 * Return the currently configured minimum velocity. Any flings with a magnitude less
406 * than this value in pixels per second. Callback methods accepting a velocity will receive
407 * zero as a velocity value if the real detected velocity was below this threshold.
409 * @return the minimum velocity that will be detected
547 * The appropriate velocity from prior motion will be taken into account.
572 * @param xvel Horizontal velocity
573 * @param yvel Vertical velocity
617 private int computeAxisDuration(int delta, int velocity, int motionRange) {
629 velocity = Math.abs(velocity);
630 if (velocity > 0) {
631 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));