Searched refs:pageRange (Results 1 – 4 of 4) sorted by relevance
53 PageRange pageRange = pageRanges[i]; in contains() local54 if (pageRange.contains(pageIndex)) { in contains()187 PageRange pageRange = pageRanges[i]; in getNormalizedPageCount() local188 if (PageRange.ALL_PAGES.equals(pageRange)) { in getNormalizedPageCount()191 pageCount += pageRange.getSize(); in getNormalizedPageCount()197 public static PageRange asAbsoluteRange(PageRange pageRange, int pageCount) { in asAbsoluteRange() argument198 if (PageRange.ALL_PAGES.equals(pageRange)) { in asAbsoluteRange()201 return pageRange; in asAbsoluteRange()207 PageRange pageRange = pageRanges[i]; in isAllPages() local208 if (isAllPages(pageRange)) { in isAllPages()[all …]
468 PageRange pageRange = new PageRange(startPageIndex, endPageIndex); in computeSelectedPages() local469 selectedPagesList.add(pageRange); in computeSelectedPages()477 PageRange pageRange = new PageRange(startPageIndex, endPageIndex); in computeSelectedPages() local478 selectedPagesList.add(pageRange); in computeSelectedPages()508 PageRange pageRange = PageRangeUtils.asAbsoluteRange( in computePageIndexInDocument() local510 skippedAdapterPages += pageRange.getSize(); in computePageIndexInDocument()513 return pageRange.getEnd() - overshoot; in computePageIndexInDocument()530 PageRange pageRange = mWrittenPages[i]; in computePageIndexInFile() local531 if (!pageRange.contains(pageIndexInDocument)) { in computePageIndexInFile()532 indexInFile += pageRange.getSize(); in computePageIndexInFile()[all …]
742 PageRange pageRange = pageRanges[i]; in onAdvancedPrintOptionsActivityResult() local743 if (pageRange.getEnd() >= pageCount) { in onAdvancedPrintOptionsActivityResult()744 final int rangeStart = pageRange.getStart(); in onAdvancedPrintOptionsActivityResult()747 pageRange = new PageRange(rangeStart, rangeEnd); in onAdvancedPrintOptionsActivityResult()748 validatedList.add(pageRange); in onAdvancedPrintOptionsActivityResult()752 validatedList.add(pageRange); in onAdvancedPrintOptionsActivityResult()832 PageRange pageRange = selectedPages[i]; in updateSelectedPages() local833 if (pageRange.equals(PageRange.ALL_PAGES)) { in updateSelectedPages()837 shownStartPage = pageRange.getStart() + 1; in updateSelectedPages()838 shownEndPage = pageRange.getEnd() + 1; in updateSelectedPages()[all …]
1035 PageRange pageRange = new PageRange(start, end); in parsePrintJob() local1039 pageRanges.add(pageRange); in parsePrintJob()