Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java651 PageRange selectedRange = PageRangeUtils.asAbsoluteRange(mSelectedPages[i], in computeRequestedPages() local
653 if (pageInDocument < selectedRange.getStart()) { in computeRequestedPages()
660 if (selectedRange.contains(pageInDocument)) { in computeRequestedPages()
661 rangeSpan = pageInDocument - selectedRange.getStart() + 1; in computeRequestedPages()
667 rangeSpan = selectedRange.getSize(); in computeRequestedPages()
670 final int fromPage = Math.max(selectedRange.getEnd() - rangeSpan - 1, 0); in computeRequestedPages()
671 final int toPage = selectedRange.getEnd(); in computeRequestedPages()
689 PageRange selectedRange = PageRangeUtils.asAbsoluteRange(mSelectedPages[i], in computeRequestedPages() local
691 if (pageInDocument > selectedRange.getEnd()) { in computeRequestedPages()
698 if (selectedRange.contains(pageInDocument)) { in computeRequestedPages()
[all …]