Searched defs:whichPage (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DSmoothPagedView.java119 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 DAppsCustomizePagedView.java1012 protected void snapToPage(int whichPage, int delta, int duration) { argument
1013 super.snapToPage(whichPage, delta, duration);
1014 updateCurrentTab(whichPage);
H A DPagedView.java1467 protected void snapToPageWithVelocity(int whichPage, int velocity) { argument
1468 whichPage = Math.max(0, Math.min(whichPage, getChildCount() - 1));
1471 if (DEBUG) Log.d(TAG, "snapToPage.getChildOffset(): " + getChildOffset(whichPage));
1473 + getMeasuredWidth() + ", " + getChildWidth(whichPage));
1474 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage);
1481 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION);
1502 snapToPage(whichPage, delta, duration);
1505 protected void snapToPage(int whichPage) { argument
1509 snapToPage(int whichPage, int duration) argument
1521 snapToPage(int whichPage, int delta, int duration) argument
[all...]
H A DWorkspace.java936 protected void snapToPage(int whichPage) { argument
937 super.snapToPage(whichPage);
938 computeWallpaperScrollRatio(whichPage);
942 protected void snapToPage(int whichPage, int duration) { argument
943 super.snapToPage(whichPage, duration);
944 computeWallpaperScrollRatio(whichPage);
947 protected void snapToPage(int whichPage, Runnable r) { argument
952 snapToPage(whichPage, SLOW_PAGE_SNAP_ANIMATION_DURATION);

Completed in 714 milliseconds