Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DPageRangeUtils.java71 public static boolean contains(PageRange[] ourRanges, PageRange[] otherRanges, int pageCount) { in contains() argument
72 if (ourRanges == null || otherRanges == null) { in contains()
80 if (Arrays.equals(otherRanges, ALL_PAGES_RANGE)) { in contains()
81 otherRanges[0] = new PageRange(0, pageCount - 1); in contains()
85 otherRanges = normalize(otherRanges); in contains()
92 final int otherRangeCount = otherRanges.length; in contains()
96 PageRange otherRange = otherRanges[otherRangeIdx]; in contains()