Home | History | Annotate | Download | only in calendar

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);
4994 private long calculateDuration(float delta, float width, float velocity) {
5007 velocity = Math.abs(velocity);
5008 velocity = Math.max(MINIMUM_SNAP_VELOCITY, velocity);
5011 * we want the page's snap velocity to approximately match the velocity
5016 long duration = 6 * Math.round(1000 * Math.abs(distance / velocity));
5019 + distanceRatio + " distance:" + distance + " velocity:" + velocity