/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 | 32 public void onPageChanged(int page) { argument
|
H A D | DeskClock.java | 377 // Set the page before doing the menu so that onCreateOptionsMenu knows what page it is. 414 public void notifySelectedPage(int page) { argument 415 notifyPageChanged(page); 435 // Since registering a listener by the fragment is done sometimes after the page 436 // was already changed, make sure the fragment gets the current page
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchFragment.java | 148 // Start watching for page changes away from this fragment. 174 // Stop watching for page changes away from this fragment. 182 public void onPageChanged(int page) { argument 183 if (page == DeskClock.STOPWATCH_TAB_INDEX && getStopwatch().isRunning()) {
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerFragment.java | 143 // Start watching for page changes away from this fragment. 146 // Initialize the page indicators. 201 // Stop watching for page changes away from this fragment. 332 * Updates the state of the page indicators so they reflect the selected page in the context of 336 final int page = mViewPager.getCurrentItem(); 340 final int[] states = computePageIndicatorStates(page, pageIndicatorCount, pageCount); 354 * @param page the selected page; value between 0 and {@code pageCount} 355 * @param pageIndicatorCount the number of indicators displaying the {@code page} locatio 361 computePageIndicatorStates(int page, int pageIndicatorCount, int pageCount) argument [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | DotsPageIndicator.java | 350 for (int page = 0; page < pageCount; page++) { 351 int nextXIndex = page == pageCount - 1 ? page : page + 1; 355 Path unselectedPath = getUnselectedPath(page, 356 dotCenterX[page], 358 page == pageCount - 1 ? INVALID_FRACTION : joiningFractions[page], 394 getUnselectedPath(int page, float centerX, float nextCenterX, float joiningFraction, float dotRevealFraction) argument 716 getDotCenterX(int page) argument [all...] |
/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 | 230 public void onPageBoundSynchronously(int page); argument 1304 * @return true if the page could be bound synchronously. 1437 // Ensure that we have a valid page index to load synchronously 1439 "valid page index"); 1442 // Ensure that we don't try and bind a specified page when the pages have not been 2547 // There may be no workspace screens (just hotseat items and an empty page). 2584 // Load items on the current page. 2644 // bound after first draw. Inform the callbacks that page binding is 3615 * to the market page for the item.
|
H A D | PagedView.java | 68 // the min drag distance for a fling to register, to prevent random page shifts 75 // The page is moved more than halfway, automatically move to the next page on touch up. 177 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition 326 * Returns the index of the currently displayed page. When in free scroll mode, this is the page 327 * that the user was on before entering free scroll mode (e.g. the home screen page they 329 * to get the page the user is currently scrolling over. 336 * Returns the index of page to be shown immediately afterwards. 355 * Updates the scroll of the current page immediatel 661 addFullScreenPage(View page) argument 1418 getScrollProgress(int screenCenter, View v, int page) argument [all...] |
H A D | Launcher.java | 307 // Holds the page that we need to animate to, and the icon views that we need to animate up 308 // when we scroll to that page on resume. 442 // We only load the page synchronously if the user rotates (or triggers a 446 // the first page bind completes. 612 * ensure the custom content page is added or removed if necessary. 621 // Create the custom content page and call the subclass to populate it. 669 // that the drop page actually exists. 785 // we make sure that the drop page actually exists. 1036 // If we are resuming and the custom content is the current page, we call onShow(). 1038 // if PagedView#setRestorePage was set to the custom content page i 3922 onPageBoundSynchronously(int page) argument [all...] |
H A D | Workspace.java | 94 * Each page contains a number of icons, folders or widgets the user can 243 /** Is the user is dragging an item near the edge of a page? */ 384 // Use the first non-custom page to estimate the child position 425 // Do not add a new page if it is a accessible drag which was not started by the workspace. 438 // When dragging a widget from different source, move to a page which has 441 // Start at the current page and search right (on LTR) until finding a page with 442 // enough space. Since an empty screen is the furthest right, a page must be found. 445 CellLayout page = (CellLayout) getPageAt(pageIndex); 446 if (page 2155 updateAccessibilityFlags(CellLayout page, int pageNo) argument 4222 moveToScreen(int page, boolean animate) argument 4270 getPageDescription(int page) argument [all...] |