Home
last modified time | relevance | path

Searched refs:writtenPages (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java132 PageRange[] writtenPages, PageRange[] selectedPages, MediaSize mediaSize, in onContentUpdated() argument
155 if ((contentChanged || !mPageAdapter.isOpened()) && writtenPages != null) { in onContentUpdated()
162 args.arg1 = writtenPages; in onContentUpdated()
172 if (contentChanged && writtenPages != null) { in onContentUpdated()
297 PageRange[] writtenPages = (PageRange[]) args.arg1; in handleMessage() local
304 mPageAdapter.update(writtenPages, selectedPages, pageCount, in handleMessage()
DPageAdapter.java208 public void update(PageRange[] writtenPages, PageRange[] selectedPages, in update() argument
217 if (writtenPages == null) { in update()
271 if (writtenPages != null) { in update()
273 if (PageRangeUtils.isAllPages(writtenPages)) { in update()
274 writtenPages = mRequestedPages; in update()
276 if (!Arrays.equals(mWrittenPages, writtenPages)) { in update()
278 mWrittenPages = writtenPages; in update()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java150 @NonNull PageRange[] writtenPages) { in startPreload() argument
156 mScheduledPreloadWrittenPages = writtenPages; in startPreload()
158 mRenderer.startPreload(visiblePages, selectedPages, writtenPages, mLastRenderSpec); in startPreload()
572 @NonNull PageRange[] writtenPages, RenderSpec renderSpec) { in startPreload() argument
612 if (PageRangeUtils.contains(writtenPages, range.getStart() + i)) { in startPreload()
DRemotePrintDocument.java1113 PageRange[] writtenPages = PageRangeUtils.normalize(pages); in handleOnWriteFinished() local
1115 mPages, writtenPages, mPageCount); in handleOnWriteFinished()
1119 mDocument.pagesWrittenToFile = writtenPages; in handleOnWriteFinished()