Searched refs:whichPage (Results 1 - 6 of 6) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | SmoothPagedView.java | 119 protected void snapToPageWithVelocity(int whichPage, int velocity) { argument 121 super.snapToPageWithVelocity(whichPage, velocity); 123 snapToPageWithVelocity(whichPage, 0, true); 127 private void snapToPageWithVelocity(int whichPage, int velocity, boolean settle) { argument 130 whichPage = Math.max(0, Math.min(whichPage, getChildCount() - 1)); 132 final int screenDelta = Math.max(1, Math.abs(whichPage - mCurrentPage)); 133 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); 154 snapToPage(whichPage, delt 158 snapToPage(int whichPage) argument [all...] |
H A D | PagedView.java | 1517 protected void snapToPageWithVelocity(int whichPage, int velocity) { argument 1518 whichPage = Math.max(0, Math.min(whichPage, getChildCount() - 1)); 1521 if (DEBUG) Log.d(TAG, "snapToPage.getChildOffset(): " + getChildOffset(whichPage)); 1523 + getMeasuredWidth() + ", " + getChildWidth(whichPage)); 1524 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); 1531 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); 1552 snapToPage(whichPage, delta, duration); 1555 protected void snapToPage(int whichPage) { argument 1559 snapToPage(int whichPage, int duration) argument 1571 snapToPage(int whichPage, int delta, int duration) argument [all...] |
H A D | Workspace.java | 937 protected void snapToPage(int whichPage) { argument 938 super.snapToPage(whichPage); 939 computeWallpaperScrollRatio(whichPage); 943 protected void snapToPage(int whichPage, int duration) { argument 944 super.snapToPage(whichPage, duration); 945 computeWallpaperScrollRatio(whichPage); 948 protected void snapToPage(int whichPage, Runnable r) { argument 953 snapToPage(whichPage, SLOW_PAGE_SNAP_ANIMATION_DURATION);
|
H A D | AppsCustomizePagedView.java | 956 protected void snapToPage(int whichPage, int delta, int duration) { argument 957 super.snapToPage(whichPage, delta, duration); 958 updateCurrentTab(whichPage);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | PagedView.java | 1389 protected boolean snapToPageWithVelocity(int whichPage, int velocity) { argument 1390 whichPage = validateNewPage(whichPage); 1393 final int newX = getScrollForPage(whichPage); 1400 return snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); 1419 return snapToPage(whichPage, delta, duration); 1422 public boolean snapToPage(int whichPage) { argument 1423 return snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); 1426 public boolean snapToPageImmediately(int whichPage) { argument 1427 return snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATIO 1430 snapToPage(int whichPage, int duration) argument 1434 snapToPage(int whichPage, int duration, TimeInterpolator interpolator) argument 1438 snapToPage(int whichPage, int duration, boolean immediate, TimeInterpolator interpolator) argument 1447 snapToPage(int whichPage, int delta, int duration) argument 1451 snapToPage(int whichPage, int delta, int duration, boolean immediate, TimeInterpolator interpolator) argument [all...] |
H A D | Workspace.java | 1430 public void snapToPageFromOverView(int whichPage) { argument 1431 snapToPage(whichPage, OVERVIEW_TRANSITION_MS, Interpolators.ZOOM_IN);
|
Completed in 165 milliseconds