Searched refs:pages (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/print/
H A DIWriteResultCallback.aidl29 void onWriteFinished(in PageRange[] pages, int sequence);
H A DPrintDocumentAdapter.java44 * specific pages.
68 * pages to the provided destination. The execution of this method is not
191 * Called when specific pages of the content should be written in the
233 * @param pages The pages whose content to print - non-overlapping in ascending order.
241 public abstract void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument
270 * @param pages The pages that were written. Cannot be <code>null</code>
273 public void onWriteFinished(PageRange[] pages) { argument
H A DIPrintDocumentAdapter.aidl37 void write(in PageRange[] pages, in ParcelFileDescriptor fd,
H A DPrintFileDocumentAdapter.java87 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument
H A DPrintManager.java78 * layout pass the system may ask the application to render one or more pages one
856 public void write(PageRange[] pages, ParcelFileDescriptor fd, argument
879 args.arg2 = pages;
1041 PageRange[] pages = (PageRange[]) args.arg2;
1050 builder.append("\n pages:").append(Arrays.toString(pages));
1055 adapter.onWrite(pages, fd, cancellation, callback);
1205 public void onWriteFinished(PageRange[] pages) { argument
1220 if (pages == null) {
1221 throw new IllegalArgumentException("pages canno
[all...]
H A DPrintJobInfo.java174 /** The pages to print */
500 * Gets the included pages.
502 * @return The included pages or <code>null</code> if not set.
509 * Sets the included pages.
511 * @param pageRanges The included pages.
691 builder.append(", pages: " + (mPageRanges != null
804 * Sets the included pages.
806 * @param pages The included pages.
808 public void setPages(@NonNull PageRange[] pages) { argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DIPdfEditor.aidl28 void removePages(in PageRange[] pages);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DRemotePrintDocument.java93 // ask for some pages given we do not already have them or we do
96 if (mUpdateSpec.pages != null && (mDocumentInfo.changed
101 mUpdateSpec.pages, mDocumentInfo.info.getPageCount())))) {
104 mDocumentInfo.info.getPageCount(), mUpdateSpec.pages,
107 if (mUpdateSpec.pages != null) {
108 // If we have the requested pages, update which ones to be printed.
110 mUpdateSpec.pages, mDocumentInfo.writtenPages,
198 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { argument
232 // If no layout in progress and we don't have all pages - schedule a write.
235 && pages !
493 PageRange[] pages; field in class:RemotePrintDocument.UpdateSpec
495 update(PrintAttributes attributes, boolean preview, PageRange[] pages) argument
988 WriteCommand(Context context, Looper looper, IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, int pageCount, PageRange[] pages, MutexFileProvider fileProvider, CommandDoneCallback callback) argument
1082 handleOnWriteFinished(PageRange[] pages, int sequence) argument
1232 onWriteFinished(PageRange[] pages, int sequence) argument
[all...]
H A DPrintSpoolerService.java933 PageRange[] pages = printJob.getPages();
934 if (pages != null) {
935 for (int i = 0; i < pages.length; i++) {
938 pages[i].getStart()));
940 pages[i].getEnd()));
/frameworks/base/tools/preload/loadclass/
H A DLoadClass.java61 int[] pages = new int[6];
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPagingIndicator.java230 public void setPageCount(int pages) { argument
231 if (pages <= 0) {
234 mPageCount = pages;
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp660 long pages = sysconf(_SC_PHYS_PAGES); local
661 if (pages < 1) {
671 pages = (pages + 31) / 32;
672 unsigned long maximum = pages * pagesize;
/frameworks/support/compat/java/android/support/v4/app/
H A DNotificationCompat.java2928 * List&lt;Notification&gt; pages = wearableExtender.getPages();</pre>
3005 private static final String KEY_PAGES = "pages";
3068 Notification[] pages = getNotificationArrayFromBundle(
3070 if (pages != null) {
3071 Collections.addAll(mPages, pages);
3266 * notification forms the first page, and pages added using this function form
3267 * subsequent pages. This field can be used to separate a notification into multiple
3280 * Add additional pages of content to display with this notification. The current
3281 * notification forms the first page, and pages added using this function form
3282 * subsequent pages
3289 addPages(List<Notification> pages) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/print/
H A DIPrintManagerParametersTest.java99 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination,
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java518 // count we get from the remote document is the pages in the document from
520 // print service perspective which is the pages in the written PDF not the
521 // pages in the printed document.
954 // Handle the case where all pages are specified explicitly
955 // instead of the *all pages* constant.
1164 final PageRange[] pages;
1166 pages = mPrintPreviewController.getRequestedPages();
1168 pages = mPrintPreviewController.getSelectedPages();
1172 pages, preview);
1203 * Update the selected pages fro
[all...]
/frameworks/base/core/java/android/app/
H A DNotification.java5750 * List&lt;Notification&gt; pages = wearableExtender.getPages();</pre>
5827 private static final String KEY_PAGES = "pages";
5885 Notification[] pages = getNotificationArrayFromBundle(
5887 if (pages != null) {
5888 Collections.addAll(mPages, pages);
6076 * notification forms the first page, and pages added using this function form
6077 * subsequent pages. This field can be used to separate a notification into multiple
6090 * Add additional pages of content to display with this notification. The current
6091 * notification forms the first page, and pages added using this function form
6092 * subsequent pages
6099 addPages(List<Notification> pages) argument
[all...]

Completed in 333 milliseconds