/frameworks/base/core/java/android/print/ |
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 | PrintFileDocumentAdapter.java | 89 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument
|
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...] |
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...] |
/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/packages/PrintSpooler/src/com/android/printspooler/model/ |
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 | 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...] |
/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/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...] |