/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | PageRangeUtils.java | 19 import android.print.PageRange; 32 private static final PageRange[] ALL_PAGES_RANGE = new PageRange[] {PageRange.ALL_PAGES}; 34 private static final Comparator<PageRange> sComparator = new Comparator<PageRange>() { 36 public int compare(PageRange lhs, PageRange rhs) { 52 public static boolean contains(PageRange[] pageRanges, int pageIndex) { in contains() 55 PageRange pageRange = pageRanges[i]; in contains() 71 public static boolean contains(PageRange[] ourRanges, PageRange[] otherRanges, int pageCount) { in contains() 81 otherRanges[0] = new PageRange(0, pageCount - 1); in contains() 94 PageRange ourRange = ourRanges[ourRangeIdx]; in contains() 96 PageRange otherRange = otherRanges[otherRangeIdx]; in contains() [all …]
|
/frameworks/base/core/java/android/print/ |
D | PageRange.java | 28 public final class PageRange implements Parcelable { class 33 public static final PageRange ALL_PAGES = new PageRange(0, Integer.MAX_VALUE); 36 public static final PageRange[] ALL_PAGES_ARRAY = new PageRange[]{PageRange.ALL_PAGES}; 50 public PageRange(@IntRange(from = 0) int start, @IntRange(from = 0) int end) { in PageRange() method in PageRange 64 private PageRange(@NonNull Parcel parcel) { in PageRange() method in PageRange 141 PageRange other = (PageRange) obj; in equals() 165 public static final @android.annotation.NonNull Parcelable.Creator<PageRange> CREATOR = 166 new Creator<PageRange>() { 168 public PageRange createFromParcel(Parcel parcel) { 169 return new PageRange(parcel); [all …]
|
D | IWriteResultCallback.aidl | 20 import android.print.PageRange; 29 void onWriteFinished(in PageRange[] pages, int sequence); in onWriteFinished()
|
D | IPrintDocumentAdapter.aidl | 24 import android.print.PageRange; 37 void write(in PageRange[] pages, in ParcelFileDescriptor fd, in write()
|
D | PrintDocumentAdapter.java | 242 public abstract void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite() 277 public void onWriteFinished(PageRange[] pages) { in onWriteFinished()
|
D | PrintFileDocumentAdapter.java | 89 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite() 134 mResultCallback.onWriteFinished(new PageRange[] {PageRange.ALL_PAGES}); in onPostExecute()
|
D | PrintJobInfo.java | 182 private PageRange[] mPageRanges; 245 mPageRanges = new PageRange[parcelables.length]; in PrintJobInfo() 247 mPageRanges[i] = (PageRange) parcelables[i]; in PrintJobInfo() 511 public @Nullable PageRange[] getPages() { in getPages() 522 public void setPages(PageRange[] pageRanges) { in setPages() 820 public void setPages(@NonNull PageRange[] pages) { in setPages()
|
D | PageRange.aidl | 19 parcelable PageRange;
|
D | PrintManager.java | 881 public void write(PageRange[] pages, ParcelFileDescriptor fd, in write() 1066 PageRange[] pages = (PageRange[]) args.arg2; in handleMessage() 1230 public void onWriteFinished(PageRange[] pages) { in onWriteFinished()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PageAdapter.java | 27 import android.print.PageRange; 67 private static final PageRange[] ALL_PAGES_ARRAY = new PageRange[] { 68 PageRange.ALL_PAGES 92 private PageRange[] mRequestedPages; 94 private PageRange[] mWrittenPages; 96 private PageRange[] mSelectedPages; 208 public void update(PageRange[] writtenPages, PageRange[] selectedPages, in update() 255 mSelectedPages = PageRange.ALL_PAGES_ARRAY; in update() 400 public PageRange[] getRequestedPages() { in getRequestedPages() 404 public PageRange[] getSelectedPages() { in getSelectedPages() [all …]
|
D | PrintPreviewController.java | 23 import android.print.PageRange; 123 public PageRange[] getSelectedPages() { in getSelectedPages() 127 public PageRange[] getRequestedPages() { in getRequestedPages() 132 PageRange[] writtenPages, PageRange[] selectedPages, MediaSize mediaSize, in onContentUpdated() 297 PageRange[] writtenPages = (PageRange[]) args.arg1; in handleMessage() 298 PageRange[] selectedPages = (PageRange[]) args.arg2; in handleMessage() 346 PageRange shownPages = computeShownPages(); in startPreloadContent() 360 private PageRange computeShownPages() { in computeShownPages() 371 return new PageRange(firstHolder.getLayoutPosition(), in computeShownPages()
|
D | PrintActivity.java | 51 import android.print.PageRange; 247 private PageRange[] mSelectedPages; 951 PageRange[] pageRanges = printJobInfo.getPages(); in onAdvancedPrintOptionsActivityResult() 955 List<PageRange> validatedList = new ArrayList<>(); in onAdvancedPrintOptionsActivityResult() 958 PageRange pageRange = pageRanges[i]; in onAdvancedPrintOptionsActivityResult() 963 pageRange = new PageRange(rangeStart, rangeEnd); in onAdvancedPrintOptionsActivityResult() 972 PageRange[] validatedArray = new PageRange[validatedList.size()]; in onAdvancedPrintOptionsActivityResult() 1009 PageRange[] selectedPages = mPrintPreviewController.getSelectedPages(); in updateSelectedPagesFromPreview() 1016 private void updateSelectedPages(PageRange[] selectedPages, int pageInDocumentCount) { in updateSelectedPages() 1026 selectedPages = new PageRange[] {PageRange.ALL_PAGES}; in updateSelectedPages() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 34 import android.print.PageRange; 80 @Nullable private PageRange mScheduledPreloadVisiblePages; 81 @Nullable private PageRange[] mScheduledPreloadSelectedPages; 82 @Nullable private PageRange[] mScheduledPreloadWrittenPages; 149 public void startPreload(@NonNull PageRange visiblePages, @NonNull PageRange[] selectedPages, in startPreload() 150 @NonNull PageRange[] writtenPages) { in startPreload() 558 private int findIndexOfPage(int pageNum, @NonNull PageRange[] pages) { in findIndexOfPage() 571 void startPreload(@NonNull PageRange visiblePages, @NonNull PageRange[] selectedPages, in startPreload() 572 @NonNull PageRange[] writtenPages, RenderSpec renderSpec) { in startPreload() 574 selectedPages = new PageRange[]{new PageRange(0, mPageCount - 1)}; in startPreload() [all …]
|
D | RemotePrintDocument.java | 35 import android.print.PageRange; 206 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { in update() 509 PageRange[] pages; 512 PageRange[] pages) { in update() 542 public PageRange[] pagesInFileToPrint; 545 public PageRange[] pagesWrittenToFile; 1001 private final PageRange[] mPages; 1011 RemotePrintDocumentInfo document, int pageCount, PageRange[] pages, in WriteCommand() 1104 private void handleOnWriteFinished(PageRange[] pages, int sequence) { in handleOnWriteFinished() 1113 PageRange[] writtenPages = PageRangeUtils.normalize(pages); in handleOnWriteFinished() [all …]
|
D | PrintSpoolerService.java | 45 import android.print.PageRange; 978 PageRange[] pages = printJob.getPages(); in doWriteStateLocked() 1226 List<PageRange> pageRanges = null; in parsePrintJobLocked() 1230 PageRange pageRange = new PageRange(start, end); in parsePrintJobLocked() 1232 pageRanges = new ArrayList<PageRange>(); in parsePrintJobLocked() 1242 PageRange[] pageRangesArray = new PageRange[pageRanges.size()]; in parsePrintJobLocked()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | IPdfEditor.aidl | 20 import android.print.PageRange; 28 void removePages(in PageRange[] pages); in removePages()
|
D | PdfManipulationService.java | 31 import android.print.PageRange; 238 public void removePages(PageRange[] ranges) { in removePages() 251 PageRange range = ranges[i]; in removePages() 258 range = new PageRange(range.getStart(), lastPageIdx); in removePages()
|
D | IPdfRenderer.aidl | 21 import android.print.PageRange;
|
/frameworks/base/core/java/com/android/internal/print/ |
D | DumpUtils.java | 23 import android.print.PageRange; 266 @NonNull PageRange range) { in writePageRange() 328 PageRange[] pages = printJobInfo.getPages(); in writePrintJobInfo()
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | WorkflowTest.java | 25 import android.print.PageRange; 217 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in print()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 106 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in createMockAdapter()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 22845 public final class PageRange implements android.os.Parcelable { 22846 ctor public PageRange(int, int); 22851 field public static final android.print.PageRange ALL_PAGES; 22852 field public static final android.os.Parcelable.Creator<android.print.PageRange> CREATOR; 22992 …method public abstract void onWrite(android.print.PageRange[], android.os.ParcelFileDescriptor, an… 23005 method public void onWriteFinished(android.print.PageRange[]); 23055 method public android.print.PageRange[] getPages(); 23076 method public void setPages(android.print.PageRange[]);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 54575 Landroid/print/IPrintDocumentAdapter$Stub$Proxy;->write([Landroid/print/PageRange;Landroid/os/Parce… 54590 Landroid/print/IPrintDocumentAdapter;->write([Landroid/print/PageRange;Landroid/os/ParcelFileDescri… 54815 Landroid/print/IWriteResultCallback$Stub$Proxy;->onWriteFinished([Landroid/print/PageRange;I)V 54826 Landroid/print/IWriteResultCallback;->onWriteFinished([Landroid/print/PageRange;I)V 54828 Landroid/print/PageRange;-><init>(Landroid/os/Parcel;)V 54829 Landroid/print/PageRange;->ALL_PAGES_ARRAY:[Landroid/print/PageRange; 54830 Landroid/print/PageRange;->contains(I)Z 54831 Landroid/print/PageRange;->getSize()I 54832 Landroid/print/PageRange;->mEnd:I 54833 Landroid/print/PageRange;->mStart:I [all …]
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 36386 public final class PageRange implements android.os.Parcelable { 36387 ctor public PageRange(@IntRange(from=0) int, @IntRange(from=0) int); 36392 field public static final android.print.PageRange ALL_PAGES; 36393 … field @NonNull public static final android.os.Parcelable.Creator<android.print.PageRange> CREATOR; 36538 …method public abstract void onWrite(android.print.PageRange[], android.os.ParcelFileDescriptor, an… 36551 method public void onWriteFinished(android.print.PageRange[]); 36603 method @Nullable public android.print.PageRange[] getPages(); 36625 method public void setPages(@NonNull android.print.PageRange[]);
|
/frameworks/base/api/ |
D | current.txt | 36530 public final class PageRange implements android.os.Parcelable { 36531 ctor public PageRange(@IntRange(from=0) int, @IntRange(from=0) int); 36536 field public static final android.print.PageRange ALL_PAGES; 36537 … field @NonNull public static final android.os.Parcelable.Creator<android.print.PageRange> CREATOR; 36682 …method public abstract void onWrite(android.print.PageRange[], android.os.ParcelFileDescriptor, an… 36695 method public void onWriteFinished(android.print.PageRange[]); 36747 method @Nullable public android.print.PageRange[] getPages(); 36769 method public void setPages(@NonNull android.print.PageRange[]);
|