Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java245 int firstSibling; in computeSiblingsRange() local
248 firstSibling = Math.max(0, documentLocation - MAX_DOCS_IN_INTENT / 2); in computeSiblingsRange()
249 lastSibling = Math.min(uris.size() - 1, firstSibling + MAX_DOCS_IN_INTENT - 1); in computeSiblingsRange()
252 firstSibling = Math.max(0, lastSibling - MAX_DOCS_IN_INTENT + 1); in computeSiblingsRange()
256 Log.d(TAG, "Copmuted siblings from index: " + firstSibling in computeSiblingsRange()
260 return new Range(firstSibling, lastSibling); in computeSiblingsRange()