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
100 mUpdateSpec.pages, mDocumentInfo.info.getPageCount())))) {
103 mDocumentInfo.info.getPageCount(), mUpdateSpec.pages,
106 if (mUpdateSpec.pages != null) {
107 // If we have the requested pages, update which ones to be printed.
109 mUpdateSpec.pages, mDocumentInfo.writtenPages,
197 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { argument
231 // If no layout in progress and we don't have all pages - schedule a write.
234 && pages !
492 PageRange[] pages; field in class:RemotePrintDocument.UpdateSpec
494 update(PrintAttributes attributes, boolean preview, PageRange[] pages) argument
987 WriteCommand(Context context, Looper looper, IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, int pageCount, PageRange[] pages, MutexFileProvider fileProvider, CommandDoneCallback callback) argument
1081 handleOnWriteFinished(PageRange[] pages, int sequence) argument
1231 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/native/cmds/dumpstate/
H A Ddumpstate.cpp415 long pages = sysconf(_SC_PHYS_PAGES); local
416 if (pages < 1) {
426 pages = (pages + 31) / 32;
427 unsigned long maximum = pages * pagesize;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPagingIndicator.java226 public void setPageCount(int pages) { argument
227 if (pages <= 0) {
230 mPageCount = pages;
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java2820 * List&lt;Notification&gt; pages = wearableExtender.getPages();</pre>
2897 private static final String KEY_PAGES = "pages";
2958 Notification[] pages = getNotificationArrayFromBundle(
2960 if (pages != null) {
2961 Collections.addAll(mPages, pages);
3151 * notification forms the first page, and pages added using this function form
3152 * subsequent pages. This field can be used to separate a notification into multiple
3165 * Add additional pages of content to display with this notification. The current
3166 * notification forms the first page, and pages added using this function form
3167 * subsequent pages
3174 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.java517 // count we get from the remote document is the pages in the document from
519 // print service perspective which is the pages in the written PDF not the
520 // pages in the printed document.
945 // Handle the case where all pages are specified explicitly
946 // instead of the *all pages* constant.
1155 final PageRange[] pages;
1157 pages = mPrintPreviewController.getRequestedPages();
1159 pages = mPrintPreviewController.getSelectedPages();
1163 pages, preview);
1194 * Update the selected pages fro
[all...]
/frameworks/base/core/java/android/app/
H A DNotification.java5574 * List&lt;Notification&gt; pages = wearableExtender.getPages();</pre>
5651 private static final String KEY_PAGES = "pages";
5709 Notification[] pages = getNotificationArrayFromBundle(
5711 if (pages != null) {
5712 Collections.addAll(mPages, pages);
5900 * notification forms the first page, and pages added using this function form
5901 * subsequent pages. This field can be used to separate a notification into multiple
5914 * Add additional pages of content to display with this notification. The current
5915 * notification forms the first page, and pages added using this function form
5916 * subsequent pages
5923 addPages(List<Notification> pages) argument
[all...]

Completed in 530 milliseconds