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.java679 PageRange selectedRange = PageRangeUtils.asAbsoluteRange(mSelectedPages[i], in computeRequestedPages() local
681 if (pageInDocument < selectedRange.getStart()) { in computeRequestedPages()
688 if (selectedRange.contains(pageInDocument)) { in computeRequestedPages()
689 rangeSpan = pageInDocument - selectedRange.getStart() + 1; in computeRequestedPages()
695 rangeSpan = selectedRange.getSize(); in computeRequestedPages()
698 final int fromPage = Math.max(selectedRange.getEnd() - rangeSpan - 1, 0); in computeRequestedPages()
699 final int toPage = selectedRange.getEnd(); in computeRequestedPages()
717 PageRange selectedRange = PageRangeUtils.asAbsoluteRange(mSelectedPages[i], in computeRequestedPages() local
719 if (pageInDocument > selectedRange.getEnd()) { in computeRequestedPages()
726 if (selectedRange.contains(pageInDocument)) { in computeRequestedPages()
[all …]