Searched refs:writtenPages (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | PageRangeUtils.java | 398 PageRange[] writtenPages, int pageCount) { in computePrintedPages() argument 406 } else if (Arrays.equals(writtenPages, requestedPages)) { in computePrintedPages() 410 } else if (Arrays.equals(writtenPages, ALL_PAGES_RANGE)) { in computePrintedPages() 414 } else if (PageRangeUtils.contains(writtenPages, requestedPages, pageCount)) { in computePrintedPages() 419 final int offset = -writtenPages[0].getStart(); in computePrintedPages() 423 && isAllPages(writtenPages, pageCount)) { in computePrintedPages()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintPreviewController.java | 132 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()
|
D | PageAdapter.java | 205 public void update(PageRange[] writtenPages, PageRange[] selectedPages, in update() argument 214 if (writtenPages == null) { in update() 268 if (writtenPages != null) { in update() 270 if (PageRangeUtils.isAllPages(writtenPages)) { in update() 271 writtenPages = mRequestedPages; in update() 273 if (!Arrays.equals(mWrittenPages, writtenPages)) { in update() 275 mWrittenPages = writtenPages; in update()
|
D | PrintActivity.java | 523 final int pageCount = PageRangeUtils.getNormalizedPageCount(document.writtenPages, in onUpdateCompleted() 598 mPrintedDocument.getDocumentInfo().writtenPages, in updatePrintPreviewController()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 99 && !PageRangeUtils.contains(mDocumentInfo.writtenPages, 109 mUpdateSpec.pages, mDocumentInfo.writtenPages, 517 public PageRange[] writtenPages; field in RemotePrintDocument.RemotePrintDocumentInfo 785 mDocument.writtenPages = null; in handleOnLayoutFinished() 1090 PageRange[] writtenPages = PageRangeUtils.normalize(pages); in handleOnWriteFinished() local 1092 mPages, writtenPages, mPageCount); in handleOnWriteFinished() 1096 mDocument.writtenPages = writtenPages; in handleOnWriteFinished() 1100 mDocument.writtenPages = null; in handleOnWriteFinished()
|
/frameworks/base/docs/html/training/printing/ |
D | custom-docs.jd | 288 PageRange[] writtenPages = computeWrittenPages(); 290 callback.onWriteFinished(writtenPages);
|