/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 | AppsCustomizePagedView.java | 956 protected void snapToPage(int whichPage, int delta, int duration) { argument 957 super.snapToPage(whichPage, delta, duration); 958 updateCurrentTab(whichPage);
|
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);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | WorkspaceStateTransitionAnimation.java | 224 public void snapToPageFromOverView(int whichPage) { argument 225 mWorkspace.snapToPage(whichPage, mOverviewTransitionTime, mZoomInInterpolator);
|
H A D | PagedView.java | 1832 protected void snapToPageWithVelocity(int whichPage, int velocity) { argument 1833 whichPage = validateNewPage(whichPage); 1836 final int newX = getScrollForPage(whichPage); 1843 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); 1863 snapToPage(whichPage, delta, duration); 1866 public void snapToPage(int whichPage) { argument 1867 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); 1870 public void snapToPageImmediately(int whichPage) { argument 1871 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATIO 1874 snapToPage(int whichPage, int duration) argument 1878 snapToPage(int whichPage, int duration, TimeInterpolator interpolator) argument 1882 snapToPage(int whichPage, int duration, boolean immediate, TimeInterpolator interpolator) argument 1891 snapToPage(int whichPage, int delta, int duration) argument 1895 snapToPage(int whichPage, int delta, int duration, boolean immediate, TimeInterpolator interpolator) argument [all...] |
H A D | Workspace.java | 1591 protected void snapToPage(int whichPage, Runnable r) { argument 1592 snapToPage(whichPage, SLOW_PAGE_SNAP_ANIMATION_DURATION, r); 1595 protected void snapToPage(int whichPage, int duration, Runnable r) { argument 1600 snapToPage(whichPage, duration); 1927 public void snapToPageFromOverView(int whichPage) { argument 1928 mStateTransitionAnimation.snapToPageFromOverView(whichPage);
|