Home
last modified time | relevance | path

Searched refs:selectedPages (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java202 public void update(PageRange[] writtenPages, PageRange[] selectedPages, in update() argument
225 if (!Arrays.equals(mSelectedPages, selectedPages)) { in update()
226 mSelectedPages = selectedPages; in update()
371 PageRange[] selectedPages = computeSelectedPages(); in getSelectedPages() local
372 if (!Arrays.equals(mSelectedPages, selectedPages)) { in getSelectedPages()
373 mSelectedPages = selectedPages; in getSelectedPages()
490 PageRange[] selectedPages = new PageRange[selectedPagesList.size()]; in computeSelectedPages() local
491 selectedPagesList.toArray(selectedPages); in computeSelectedPages()
493 return selectedPages; in computeSelectedPages()
DPrintActivity.java529 PageRange[] selectedPages = computeSelectedPages(); in onOptionsClosed() local
530 if (!Arrays.equals(mSelectedPages, selectedPages)) { in onOptionsClosed()
531 mSelectedPages = selectedPages; in onOptionsClosed()
847 PageRange[] selectedPages = mPrintPreviewController.getSelectedPages(); in updateSelectedPagesFromPreview() local
848 if (!Arrays.equals(mSelectedPages, selectedPages)) { in updateSelectedPagesFromPreview()
849 updateSelectedPages(selectedPages, in updateSelectedPagesFromPreview()
854 private void updateSelectedPages(PageRange[] selectedPages, int pageInDocumentCount) { in updateSelectedPages() argument
855 if (selectedPages == null || selectedPages.length <= 0) { in updateSelectedPages()
859 selectedPages = PageRangeUtils.normalize(selectedPages); in updateSelectedPages()
863 if (PageRangeUtils.isAllPages(selectedPages, pageInDocumentCount)) { in updateSelectedPages()
[all …]
DPrintPreviewController.java132 PageRange[] writtenPages, PageRange[] selectedPages, MediaSize mediaSize, in onContentUpdated() argument
163 args.arg2 = selectedPages; in onContentUpdated()
298 PageRange[] selectedPages = (PageRange[]) args.arg2; in handleMessage() local
304 mPageAdapter.update(writtenPages, selectedPages, pageCount, in handleMessage()