Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java246 int lastSibling; in computeSiblingsRange() local
249 lastSibling = Math.min(uris.size() - 1, firstSibling + MAX_DOCS_IN_INTENT - 1); in computeSiblingsRange()
251 lastSibling = Math.min(uris.size() - 1, documentLocation + MAX_DOCS_IN_INTENT / 2); in computeSiblingsRange()
252 firstSibling = Math.max(0, lastSibling - MAX_DOCS_IN_INTENT + 1); in computeSiblingsRange()
257 + " to: " + lastSibling); in computeSiblingsRange()
260 return new Range(firstSibling, lastSibling); in computeSiblingsRange()