Searched refs:toPage (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspaceStateTransitionAnimation.java220 int toPage, boolean animated, boolean hasOverlaySearchBar,
227 animateWorkspace(states, toPage, animated, duration, layerViews,
268 private void animateWorkspace(final TransitionStates states, int toPage, final boolean animated, argument
308 if (toPage == SCROLL_TO_CURRENT_PAGE) {
309 toPage = mWorkspace.getPageNearestToCenterOfScreen();
311 mWorkspace.snapToPage(toPage, duration, mZoomInInterpolator);
315 boolean isCurrentPage = (i == toPage);
321 finalAlpha = (i == toPage || i < customPageCount) ? 1f : 0f;
219 getAnimationToState(Workspace.State fromState, Workspace.State toState, int toPage, boolean animated, boolean hasOverlaySearchBar, HashMap<View, Integer> layerViews) argument
H A DWorkspace.java1744 void enableChildrenCache(int fromPage, int toPage) { argument
1745 if (fromPage > toPage) {
1747 fromPage = toPage;
1748 toPage = temp;
1754 toPage = Math.min(toPage, screenCount - 1);
1756 for (int i = fromPage; i <= toPage; i++) {
1970 public Animator setStateWithAnimation(State toState, int toPage, boolean animated, argument
1974 toState, toPage, animated, hasOverlaySearchBar, layerViews);
H A DLauncher.java3404 public Animator startWorkspaceStateChangeAnimation(Workspace.State toState, int toPage, argument
3407 Animator anim = mWorkspace.setStateWithAnimation(toState, toPage, animated,
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizePagedView.java1058 int toPage = mCurrentPage;
1060 toPage = mNextPage;
1070 minPageDiff = Math.abs(task.page - toPage);
1073 int rawPageDiff = Math.abs(page - toPage);
H A DWorkspace.java1351 void enableChildrenCache(int fromPage, int toPage) { argument
1352 if (fromPage > toPage) {
1354 fromPage = toPage;
1355 toPage = temp;
1361 toPage = Math.min(toPage, screenCount - 1);
1363 for (int i = fromPage; i <= toPage; i++) {

Completed in 169 milliseconds