• Home
  • Raw
  • Download

Lines Matching refs:duration

1413         int duration = 0;  in snapToPageWithVelocity()  local
1435 duration = 4 * Math.round(1000 * Math.abs(distance / velocity)); in snapToPageWithVelocity()
1438 return snapToPage(whichPage, delta, duration, false, null, in snapToPageWithVelocity()
1441 return snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
1453 public boolean snapToPage(int whichPage, int duration) { in snapToPage() argument
1454 return snapToPage(whichPage, duration, false, null); in snapToPage()
1457 public boolean snapToPage(int whichPage, int duration, TimeInterpolator interpolator) { in snapToPage() argument
1458 return snapToPage(whichPage, duration, false, interpolator); in snapToPage()
1461 protected boolean snapToPage(int whichPage, int duration, boolean immediate, in snapToPage() argument
1467 return snapToPage(whichPage, delta, duration, immediate, interpolator, 0, false); in snapToPage()
1470 protected boolean snapToPage(int whichPage, int delta, int duration) { in snapToPage() argument
1471 return snapToPage(whichPage, delta, duration, false, null, 0, false); in snapToPage()
1474 protected boolean snapToPage(int whichPage, int delta, int duration, boolean immediate, in snapToPage() argument
1482 duration *= Settings.Global.getFloat(getContext().getContentResolver(), in snapToPage()
1490 awakenScrollBars(duration); in snapToPage()
1492 duration = 0; in snapToPage()
1493 } else if (duration == 0) { in snapToPage()
1494 duration = Math.abs(delta); in snapToPage()
1497 if (duration != 0) { in snapToPage()
1512 mScroller.startScrollSpring(getUnboundedScrollX(), delta, duration, velocity); in snapToPage() local
1514 mScroller.startScroll(getUnboundedScrollX(), delta, duration); in snapToPage() local