HomeSort by relevance Sort by last modified time
    Searched refs:PageRangeUtils (Results 1 - 5 of 5) sorted by null

  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
PageRangeUtils.java 30 public final class PageRangeUtils {
41 private PageRangeUtils() {
317 return PageRangeUtils.normalize(ranges.toArray(new PageRange[ranges.size()]));
414 } else if (PageRangeUtils.contains(writtenPages, requestedPages, pageCount)) {
420 PageRangeUtils.offset(requestedPages, offset);
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PageAdapter.java 45 import com.android.printspooler.util.PageRangeUtils;
259 mSelectedPageCount = PageRangeUtils.getNormalizedPageCount(
270 if (PageRangeUtils.isAllPages(writtenPages)) {
389 mSelectedPageCount = PageRangeUtils.getNormalizedPageCount(
552 PageRange pageRange = PageRangeUtils.asAbsoluteRange(
564 if (!PageRangeUtils.contains(mSelectedPages, pageIndexInDocument)) {
589 PageRange pageRange = PageRangeUtils.asAbsoluteRange(pagesInDocument[i],
617 PageRangeUtils.contains(mRequestedPages, pageInDocument)) {
634 remainingPagesToRequest -= PageRangeUtils.getNormalizedPageCount(
651 PageRange selectedRange = PageRangeUtils.asAbsoluteRange(mSelectedPages[i]
    [all...]
PrintActivity.java 100 import com.android.printspooler.util.PageRangeUtils;
524 final int pageCount = PageRangeUtils.getNormalizedPageCount(document.writtenPages,
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
PdfManipulationService.java 36 import com.android.printspooler.util.PageRangeUtils;
245 ranges = PageRangeUtils.normalize(ranges);
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
RemotePrintDocument.java 43 import com.android.printspooler.util.PageRangeUtils;
100 && !PageRangeUtils.contains(mDocumentInfo.writtenPages,
109 mDocumentInfo.printedPages = PageRangeUtils.computePrintedPages(
235 && pages != null && !PageRangeUtils.contains(mUpdateSpec.pages, pages,
    [all...]

Completed in 540 milliseconds