Lines Matching refs:velocity
1962 // Check the velocity and see if we are flinging-to-delete
2151 protected void snapToPageWithVelocity(int whichPage, int velocity) {
2159 if (Math.abs(velocity) < mMinFlingVelocity) {
2160 // If the velocity is low enough, then treat this more as an automatic page advance
2174 velocity = Math.abs(velocity);
2175 velocity = Math.max(mMinSnapVelocity, velocity);
2177 // we want the page's snap velocity to approximately match the velocity at which the
2180 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
2569 * Creates an animation from the current drag view along its current velocity vector.