/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
H A D | FormPageResultListener.java | 27 * Called when the specified page has been completed. 29 * @param page the page that has been completed. 30 * @param bundleResults the results of the page completion. This bundle 35 void onBundlePageResult(FormPage page, Bundle bundleResults); argument
|
H A D | MultiPagedForm.java | 66 // If we don't have a page to go back to, finish as cancelled. 91 public void onBundlePageResult(FormPage page, Bundle bundleResults) { argument 93 page.complete(bundleResults); 95 // Indicate that we've completed a page. If we get back false it means 96 // the data was invalid and the page must be filled out again. 97 // Otherwise, we move on to the next page. 98 if (!onPageComplete(page)) { 127 FormPage page = (FormPage) currentLocation; 136 onBundlePageResult(page, results); 147 * Called when a form page complete 539 handleStringPageResult(FormPage page, String stringResults) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DeskClockFragment.java | 34 public void onPageChanged(int page) { argument
|
H A D | DeskClock.java | 516 // Set the page before doing the menu so that onCreateOptionsMenu knows what page it is. 574 public void notifySelectedPage(int page) { argument 575 notifyPageChanged(page); 595 // Since registering a listener by the fragment is done sometimes after the page 596 // was already changed, make sure the fragment gets the current page
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerFragment.java | 292 public void onPageChanged(int page) { argument 293 if (page == DeskClock.TIMER_TAB_INDEX && mAdapter != null) {
|
H A D | TimerFullScreenFragment.java | 609 public void onPageChanged(int page) { argument 610 if (page == DeskClock.TIMER_TAB_INDEX && mAdapter != null) {
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | Parser.java | 89 public Tag(final int page, final int id) { argument 90 mPage = page; 125 // The current page. As of EAS 14.1, this is a value 0-24. 126 private int page; field in class:Parser 129 // higher order bits the page number. The format matches that used for 308 * looking for it, generate an EodException. The tag returned consists of the page number 318 // If we're a start, set tag to include the page and return it 358 * same in EAS, and then sets the tag table to point to page 0 (by definition, the starting 359 * page). 419 page [all...] |
H A D | Tags.java | 23 * The static final int's, of the form <page>_<tag> = <constant> are used in parsing incoming 31 // Wbxml page definitions for EAS 59 // Shift applied to page numbers to generate tag 64 // AirSync code page 0 104 // Contacts code page 1 165 // Email code page 2 227 // AirNotify code page 3 (no longer used) 229 // Calendar code page 4 287 // Move code page 5 298 // GetItemEstimate code page 733 isValidPage(final int page) argument 737 isValidTag(final int page, final int tag) argument 746 getTagName(final int page, final int tag) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchFragment.java | 469 public void onPageChanged(int page) { argument 470 if (page == DeskClock.STOPWATCH_TAB_INDEX && mState == Stopwatches.STOPWATCH_RUNNING) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AppsCustomizePagedView.java | 82 page = p; 102 int page; field in class:AsyncTaskPageData 118 page = p; 131 // All the widget previews are loaded, so we can just callback to inflate the page 142 // The page that this async task is associated with 144 int page; field in class:AppsCustomizeAsyncTask 149 * The Apps/Customize page that displays all the applications, widgets, and shortcuts. 294 /** Returns the item index of the center item on this page so that we can restore to this 322 /** Get the index of the item to restore to if we need to restore the current page. */ 330 /** Returns the page i 1017 syncAppsPageItems(int page, boolean immediate) argument 1056 getWidgetPageLoadPriority(int page) argument 1080 getThreadPriorityForPage(int page) argument 1091 getSleepForPage(int page) argument 1098 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument 1166 syncWidgetPageItems(final int page, final boolean immediate) argument 1352 syncPageItems(int page, boolean immediate) argument 1676 getAssociatedLowerPageBound(int page) argument 1682 getAssociatedUpperPageBound(int page) argument [all...] |
H A D | LauncherModel.java | 175 public void onPageBoundSynchronously(int page); argument 1081 // Ensure that we have a valid page index to load synchronously 1083 "valid page index"); 1086 // Ensure that we don't try and bind a specified page when the pages have not been 1750 // Load all the items that are on the current page first (and in the process, unbind 1795 // 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 1538 for (int page: mSynchronouslyBoundPages) { 1539 mWorkspace.restoreInstanceStateForChild(page); 3575 public void onPageBoundSynchronously(int page) { argument 3576 mSynchronouslyBoundPages.add(page); 3624 // If the user has not interacted recently, then either snap to the new page to show 3625 // the new-apps animation or just run them if they are to appear on the current page 3633 // are on another page (o [all...] |
H A D | Workspace.java | 68 * Each page contains a number of icons, folders or widgets the user can 168 /** Is the user is dragging an item near the edge of a page? */ 583 * Check if the point (x, y) hits a given page. 586 final View page = getChildAt(index); 587 if (page != null) { 589 mapPointFromSelfToChild(page, localXY); 590 return (localXY[0] >= 0 && localXY[0] < page.getWidth() 591 && localXY[1] >= 0 && localXY[1] < page.getHeight()); 599 // Calculating "next page" this way ensures that you scroll to whatever page yo 956 computeWallpaperScrollRatio(int page) argument 3875 syncPageItems(int page, boolean immediate) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppsCustomizePagedView.java | 75 page = p; 95 int page; field in class:AsyncTaskPageData 111 page = p; 124 // All the widget previews are loaded, so we can just callback to inflate the page 135 // The page that this async task is associated with 137 int page; field in class:AppsCustomizeAsyncTask 142 * The Apps/Customize page that displays all the applications, widgets, and shortcuts. 275 /** Returns the item index of the center item on this page so that we can restore to this 305 /** Get the index of the item to restore to if we need to restore the current page. */ 313 /** Returns the page i 950 syncAppsPageItems(int page, boolean immediate) argument 990 getWidgetPageLoadPriority(int page) argument 1014 getThreadPriorityForPage(int page) argument 1025 getSleepForPage(int page) argument 1032 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument 1102 syncWidgetPageItems(final int page, final boolean immediate) argument 1305 syncPageItems(int page, boolean immediate) argument 1536 getAssociatedLowerPageBound(int page) argument 1542 getAssociatedUpperPageBound(int page) argument [all...] |
H A D | LauncherModel.java | 217 public void onPageBoundSynchronously(int page); argument 438 // Add this icon to the db, creating a new page if necessary. If there 439 // is only the empty page then we just add items to the first page. 449 // page is added. Create as many screens as necessary to satisfy 1560 // Ensure that we have a valid page index to load synchronously 1562 "valid page index"); 1565 // Ensure that we don't try and bind a specified page when the pages have not been 2660 // There may be no workspace screens (just hotseat items and an empty page). 2667 // Load all the items that are on the current page firs [all...] |
H A D | PagedView.java | 73 // the min drag distance for a fling to register, to prevent random page shifts 85 // The page is moved more than halfway, automatically move to the next page on touch up. 192 // to switch to a new page 236 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition 331 // Hook up the page indicator 363 // Unhook the page indicator 445 * Add a page change listener which will be called when a page is _finished_ listening. 475 * Returns the index of the currently displayed page 801 addFullScreenPage(View page) argument 1548 getBoundedScrollProgress(int screenCenter, View v, int page) argument 1557 getScrollProgress(int screenCenter, View v, int page) argument 2382 loadAssociatedPages(int page) argument 2385 loadAssociatedPages(int page, boolean immediateAndOnly) argument 2419 getAssociatedLowerPageBound(int page) argument 2422 getAssociatedUpperPageBound(int page) argument 2439 syncPageItems(int page, boolean immediate) argument [all...] |
H A D | Launcher.java | 345 // Holds the page that we need to animate to, and the icon views that we need to animate up 346 // when we scroll to that page on resume. 458 // We only load the page synchronously if the user rotates (or triggers a 535 * ensure the custom content page is added or removed if necessary. 544 // Create the custom content page and call the subclass to populate it. 717 // that the drop page actually exists. 813 // we make sure that the drop page actually exists. 1055 // If we are resuming and the custom content is the current page, we call onShow(). 1057 // if PagedView#setRestorePage was set to the custom content page in onCreate(). 1988 // Reset the apps customize page 4482 onPageBoundSynchronously(int page) argument [all...] |
H A D | Workspace.java | 86 * Each page contains a number of icons, folders or widgets the user can 211 /** Is the user is dragging an item near the edge of a page? */ 382 // Use the first non-custom page to estimate the child position 545 // Since we increment the current page when we call addCustomContentPage via bindScreens 546 // (and other places), we need to adjust the current page back when we clear the pages 609 // Ensure that the current page and default page are maintained. 637 // Ensure that the current page and default page are maintained. 654 // Add the custom content to the full screen custom page 5004 moveToScreen(int page, boolean animate) argument 5057 syncPageItems(int page, boolean immediate) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | ScrollController.java | 782 final public void startScroll(int dx, int dy, boolean easeFling, int duration, boolean page) { argument 820 duration = getScrollDuration((int) Math.sqrt(dx * dx + dy * dy), page); 839 int duration, boolean page) { 848 startScroll(dx, dy, easeFling, duration, page); 838 startScrollByMain(int deltaMain, int deltaSecond, boolean easeFling, int duration, boolean page) argument
|
H A D | ScrollAdapterView.java | 1712 boolean page) { 1814 scrollAndFocusTo(nextTop, direction, false, 0, page); 2005 boolean page) { 2015 mScroll.startScrollByMain(delta, deltaOffAxis, easeFling, duration, page); 1711 handleArrowKey(int direction, int repeats, boolean forceFindNextExpandable, boolean page) argument 2004 scrollAndFocusTo(View topItem, int direction, boolean easeFling, int duration, boolean page) argument
|