Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java686 int rangeSpan; in computeRequestedPages() local
689 rangeSpan = pageInDocument - selectedRange.getStart() + 1; in computeRequestedPages()
690 rangeSpan = Math.min(rangeSpan, remainingPagesToRequest); in computeRequestedPages()
691 final int fromPage = Math.max(pageInDocument - rangeSpan - 1, 0); in computeRequestedPages()
692 rangeSpan = Math.max(rangeSpan, 0); in computeRequestedPages()
695 rangeSpan = selectedRange.getSize(); in computeRequestedPages()
696 rangeSpan = Math.min(rangeSpan, remainingPagesToRequest); in computeRequestedPages()
697 rangeSpan = Math.max(rangeSpan, 0); in computeRequestedPages()
698 final int fromPage = Math.max(selectedRange.getEnd() - rangeSpan - 1, 0); in computeRequestedPages()
704 remainingPagesToRequest -= rangeSpan; in computeRequestedPages()
[all …]