Lines Matching refs:velocity
1818 private View switchViews(boolean forward, float xOffSet, float width, float velocity) {
1876 long duration = calculateDuration(width - Math.abs(xOffSet), width, velocity);
4985 private long calculateDuration(float delta, float width, float velocity) {
4998 velocity = Math.abs(velocity);
4999 velocity = Math.max(MINIMUM_SNAP_VELOCITY, velocity);
5002 * we want the page's snap velocity to approximately match the velocity
5007 long duration = 6 * Math.round(1000 * Math.abs(distance / velocity));
5010 + distanceRatio + " distance:" + distance + " velocity:" + velocity