Lines Matching refs:velocity
1467 protected void snapToPageWithVelocity(int whichPage, int velocity) {
1478 if (Math.abs(velocity) < mMinFlingVelocity) {
1479 // If the velocity is low enough, then treat this more as an automatic page advance
1493 velocity = Math.abs(velocity);
1494 velocity = Math.max(mMinSnapVelocity, velocity);
1496 // we want the page's snap velocity to approximately match the velocity at which the
1499 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));