/frameworks/base/core/java/android/print/ |
H A D | IWriteResultCallback.aidl | 29 void onWriteFinished(in PageRange[] pages, int sequence);
|
H A D | PrintDocumentAdapter.java | 44 * 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> 272 * Returning {@link PageRange#ALL_PAGES} indicates that all pages that were 273 * requested as the {@code pages} paramete 275 onWriteFinished(PageRange[] pages) argument [all...] |
H A D | IPrintDocumentAdapter.aidl | 37 void write(in PageRange[] pages, in ParcelFileDescriptor fd,
|
H A D | PrintFileDocumentAdapter.java | 89 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument
|
H A D | PrintManager.java | 75 * layout pass the system may ask the application to render one or more pages one 879 public void write(PageRange[] pages, ParcelFileDescriptor fd, argument 902 args.arg2 = pages; 1064 PageRange[] pages = (PageRange[]) args.arg2; 1073 builder.append("\n pages:").append(Arrays.toString(pages)); 1078 adapter.onWrite(pages, fd, cancellation, callback); 1228 public void onWriteFinished(PageRange[] pages) { argument 1243 if (pages == null) { 1244 throw new IllegalArgumentException("pages canno [all...] |
H A D | PrintJobInfo.java | 180 /** The pages to print */ 506 * Gets the included pages. 508 * @return The included pages or <code>null</code> if not set. 515 * Sets the included pages. 517 * @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 D | IPdfEditor.aidl | 28 void removePages(in PageRange[] pages);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 93 // 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. 111 mUpdateSpec.pages, mDocumentInfo.pagesWrittenToFile, 206 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { argument 241 // If no layout in progress and we don't have all pages - schedule a write. 244 && pages ! 503 PageRange[] pages; field in class:RemotePrintDocument.UpdateSpec 505 update(PrintAttributes attributes, boolean preview, PageRange[] pages) argument 1004 WriteCommand(Context context, Looper looper, IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, int pageCount, PageRange[] pages, MutexFileProvider fileProvider, CommandDoneCallback callback) argument 1098 handleOnWriteFinished(PageRange[] pages, int sequence) argument 1254 onWriteFinished(PageRange[] pages, int sequence) argument [all...] |
H A D | PageContentRepository.java | 142 * Preload selected, written pages around visiblePages. 144 * @param visiblePages The pages currently visible 145 * @param selectedPages The pages currently selected (e.g. they might become visible by 147 * @param writtenPages The pages currently in the document 335 // If all rendered pages contain rendered content, then use the oldest. 483 // Opening a new document invalidates the cache as it has pages 485 // is closed to show pages while the other side is writing the new 550 * How many pages are {@code pages} before pageNum. E.g. page 5 in [0-1], [4-7] has the 554 * @param pages 558 findIndexOfPage(int pageNum, @NonNull PageRange[] pages) argument [all...] |
H A D | PrintSpoolerService.java | 950 PageRange[] pages = printJob.getPages(); 951 if (pages != null) { 952 for (int i = 0; i < pages.length; i++) { 955 pages[i].getStart())); 957 pages[i].getEnd()));
|
/frameworks/base/tools/preload/loadclass/ |
H A D | LoadClass.java | 61 int[] pages = new int[6];
|
/frameworks/base/core/java/com/android/internal/print/ |
H A D | DumpUtils.java | 328 PageRange[] pages = printJobInfo.getPages(); 329 if (pages != null) { 330 for (int i = 0; i < pages.length; i++) { 331 writePageRange(proto, "pages", PrintJobInfoProto.PAGES, pages[i]);
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
H A D | WorkflowTest.java | 216 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, 237 callback.onWriteFinished(pages);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | PagingIndicator.java | 273 public void setPageCount(int pages) { argument 274 if (pages <= 0) { 277 mPageCount = pages;
|
/frameworks/base/core/proto/android/service/ |
H A D | print.proto | 307 // Number of pages in the doc 384 repeated PageRangeProto pages = 10;
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | NotificationCompat.java | 3701 * List<Notification> pages = wearableExtender.getPages();</pre> 3778 private static final String KEY_PAGES = "pages"; 3851 Notification[] pages = getNotificationArrayFromBundle( 3853 if (pages != null) { 3854 Collections.addAll(mPages, pages); 4087 * notification forms the first page, and pages added using this function form 4088 * subsequent pages. This field can be used to separate a notification into multiple 4101 * Add additional pages of content to display with this notification. The current 4102 * notification forms the first page, and pages added using this function form 4103 * subsequent pages 4110 addPages(List<Notification> pages) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/print/ |
H A D | IPrintManagerParametersTest.java | 105 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination,
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintActivity.java | 563 // count we get from the remote document is the pages in the document from 565 // print service perspective which is the pages in the written PDF not the 566 // pages in the printed document. 1023 // Handle the case where all pages are specified explicitly 1024 // instead of the *all pages* constant. 1256 final PageRange[] pages; 1258 pages = mPrintPreviewController.getRequestedPages(); 1260 pages = mPrintPreviewController.getSelectedPages(); 1264 pages, preview); 1295 * Update the selected pages fro [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 8219 * List<Notification> pages = wearableExtender.getPages();</pre> 8296 private static final String KEY_PAGES = "pages"; 8356 Notification[] pages = getNotificationArrayFromBundle( 8358 if (pages != null) { 8359 Collections.addAll(mPages, pages); 8552 * notification forms the first page, and pages added using this function form 8553 * subsequent pages. This field can be used to separate a notification into multiple 8566 * Add additional pages of content to display with this notification. The current 8567 * notification forms the first page, and pages added using this function form 8568 * subsequent pages 8575 addPages(List<Notification> pages) argument [all...] |