Home | History | Annotate | Download | only in widget

Lines Matching refs:velocity

1978      * Begin a standard fling with an initial velocity along each axis in pixels per second.
1979 * If the velocity given is below the system-defined minimum this method will return false
1982 * @param velocityX Initial horizontal velocity in pixels per second
1983 * @param velocityY Initial vertical velocity in pixels per second
1984 * @return true if the fling was started, false if the velocity was too low to fling or
2010 // If we don't have any velocity, return false
2052 * Returns the minimum velocity to start a fling.
2054 * @return The minimum velocity to start a fling
2062 * Returns the maximum fling velocity used by this RecyclerView.
2064 * @return The maximum fling velocity used by this RecyclerView.
4810 final int velocity = (int) Math.sqrt(vx * vx + vy * vy);
4819 if (velocity > 0) {
4820 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
11435 * @param velocityX the fling velocity on the X axis
11436 * @param velocityY the fling velocity on the Y axis