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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/
H A DFormPageResultListener.java27 * 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 DMultiPagedForm.java67 // If we don't have a page to go back to, finish as cancelled.
92 public void onBundlePageResult(FormPage page, Bundle bundleResults) { argument
94 page.complete(bundleResults);
96 // Indicate that we've completed a page. If we get back false it means
97 // the data was invalid and the page must be filled out again.
98 // Otherwise, we move on to the next page.
99 if (!onPageComplete(page)) {
130 FormPage page = (FormPage) currentLocation;
139 onBundlePageResult(page, results);
152 * Called when a form page complete
543 handleStringPageResult(FormPage page, String stringResults) argument
[all...]
/packages/services/BuiltInPrintService/jni/plugins/
H A Dwprint_image_platform.h41 unsigned int page; member in struct:__anon187
H A Dpdf_render.c60 static int getPageAttributes(pdf_render_ifc_t *obj, int page, double *width, double *height) { argument
61 LOGD("getPageAttributes %p %d", obj, page);
67 page);
76 static int renderPageStripe(pdf_render_ifc_t *obj, int page, int width, int height, float zoom, argument
78 LOGD("renderPageStripe %p %d", obj, page);
86 if (!(*self->env)->CallBooleanMethod(self->env, self->obj, gPdfRenderRenderPageStripe, page,
H A Dplugin_pcl.c64 int page; member in struct:__anon177::__anon178::__anon181
137 priv->pcl_ifc->end_page(&priv->job_info, msg.param.end_page.page);
309 msg.param.end_page.page = -1;
450 // free the buffer and eject the page
451 msg.param.end_page.page = job_params->page_num;
453 " %d rows of page # %d from %s to printer %s %s {%s}",
456 (job_params->last_page) ? "- last page" : "- ",
461 msg.param.end_page.page = -1;
470 msg.param.end_page.page = -1;
476 // send the end page messag
[all...]
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
H A DPdfRender.java93 * Opens the specified document, returning the page count or 0 on error. (Called by native
115 * Returns the size of the specified page or null on error. (Called by native code.)
116 * @param page 0-based page
117 * @return width and height of page in points (1/72")
119 public SizeD getPageSize(int page) { argument
120 if (DEBUG) Log.d(TAG, "getPageSize() page=" + page);
124 return mService.getPageSize(page - 1);
132 * Renders the content of the page
141 renderPageStripe(int page, int y, int width, int height, double zoomFactor, ByteBuffer target) argument
[all...]
/packages/services/BuiltInPrintService/src/com/android/bips/render/
H A DPdfRenderService.java49 /** Lock held to protect against close() of current page during rendering. */
71 public SizeD getPageSize(int page) throws RemoteException {
72 if (!openPage(page)) return null;
77 public ParcelFileDescriptor renderPageStripe(int page, int y, int width, int height,
80 if (!openPage(page)) return null;
120 * Ensure the specified PDF file and page are open, closing the old file if necessary, and
123 private boolean openPage(int page) {
126 // Close old page if this is a new page
127 if (mPage != null && mPage.getIndex() != page) {
174 RenderThread(PdfRenderer.Page page, int y, int width, int height, double zoom, ParcelFileDescriptor output) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerFragment.java139 // Initialize the page indicators.
406 // Clicking the "cancel" button on the timer creation page returns to the timers list.
431 * Updates the state of the page indicators so they reflect the selected page in the context of
435 final int page = mViewPager.getCurrentItem();
439 final int[] states = computePageIndicatorStates(page, pageIndicatorCount, pageCount);
453 * @param page the selected page; value between 0 and {@code pageCount}
454 * @param pageIndicatorCount the number of indicators displaying the {@code page} location
457 * each page indicato
460 computePageIndicatorStates(int page, int pageIndicatorCount, int pageCount) argument
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DDotsPageIndicator.java350 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 DAppsCustomizePagedView.java82 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 DLauncherModel.java175 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 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
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 DLauncher.java309 // 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 DWorkspace.java68 * 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 DLauncherModel.java207 public void onPageBoundSynchronously(int page); argument
538 * @return true if the page could be bound synchronously.
648 // Ensure that we have a valid page index to load synchronously
650 "valid page index");
653 // Ensure that we don't try and bind a specified page when the pages have not been
1516 // There may be no workspace screens (just hotseat items and an empty page).
1553 // Load items on the current page.
1613 // bound after first draw. Inform the callbacks that page binding is
H A DPagedView.java66 // 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.
172 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition
320 * Returns the index of the currently displayed page. When in free scroll mode, this is the page
321 * that the user was on before entering free scroll mode (e.g. the home screen page they
323 * to get the page the user is currently scrolling over.
330 * Returns the index of page to be shown immediately afterwards.
349 * Updates the scroll of the current page immediatel
649 addFullScreenPage(View page) argument
1305 getScrollProgress(int screenCenter, View v, int page) argument
[all...]
H A DLauncher.java416 // We only load the page synchronously if the user rotates (or triggers a
424 // the first page bind completes.
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.
669 // that the drop page actually exists.
786 // we make sure that the drop page actually exists.
1043 // If we are resuming and the custom content is the current page, we call onShow().
1045 // if PagedView#setRestorePage was set to the custom content page in onCreate().
1819 for (int page: mSynchronouslyBoundPages) {
1820 mWorkspace.restoreInstanceStateForChild(page);
3609 onPageBoundSynchronously(int page) argument
[all...]
H A DWorkspace.java97 * Each page contains a number of icons, folders or widgets the user can
396 // Use the first non-custom page to estimate the child position
456 // Do not add a new page if it is a accessible drag which was not started by the workspace.
469 // When dragging a widget from different source, move to a page which has
472 // Start at the current page and search right (on LTR) until finding a page with
473 // enough space. Since an empty screen is the furthest right, a page must be found.
476 CellLayout page = (CellLayout) getPageAt(pageIndex);
477 if (page.hasReorderSolution(dragObject.dragInfo)) {
586 * Initializes and binds the first page
2105 updateAccessibilityFlags(CellLayout page, int pageNo) argument
4091 moveToScreen(int page, boolean animate) argument
4139 getPageDescription(int page) argument
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollController.java782 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 DScrollAdapterView.java1673 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/services/BuiltInPrintService/jni/lib/
H A Dlib_wprint.c308 snprintf(buff.filename, MAX_PATHNAME_LENGTH, "%s/page%4.4d.ppm", jq->debug_path,
507 * this function will start/end a job, send another page, or return blocking errors.
698 _page_t page; local
888 // multi-page print job
909 // while there is a page to print
912 while (OK == msgQReceive(jq->pageQ, (char *) &page, sizeof(page),
929 if (page.last_page && ((i == jq->job_params.num_copies - 1) ||
933 jq->job_params.last_page = page.last_page;
938 if (strlen(page
1883 _page_t page; local
1928 _page_t page; local
[all...]
H A DwprintJNI.c172 LOGI("pdf page count for %s: %d", pathname, *page_count);
174 LOGE("page count error");
181 * Reorders pdf pages before sending to the printer. In general the last page is printed first.
228 // if ending number was 0, there was no range, only a single page number
236 // make sure the beginning and ending numbers are not greater than the page count
279 * Outputs page range of a pdf to page_range_str
349 // NOTE: last page is sent from calling function
366 LOGD("_print_pdf_pages(), PRINTING PDF: %s, page: %d", pathname,
901 // update the page size information
1269 jstring page local
1287 jstring page = (jstring) (*env)->GetObjectArrayElement(env, array, index); local
1335 jstring page = (jstring) (*env)->GetObjectArrayElement(env, array, index); local
[all...]

Completed in 4686 milliseconds