Lines Matching refs:velocity
1517 protected void snapToPageWithVelocity(int whichPage, int velocity) {
1528 if (Math.abs(velocity) < mMinFlingVelocity) {
1529 // If the velocity is low enough, then treat this more as an automatic page advance
1543 velocity = Math.abs(velocity);
1544 velocity = Math.max(mMinSnapVelocity, velocity);
1546 // we want the page's snap velocity to approximately match the velocity at which the
1549 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));