/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DeskClockFragment.java | 27 public void onPageChanged(int page) { argument
|
H A D | DeskClock.java | 410 // Set the page before doing the menu so that onCreateOptionsMenu knows what page it is. 448 public void notifySelectedPage(int page) { argument 449 notifyPageChanged(page); 469 // Since registering a listener by the fragment is done sometimes after the page 470 // was already changed, make sure the fragment gets the current page
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | Parser.java | 56 // Where tags start in a page 73 // The current tag table (i.e. the tag table for the current page) 94 // The current page 95 public int page; field in class:Parser 160 String[] page = pages[i]; 161 if (page.length > 0) { 162 tagTables[i] = page; 287 * looking for it, generate an EodException. The tag returned consists of the page number 296 // Lose the page information 299 // If we're a start, set tag to include the page an [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerFragment.java | 622 public void onPageChanged(int page) { argument 623 if (page == DeskClock.TIMER_TAB_INDEX && mAdapter != null) {
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchFragment.java | 515 public void onPageChanged(int page) { argument 516 if (page == DeskClock.STOPWATCH_TAB_INDEX && mState == Stopwatches.STOPWATCH_RUNNING) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AppsCustomizePagedView.java | 79 page = p; 99 int page; field in class:AsyncTaskPageData 115 page = p; 128 // All the widget previews are loaded, so we can just callback to inflate the page 139 // The page that this async task is associated with 141 int page; field in class:AppsCustomizeAsyncTask 146 * The Apps/Customize page that displays all the applications, widgets, and shortcuts. 291 /** Returns the item index of the center item on this page so that we can restore to this 319 /** Get the index of the item to restore to if we need to restore the current page. */ 327 /** Returns the page i 1022 syncAppsPageItems(int page, boolean immediate) argument 1061 getWidgetPageLoadPriority(int page) argument 1085 getThreadPriorityForPage(int page) argument 1096 getSleepForPage(int page) argument 1103 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument 1171 syncWidgetPageItems(final int page, final boolean immediate) argument 1357 syncPageItems(int page, boolean immediate) argument 1679 getAssociatedLowerPageBound(int page) argument 1685 getAssociatedUpperPageBound(int page) argument [all...] |
H A D | LauncherModel.java | 168 public void onPageBoundSynchronously(int page); argument 1056 // Ensure that we have a valid page index to load synchronously 1058 "valid page index"); 1061 // Ensure that we don't try and bind a specified page when the pages have not been 1725 // Load all the items that are on the current page first (and in the process, unbind 1770 // Load items on the current page
|
H A D | PagedView.java | 58 // the min drag distance for a fling to register, to prevent random page shifts 70 // The page is moved more than halfway, automatically move to the next page on touch up. 162 // to switch to a new page 278 * Returns the index of the currently displayed page. 280 * @return The index of the currently displayed page. 302 * Updates the scroll of the current page immediately to its final scroll position. We use this 304 * the previous tab page. 307 // If the current page is invalid, just reset the scroll position to zero 338 * Sets the current page 1141 getScrollProgress(int screenCenter, View v, int page) argument 1675 loadAssociatedPages(int page) argument 1678 loadAssociatedPages(int page, boolean immediateAndOnly) argument 1712 getAssociatedLowerPageBound(int page) argument 1715 getAssociatedUpperPageBound(int page) argument 1732 syncPageItems(int page, boolean immediate) argument [all...] |
H A D | Launcher.java | 304 // Holds the page that we need to animate to, and the icon views that we need to animate up 305 // when we scroll to that page on resume. 412 // We only load the page synchronously if the user rotates (or triggers a 1529 for (int page: mSynchronouslyBoundPages) { 1530 mWorkspace.restoreInstanceStateForChild(page); 3543 public void onPageBoundSynchronously(int page) { argument 3544 mSynchronouslyBoundPages.add(page); 3592 // If the user has not interacted recently, then either snap to the new page to show 3593 // the new-apps animation or just run them if they are to appear on the current page 3601 // are on another page (o [all...] |
H A D | Workspace.java | 67 * Each page contains a number of icons, folders or widgets the user can 167 /** Is the user is dragging an item near the edge of a page? */ 582 * Check if the point (x, y) hits a given page. 585 final View page = getChildAt(index); 586 if (page != null) { 588 mapPointFromSelfToChild(page, localXY); 589 return (localXY[0] >= 0 && localXY[0] < page.getWidth() 590 && localXY[1] >= 0 && localXY[1] < page.getHeight()); 598 // Calculating "next page" this way ensures that you scroll to whatever page yo 955 computeWallpaperScrollRatio(int page) argument 3866 syncPageItems(int page, boolean immediate) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppsCustomizePagedView.java | 76 page = p; 96 int page; field in class:AsyncTaskPageData 112 page = p; 125 // All the widget previews are loaded, so we can just callback to inflate the page 136 // The page that this async task is associated with 138 int page; field in class:AppsCustomizeAsyncTask 143 * The Apps/Customize page that displays all the applications, widgets, and shortcuts. 296 /** Returns the item index of the center item on this page so that we can restore to this 326 /** Get the index of the item to restore to if we need to restore the current page. */ 334 /** Returns the page i 991 syncAppsPageItems(int page, boolean immediate) argument 1030 getWidgetPageLoadPriority(int page) argument 1054 getThreadPriorityForPage(int page) argument 1065 getSleepForPage(int page) argument 1072 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument 1137 syncWidgetPageItems(final int page, final boolean immediate) argument 1332 syncPageItems(int page, boolean immediate) argument 1662 getAssociatedLowerPageBound(int page) argument 1668 getAssociatedUpperPageBound(int page) argument [all...] |
H A D | LauncherModel.java | 173 public void onPageBoundSynchronously(int page); argument 321 // Add this icon to the db, creating a new page if necessary. If there 322 // is only the empty page then we just add items to the first page. 332 // page is added. Create as many screens as necessary to satisfy 1346 // Ensure that we have a valid page index to load synchronously 1348 "valid page index"); 1351 // Ensure that we don't try and bind a specified page when the pages have not been 2217 // Load all the items that are on the current page first (and in the process, unbind 2266 // Load items on the current page [all...] |
H A D | PagedView.java | 75 // the min drag distance for a fling to register, to prevent random page shifts 86 // The page is moved more than halfway, automatically move to the next page on touch up. 195 // to switch to a new page 237 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition 342 // Hook up the page indicator 373 // Unhook the page indicator 481 * Returns the index of the currently displayed page. 483 * @return The index of the currently displayed page. 506 * Updates the scroll of the current page immediatel 763 addFullScreenPage(View page) argument 1503 getBoundedScrollProgress(int screenCenter, View v, int page) argument 1512 getScrollProgress(int screenCenter, View v, int page) argument 2291 loadAssociatedPages(int page) argument 2294 loadAssociatedPages(int page, boolean immediateAndOnly) argument 2328 getAssociatedLowerPageBound(int page) argument 2331 getAssociatedUpperPageBound(int page) argument 2348 syncPageItems(int page, boolean immediate) argument [all...] |
H A D | Launcher.java | 322 // Holds the page that we need to animate to, and the icon views that we need to animate up 323 // when we scroll to that page on resume. 456 // We only load the page synchronously if the user rotates (or triggers a 497 * ensure the custom content page is added or removed if necessary. 506 // Create the custom content page and call the subclass to populate it. 916 // If we are resuming and the custom content is the current page, we call onShow(). 918 // if PagedView#setRestorePage was set to the custom content page in onCreate(). 1690 // Reset the apps customize page 1704 for (int page: mSynchronouslyBoundPages) { 1705 mWorkspace.restoreInstanceStateForChild(page); 3832 onPageBoundSynchronously(int page) argument [all...] |
H A D | Workspace.java | 76 * Each page contains a number of icons, folders or widgets the user can 196 /** Is the user is dragging an item near the edge of a page? */ 343 // Use the first non-custom page to estimate the child position 504 // Since we increment the current page when we call addCustomContentPage via bindScreens 505 // (and other places), we need to adjust the current page back when we clear the pages 562 // Ensure that the current page and default page are maintained. 591 // Ensure that the current page and default page are maintained. 609 // Add the custom content to the full screen custom page 4415 moveToScreen(int page, boolean animate) argument 4467 syncPageItems(int page, boolean immediate) argument [all...] |