Searched refs:selectedPages (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PageAdapter.java | 205 public void update(PageRange[] writtenPages, PageRange[] selectedPages, in update() argument 257 } else if (!Arrays.equals(mSelectedPages, selectedPages)) { in update() 258 mSelectedPages = selectedPages; in update() 386 PageRange[] selectedPages = computeSelectedPages(); in getSelectedPages() local 387 if (!Arrays.equals(mSelectedPages, selectedPages)) { in getSelectedPages() 388 mSelectedPages = selectedPages; in getSelectedPages() 521 PageRange[] selectedPages = new PageRange[selectedPagesList.size()]; in computeSelectedPages() local 522 selectedPagesList.toArray(selectedPages); in computeSelectedPages() 524 return selectedPages; in computeSelectedPages()
|
D | PrintPreviewController.java | 132 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()
|
D | PrintActivity.java | 940 PageRange[] selectedPages = mPrintPreviewController.getSelectedPages(); in updateSelectedPagesFromPreview() local 941 if (!Arrays.equals(mSelectedPages, selectedPages)) { in updateSelectedPagesFromPreview() 942 updateSelectedPages(selectedPages, in updateSelectedPagesFromPreview() 947 private void updateSelectedPages(PageRange[] selectedPages, int pageInDocumentCount) { in updateSelectedPages() argument 948 if (selectedPages == null || selectedPages.length <= 0) { in updateSelectedPages() 952 selectedPages = PageRangeUtils.normalize(selectedPages); in updateSelectedPages() 956 if (PageRangeUtils.isAllPages(selectedPages, pageInDocumentCount)) { in updateSelectedPages() 957 selectedPages = new PageRange[] {PageRange.ALL_PAGES}; in updateSelectedPages() 960 if (Arrays.equals(mSelectedPages, selectedPages)) { in updateSelectedPages() 964 mSelectedPages = selectedPages; in updateSelectedPages() [all …]
|