Searched refs:rangeSpan (Results 1 – 1 of 1) sorted by relevance
686 int rangeSpan; in computeRequestedPages() local689 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 …]