Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java651 int remainingPagesToRequest = MAX_PREVIEW_PAGES_BATCH; in computeRequestedPages() local
662 remainingPagesToRequest -= PageRangeUtils.getNormalizedPageCount( in computeRequestedPages()
675 if (remainingPagesToRequest <= 0) { in computeRequestedPages()
690 rangeSpan = Math.min(rangeSpan, remainingPagesToRequest); in computeRequestedPages()
696 rangeSpan = Math.min(rangeSpan, remainingPagesToRequest); in computeRequestedPages()
704 remainingPagesToRequest -= rangeSpan; in computeRequestedPages()
713 if (remainingPagesToRequest <= 0) { in computeRequestedPages()
728 rangeSpan = Math.min(rangeSpan, remainingPagesToRequest); in computeRequestedPages()
734 rangeSpan = Math.min(rangeSpan, remainingPagesToRequest); in computeRequestedPages()
745 remainingPagesToRequest -= rangeSpan; in computeRequestedPages()