Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/browse/
DMediaBrowserUtils.java48 int startIndex1, startIndex2, endIndex1, endIndex2; in hasDuplicatedItems() local
50 startIndex1 = 0; in hasDuplicatedItems()
53 startIndex1 = pageSize1 * page1; in hasDuplicatedItems()
54 endIndex1 = startIndex1 + pageSize1 - 1; in hasDuplicatedItems()
65 if (startIndex1 <= startIndex2 && startIndex2 <= endIndex1) { in hasDuplicatedItems()
67 } else if (startIndex1 <= endIndex2 && endIndex2 <= endIndex1) { in hasDuplicatedItems()
/frameworks/support/media/src/main/java/androidx/media/
DMediaBrowserCompatUtils.java56 int startIndex1, startIndex2, endIndex1, endIndex2; in hasDuplicatedItems() local
58 startIndex1 = 0; in hasDuplicatedItems()
61 startIndex1 = pageSize1 * page1; in hasDuplicatedItems()
62 endIndex1 = startIndex1 + pageSize1 - 1; in hasDuplicatedItems()
74 return !(endIndex1 < startIndex2 || endIndex2 < startIndex1); in hasDuplicatedItems()