/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | SpringLoadedDragController.java | 54 int page = w.indexOfChild(mScreen); 55 if (page != w.getCurrentPage()) { 56 w.snapToPage(page);
|
H A D | AppsCustomizePagedView.java | 89 page = p; 99 page = p; 126 int page; field in class:AsyncTaskPageData 141 page = p; 154 // All the widget previews are loaded, so we can just callback to inflate the page 165 // The page that this async task is associated with 167 int page; field in class:AppsCustomizeAsyncTask 230 * The Apps/Customize page that displays all the applications, widgets, and shortcuts. 375 /** Returns the item index of the center item on this page so that we can restore to this 403 /** Get the index of the item to restore to if we need to restore the current page 1073 syncAppsPageItems(int page, boolean immediate) argument 1108 getWidgetPageLoadPriority(int page) argument 1132 getThreadPriorityForPage(int page) argument 1143 getSleepForPage(int page) argument 1150 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument 1393 syncWidgetPageItems(final int page, final boolean immediate) argument 1592 syncPageItems(int page, boolean immediate) argument 1882 getAssociatedLowerPageBound(int page) argument 1888 getAssociatedUpperPageBound(int page) argument [all...] |
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 271 * Returns the index of the currently displayed page. 273 * @return The index of the currently displayed page. 295 * Updates the scroll of the current page immediately to its final scroll position. We use this 297 * the previous tab page. 327 * Sets the current page. 380 * Registers the specified listener on each page containe 1096 getScrollProgress(int screenCenter, View v, int page) argument 1621 loadAssociatedPages(int page) argument 1624 loadAssociatedPages(int page, boolean immediateAndOnly) argument 1658 getAssociatedLowerPageBound(int page) argument 1661 getAssociatedUpperPageBound(int page) argument 1678 syncPageItems(int page, boolean immediate) argument [all...] |
H A D | FocusHelper.java | 119 * Returns the Viewgroup containing page contents for the page at the index specified. 122 ViewGroup page = (ViewGroup) ((PagedView) container).getPageAt(index); 123 if (page instanceof PagedViewCellLayout) { 125 page = (ViewGroup) page.getChildAt(0); 127 return page; 159 // Select the previous widget or the last widget on the previous page 176 // Select the next widget or the first widget on the next page 226 // Select the first item on the previous page, o [all...] |
H A D | Workspace.java | 68 * Each page contains a number of icons, folders or widgets the user can 169 /** 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 956 computeWallpaperScrollRatio(int page) argument 3806 syncPageItems(int page, boolean immediate) argument [all...] |
H A D | DragLayer.java | 620 // Set the anchor view if the page is scrolling 755 int page = workspace.getNextPage(); 756 CellLayout leftPage = (CellLayout) workspace.getChildAt(page - 1); 757 CellLayout rightPage = (CellLayout) workspace.getChildAt(page + 1);
|
H A D | Launcher.java | 291 // Holds the page that we need to animate to, and the icon views that we need to animate up 292 // when we scroll to that page on resume. 406 // We only load the page synchronously if the user rotates (or triggers a 1441 for (int page: mSynchronouslyBoundPages) { 1442 mWorkspace.restoreInstanceStateForChild(page); 3400 public void onPageBoundSynchronously(int page) { argument 3401 mSynchronouslyBoundPages.add(page); 3444 // If the user has not interacted recently, then either snap to the new page to show 3445 // the new-apps animation or just run them if they are to appear on the current page 3453 // are on another page (o [all...] |
H A D | LauncherModel.java | 164 public void onPageBoundSynchronously(int page); argument 1023 // Ensure that we have a valid page index to load synchronously 1025 "valid page index"); 1028 // Ensure that we don't try and bind a specified page when the pages have not been 1692 // Load all the items that are on the current page first (and in the process, unbind 1737 // Load items on the current page
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/ |
H A D | TagsTests.java | 33 for (String[] page: allTags) { 34 for (String tag: page) {
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
H A D | TagsTests.java | 33 for (String[] page: allTags) { 34 for (String tag: page) {
|
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | PopularUrlsTest.java | 303 Log.w(TAG, "page timeout. trying to stop."); 304 // try to stop page load 321 private int page; field in class:PopularUrlsTest.RunStatus 333 page = 0; 345 page = Integer.parseInt(line); 380 output.write(page + newLine); 398 page = 0; 402 ++page; 411 return page; 433 * @param clearCache determines whether the cache is cleared before loading each page [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | Parser.java | 57 // Where tags start in a page 71 // The current tag table (i.e. the tag table for the current page) 92 // The current page 93 public int page; field in class:Parser 156 String[] page = pages[i]; 157 if (page.length > 0) { 158 tagTables[i] = page; 293 * looking for it, generate an EodException. The tag returned consists of the page number 302 // Lose the page information 305 // If we're a start, set tag to include the page an [all...] |
H A D | Serializer.java | 109 int page = mPendingTag >> Tags.PAGE_SHIFT; 111 if (page != mTagPage) { 112 mTagPage = page; 114 mOutput.write(page); 119 String name = Tags.pages[page][tag - 5];
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Calculator.java | 72 // Single page UI 308 final View page = position == 0 ? mSimplePage : mAdvancedPage; 309 ((ViewGroup) container).addView(page); 310 return page;
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
H A D | FolderSyncParserTests.java | 236 for (String[] page: Tags.pages) { 238 for (String tag: page) {
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
H A D | FolderSyncParserTests.java | 236 for (String[] page: Tags.pages) { 238 for (String tag: page) {
|