Searched defs:page (Results 1 - 11 of 11) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
H A DDeskClockFragment.java23 public void onPageChanged(int page) { argument
H A DDeskClock.java375 public void notifySelectedPage(int page) { argument
376 notifyPageChanged(page);
396 // Since registering a listener by the fragment is done sometimes after the page
397 // was already changed, make sure the fragment gets the current page
/packages/apps/Browser/tests/src/com/android/browser/
H A DPopularUrlsTest.java303 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 DParser.java57 // 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...]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerFragment.java554 public void onPageChanged(int page) { argument
555 if (page == DeskClock.TIMER_TAB_INDEX && mAdapter != null) {
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java382 public void onPageChanged(int page) { argument
383 if (page == DeskClock.STOPWATCH_TAB_INDEX && mState == Stopwatches.STOPWATCH_RUNNING) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizePagedView.java88 page = p;
98 page = p;
125 int page; field in class:AsyncTaskPageData
140 page = p;
153 // All the widget previews are loaded, so we can just callback to inflate the page
164 // The page that this async task is associated with
166 int page; field in class:AppsCustomizeAsyncTask
229 * The Apps/Customize page that displays all the applications, widgets, and shortcuts.
374 /** Returns the item index of the center item on this page so that we can restore to this
402 /** 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 DLauncherModel.java164 public void onPageBoundSynchronously(int page); argument
1021 // Ensure that we have a valid page index to load synchronously
1023 "valid page index");
1026 // Ensure that we don't try and bind a specified page when the pages have not been
1690 // Load all the items that are on the current page first (and in the process, unbind
1735 // Load items on the current page
H A DPagedView.java58 // 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.
300 // If the current page is invalid, just reset the scroll position to zero
331 * Sets the current page
1100 getScrollProgress(int screenCenter, View v, int page) argument
1625 loadAssociatedPages(int page) argument
1628 loadAssociatedPages(int page, boolean immediateAndOnly) argument
1662 getAssociatedLowerPageBound(int page) argument
1665 getAssociatedUpperPageBound(int page) argument
1682 syncPageItems(int page, boolean immediate) argument
[all...]
H A DLauncher.java298 // Holds the page that we need to animate to, and the icon views that we need to animate up
299 // when we scroll to that page on resume.
405 // We only load the page synchronously if the user rotates (or triggers a
1451 for (int page: mSynchronouslyBoundPages) {
1452 mWorkspace.restoreInstanceStateForChild(page);
3417 public void onPageBoundSynchronously(int page) { argument
3418 mSynchronouslyBoundPages.add(page);
3461 // If the user has not interacted recently, then either snap to the new page to show
3462 // the new-apps animation or just run them if they are to appear on the current page
3470 // are on another page (o
[all...]
H A DWorkspace.java67 * 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? */
581 * Check if the point (x, y) hits a given page.
584 final View page = getChildAt(index);
585 if (page != null) {
587 mapPointFromSelfToChild(page, localXY);
588 return (localXY[0] >= 0 && localXY[0] < page.getWidth()
589 && localXY[1] >= 0 && localXY[1] < page.getHeight());
597 // Calculating "next page" this way ensures that you scroll to whatever page yo
955 computeWallpaperScrollRatio(int page) argument
3805 syncPageItems(int page, boolean immediate) argument
[all...]

Completed in 381 milliseconds