/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 | 33 public void onPageChanged(int page) { argument
|
H A D | DeskClock.java | 468 // Set the page before doing the menu so that onCreateOptionsMenu knows what page it is. 531 public void notifySelectedPage(int page) { argument 532 notifyPageChanged(page); 552 // Since registering a listener by the fragment is done sometimes after the page 553 // was already changed, make sure the fragment gets the current page
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerFragment.java | 294 public void onPageChanged(int page) { argument 295 if (page == DeskClock.TIMER_TAB_INDEX && mAdapter != null) {
|
H A D | TimerFullScreenFragment.java | 559 public void onPageChanged(int page) { argument 560 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 | 503 public void onPageChanged(int page) { argument 504 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 | 309 // Holds the page that we need to animate to, and the icon views that we need to animate up 310 // when we scroll to that page on resume. 417 // We only load the page synchronously if the user rotates (or triggers a 1564 for (int page: mSynchronouslyBoundPages) { 1565 mWorkspace.restoreInstanceStateForChild(page); 3601 public void onPageBoundSynchronously(int page) { argument 3602 mSynchronouslyBoundPages.add(page); 3650 // If the user has not interacted recently, then either snap to the new page to show 3651 // the new-apps animation or just run them if they are to appear on the current page 3659 // 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/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 | 1673 boolean page) { 1775 scrollAndFocusTo(nextTop, direction, false, 0, page); 1966 boolean page) { 1976 mScroll.startScrollByMain(delta, deltaOffAxis, easeFling, duration, page); 1672 handleArrowKey(int direction, int repeats, boolean forceFindNextExpandable, boolean page) argument 1965 scrollAndFocusTo(View topItem, int direction, boolean easeFling, int duration, boolean page) argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherModel.java | 209 public void onPageBoundSynchronously(int page); argument 1503 // Ensure that we have a valid page index to load synchronously 1505 "valid page index"); 1508 // Ensure that we don't try and bind a specified page when the pages have not been 2601 // There may be no workspace screens (just hotseat items and an empty page). 2608 // Load all the items that are on the current page first (and in the process, unbind 2644 // Load items on the current page 3493 * to the market page for the item.
|
H A D | PagedView.java | 65 // the min drag distance for a fling to register, to prevent random page shifts 73 // The page is moved more than halfway, automatically move to the next page on touch up. 191 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition 273 // Hook up the page indicator 307 // Unhook the page indicator 385 * Add a page change listener which will be called when a page is _finished_ listening. 396 * Returns the index of the currently displayed page. 403 * Returns the index of page t 720 addFullScreenPage(View page) argument 1470 getScrollProgress(int screenCenter, View v, int page) argument [all...] |
H A D | Launcher.java | 339 // Holds the page that we need to animate to, and the icon views that we need to animate up 340 // when we scroll to that page on resume. 481 // We only load the page synchronously if the user rotates (or triggers a 625 * ensure the custom content page is added or removed if necessary. 634 // Create the custom content page and call the subclass to populate it. 694 // that the drop page actually exists. 795 // we make sure that the drop page actually exists. 1052 // If we are resuming and the custom content is the current page, we call onShow(). 1054 // if PagedView#setRestorePage was set to the custom content page in onCreate(). 1942 for (int page 4000 onPageBoundSynchronously(int page) argument [all...] |
H A D | Workspace.java | 84 * Each page contains a number of icons, folders or widgets the user can 208 /** Is the user is dragging an item near the edge of a page? */ 359 // Use the first non-custom page to estimate the child position 523 // Since we increment the current page when we call addCustomContentPage via bindScreens 524 // (and other places), we need to adjust the current page back when we clear the pages 590 // Ensure that the current page and default page are maintained. 618 // Ensure that the current page and default page are maintained. 635 // Add the custom content to the full screen custom page 2032 updateAccessibilityFlags(CellLayout page, int pageNo) argument 4408 moveToScreen(int page, boolean animate) argument 4469 getPageDescription(int page) argument [all...] |