Home
last modified time | relevance | path

Searched refs:pages (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java97 if (mUpdateSpec.pages != null && (mDocumentInfo.changed
102 mUpdateSpec.pages, mDocumentInfo.info.getPageCount())))) {
105 mDocumentInfo.info.getPageCount(), mUpdateSpec.pages,
108 if (mUpdateSpec.pages != null) {
112 mUpdateSpec.pages, mDocumentInfo.pagesWrittenToFile,
207 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { in update() argument
251 && pages != null && !PageRangeUtils.contains(mUpdateSpec.pages, pages, in update()
263 mDocumentInfo, mDocumentInfo.info.getPageCount(), pages, in update()
277 mUpdateSpec.update(attributes, preview, pages); in update()
515 PageRange[] pages; field in RemotePrintDocument.UpdateSpec
[all …]
DPageContentRepository.java558 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()
DPrintSpoolerService.java978 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()
/frameworks/base/core/java/android/print/
DPrintDocumentAdapter.java242 public abstract void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite() argument
277 public void onWriteFinished(PageRange[] pages) { in onWriteFinished() argument
DPrintManager.java905 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()
DIWriteResultCallback.aidl29 void onWriteFinished(in PageRange[] pages, int sequence); in onWriteFinished() argument
DIPrintDocumentAdapter.aidl37 void write(in PageRange[] pages, in ParcelFileDescriptor fd, in write() argument
DPrintFileDocumentAdapter.java89 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite() argument
DPrintJobInfo.java820 public void setPages(@NonNull PageRange[] pages) { in setPages() argument
821 mPrototype.mPageRanges = pages; in setPages()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractor.java193 public void onPageChanged(int pages) { in onPageChanged() argument
194 mLongExecutor.execute(() -> onPageChangedSynchronized(pages)); in onPageChanged()
197 private void onPageChangedSynchronized(int pages) { in onPageChangedSynchronized() argument
199 if (mPages == pages) return; in onPageChangedSynchronized()
200 mPages = pages; in onPageChangedSynchronized()
DImageWallpaper.java507 final int pages; in onOffsetsChanged() local
509 pages = Math.round(1 / xOffsetStep) + 1; in onOffsetsChanged()
511 pages = 1; in onOffsetsChanged()
513 if (pages != mPages || !mPagesComputed) { in onOffsetsChanged()
514 mPages = pages; in onOffsetsChanged()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DIPdfEditor.aidl28 void removePages(in PageRange[] pages); in removePages() argument
/frameworks/base/cmds/incident_helper/testdata/
Dpagetypeinfo.txt4 Free pages count per migrate type at order 0 1 2 3 4 5 6 7…
/frameworks/base/core/java/com/android/internal/print/
DDumpUtils.java328 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()
/frameworks/base/core/proto/android/service/
Dprocstats.proto79 // 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
Dprint.proto308 // Number of pages in the doc
385 repeated PageRangeProto pages = 10; field
/frameworks/base/tools/preload/loadclass/
DLoadClass.java61 int[] pages = new int[6]; in main() local
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java222 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in print()
243 callback.onWriteFinished(pages); in print()
/frameworks/base/core/proto/android/os/
Dpagetypeinfo.proto32 * Each zone has 11 free area. Each free area corresponds to pages of the same order.
Dps.proto47 // Resident set size. How many physical pages are associated with the
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
DREADME.md13 The UI consists of a `ViewPager` populated by multiple pages of shortcut buttons.
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto170 // The private dirty pages used by the heap.
172 // The shared dirty pages used by the heap.
174 // The shared clean pages used by the heap.
176 // The private clean pages used by the heap.
179 // The dirty the pages that have been swapped out.
181 // The dirty the pages that have been swapped out, proportional.
/frameworks/proto_logging/stats/atoms/pdf/
Dpdfviewer_extension_atoms.proto122 // Number of pages in the PDF
/frameworks/base/core/java/android/content/pm/
Dmultiuser.aconfig172 description: "Handle listing of private space apps in settings pages with interleaved content"
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java2055 int pages = Math.round(1 / step); in getRectFPage() local
2056 int page = Math.round(area.centerX() * pages); in getRectFPage()
2057 if (page == pages) return pages - 1; in getRectFPage()

12