Searched refs:pageRange (Results 1 – 4 of 4) sorted by relevance
55 PageRange pageRange = pageRanges[i]; in contains() local56 if (pageRange.contains(pageIndex)) { in contains()350 PageRange pageRange = pageRanges[i]; in getNormalizedPageCount() local351 if (PageRange.ALL_PAGES.equals(pageRange)) { in getNormalizedPageCount()354 pageCount += pageRange.getSize(); in getNormalizedPageCount()360 public static PageRange asAbsoluteRange(PageRange pageRange, int pageCount) { in asAbsoluteRange() argument361 if (PageRange.ALL_PAGES.equals(pageRange)) { in asAbsoluteRange()364 return pageRange; in asAbsoluteRange()370 PageRange pageRange = pageRanges[i]; in isAllPages() local371 if (isAllPages(pageRange)) { in isAllPages()[all …]
527 PageRange pageRange = new PageRange(startPageIndex, endPageIndex); in computeSelectedPages() local528 selectedPagesList.add(pageRange); in computeSelectedPages()536 PageRange pageRange = new PageRange(startPageIndex, endPageIndex); in computeSelectedPages() local537 selectedPagesList.add(pageRange); in computeSelectedPages()574 PageRange pageRange = PageRangeUtils.asAbsoluteRange( in computePageIndexInDocument() local576 skippedAdapterPages += pageRange.getSize(); in computePageIndexInDocument()579 return pageRange.getEnd() - overshoot; in computePageIndexInDocument()596 PageRange pageRange = mWrittenPages[i]; in computePageIndexInFile() local597 if (!pageRange.contains(pageIndexInDocument)) { in computePageIndexInFile()598 indexInFile += pageRange.getSize(); in computePageIndexInFile()[all …]
921 PageRange pageRange = pageRanges[i]; in onAdvancedPrintOptionsActivityResult() local922 if (pageRange.getEnd() >= pageCount) { in onAdvancedPrintOptionsActivityResult()923 final int rangeStart = pageRange.getStart(); in onAdvancedPrintOptionsActivityResult()926 pageRange = new PageRange(rangeStart, rangeEnd); in onAdvancedPrintOptionsActivityResult()927 validatedList.add(pageRange); in onAdvancedPrintOptionsActivityResult()931 validatedList.add(pageRange); in onAdvancedPrintOptionsActivityResult()1019 PageRange pageRange = selectedPages[i]; in updateSelectedPages() local1020 if (pageRange.equals(PageRange.ALL_PAGES)) { in updateSelectedPages()1024 shownStartPage = pageRange.getStart() + 1; in updateSelectedPages()1025 shownEndPage = pageRange.getEnd() + 1; in updateSelectedPages()
1187 PageRange pageRange = new PageRange(start, end); in parsePrintJob() local1191 pageRanges.add(pageRange); in parsePrintJob()