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

/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspaceStateTransitionAnimation.java221 int toPage, boolean animated, HashMap<View, Integer> layerViews) {
227 animateWorkspace(states, toPage, animated, workspaceDuration, layerViews,
266 private void animateWorkspace(final TransitionStates states, int toPage, final boolean animated, argument
306 if (toPage == SCROLL_TO_CURRENT_PAGE) {
307 toPage = mWorkspace.getPageNearestToCenterOfScreen();
309 mWorkspace.snapToPage(toPage, duration, mZoomInInterpolator);
313 boolean isCurrentPage = (i == toPage);
319 finalAlpha = (i == toPage || i < customPageCount) ? 1f : 0f;
220 getAnimationToState(Workspace.State fromState, Workspace.State toState, int toPage, boolean animated, HashMap<View, Integer> layerViews) argument
H A DLauncher.java3385 public Animator startWorkspaceStateChangeAnimation(Workspace.State toState, int toPage, argument
3388 Animator anim = mWorkspace.setStateWithAnimation(toState, toPage, animated, layerViews);
H A DWorkspace.java1770 void enableChildrenCache(int fromPage, int toPage) { argument
1771 if (fromPage > toPage) {
1773 fromPage = toPage;
1774 toPage = temp;
1780 toPage = Math.min(toPage, screenCount - 1);
1782 for (int i = fromPage; i <= toPage; i++) {
1998 public Animator setStateWithAnimation(State toState, int toPage, boolean animated, argument
2002 toState, toPage, animated, layerViews);
/packages/apps/Launcher2/src/com/android/launcher2/
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 90 milliseconds