/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 108 if (mUpdateSpec.pages != null) { 251 && pages != null && !PageRangeUtils.contains(mUpdateSpec.pages, pages, in update() 277 mUpdateSpec.update(attributes, preview, pages); in update() 515 PageRange[] pages; field in RemotePrintDocument.UpdateSpec 518 PageRange[] pages) { in update() argument 521 this.pages = (pages != null) ? Arrays.copyOf(pages, pages.length) : null; in update() 527 pages = null; in reset() 1024 mPages = Arrays.copyOf(pages, pages.length); in WriteCommand() 1234 PageRange[] pages = (PageRange[]) message.obj; in handleMessage() local 1235 handleOnWriteFinished(pages, sequence); in handleMessage() [all …]
|
H A D | PageContentRepository.java | 558 private int findIndexOfPage(int pageNum, @NonNull PageRange[] pages) { in findIndexOfPage() argument 560 for (int i = 0; i < pages.length; i++) { in findIndexOfPage() 561 if (pages[i].contains(pageNum)) { in findIndexOfPage() 562 return pagesBefore + pageNum - pages[i].getStart(); in findIndexOfPage() 564 pagesBefore += pages[i].getSize(); in findIndexOfPage()
|
H A D | PrintSpoolerService.java | 978 PageRange[] pages = printJob.getPages(); in doWriteStateLocked() local 979 if (pages != null) { in doWriteStateLocked() 980 for (int i = 0; i < pages.length; i++) { in doWriteStateLocked() 983 pages[i].getStart())); in doWriteStateLocked() 985 pages[i].getEnd())); in doWriteStateLocked()
|
/aosp14/frameworks/base/core/java/android/print/ |
H A D | PrintDocumentAdapter.java | 242 public abstract void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite() argument 277 public void onWriteFinished(PageRange[] pages) { in onWriteFinished() argument
|
H A D | PrintManager.java | 905 public void write(PageRange[] pages, ParcelFileDescriptor fd, in write() argument 928 args.arg2 = pages; in write() 1090 PageRange[] pages = (PageRange[]) args.arg2; in handleMessage() local 1099 builder.append("\n pages:").append(Arrays.toString(pages)); in handleMessage() 1104 adapter.onWrite(pages, fd, cancellation, callback); in handleMessage() 1254 public void onWriteFinished(PageRange[] pages) { in onWriteFinished() argument 1269 if (pages == null) { in onWriteFinished() 1272 if (pages.length == 0) { in onWriteFinished() 1277 callback.onWriteFinished(pages, mSequence); in onWriteFinished()
|
H A D | IWriteResultCallback.aidl | 29 void onWriteFinished(in PageRange[] pages, int sequence); in onWriteFinished() argument
|
H A D | IPrintDocumentAdapter.aidl | 37 void write(in PageRange[] pages, in ParcelFileDescriptor fd, in write() argument
|
H A D | PrintFileDocumentAdapter.java | 89 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite() argument
|
H A D | PrintJobInfo.java | 820 public void setPages(@NonNull PageRange[] pages) { in setPages() argument 821 mPrototype.mPageRanges = pages; in setPages()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/ |
H A D | WallpaperLocalColorExtractor.java | 169 public void onPageChanged(int pages) { in onPageChanged() argument 170 mLongExecutor.execute(() -> onPageChangedSynchronized(pages)); in onPageChanged() 173 private void onPageChangedSynchronized(int pages) { in onPageChangedSynchronized() argument 175 if (mPages == pages) return; in onPageChangedSynchronized() 176 mPages = pages; in onPageChangedSynchronized()
|
H A D | ImageWallpaper.java | 445 final int pages; in onOffsetsChanged() local 447 pages = Math.round(1 / xOffsetStep) + 1; in onOffsetsChanged() 449 pages = 1; in onOffsetsChanged() 451 if (pages != mPages || !mPagesComputed) { in onOffsetsChanged() 452 mPages = pages; in onOffsetsChanged()
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | IPdfEditor.aidl | 28 void removePages(in PageRange[] pages); in removePages() argument
|
/aosp14/frameworks/base/core/java/com/android/internal/print/ |
H A D | DumpUtils.java | 328 PageRange[] pages = printJobInfo.getPages(); in writePrintJobInfo() local 329 if (pages != null) { in writePrintJobInfo() 330 for (int i = 0; i < pages.length; i++) { in writePrintJobInfo() 331 writePageRange(proto, "pages", PrintJobInfoProto.PAGES, pages[i]); in writePrintJobInfo()
|
/aosp14/frameworks/base/cmds/incident_helper/testdata/ |
H A D | pagetypeinfo.txt | 4 Free pages count per migrate type at order 0 1 2 3 4 5 6 7…
|
/aosp14/frameworks/base/core/proto/android/service/ |
H A D | procstats.proto | 79 // Number of pages available of various types and sizes, representation fragmentation. 93 // Node these pages are in (as per /proc/pagetypeinfo) 96 // Zone these pages are in (as per /proc/pagetypeinfo) 99 // Label for the type of these pages (as per /proc/pagetypeinfo) 102 // Distribution of number of pages available by order size. First entry in array is
|
H A D | print.proto | 308 // Number of pages in the doc 385 repeated PageRangeProto pages = 10; field
|
/aosp14/frameworks/base/tools/preload/loadclass/ |
H A D | LoadClass.java | 61 int[] pages = new int[6]; in main() local
|
/aosp14/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
H A D | WorkflowTest.java | 222 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in print() 243 callback.onWriteFinished(pages); in print()
|
/aosp14/frameworks/base/core/proto/android/os/ |
H A D | pagetypeinfo.proto | 32 * Each zone has 11 free area. Each free area corresponds to pages of the same order.
|
H A D | ps.proto | 47 // Resident set size. How many physical pages are associated with the
|
/aosp14/frameworks/base/core/proto/android/server/ |
H A D | activitymanagerservice.proto | 168 // The private dirty pages used by the heap. 170 // The shared dirty pages used by the heap. 172 // The shared clean pages used by the heap. 174 // The private clean pages used by the heap. 177 // The dirty the pages that have been swapped out. 179 // The dirty the pages that have been swapped out, proportional.
|
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/ |
H A D | README.md | 13 The UI consists of a `ViewPager` populated by multiple pages of shortcut buttons.
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/ |
H A D | Android.bp | 131 // faults for its code pages.
|
/aosp14/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 1983 int pages = Math.round(1 / step); in getRectFPage() local 1984 int page = Math.round(area.centerX() * pages); in getRectFPage() 1985 if (page == pages) return pages - 1; in getRectFPage()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/print/ |
H A D | IPrintManagerParametersTest.java | 111 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in createMockAdapter() argument
|