Searched refs:documentLocation (Results 1 – 1 of 1) sorted by relevance
122 final int documentLocation = collectViewableUris(uris); in build() local123 final Range<Integer> range = computeSiblingsRange(uris, documentLocation); in build()146 intent.putExtra(Intent.EXTRA_INDEX, documentLocation - range.getLower()); in build()181 int documentLocation = 0; in collectViewableUris() local218 documentLocation = uris.size() - 1; // Position in "uris", not in the model. in collectViewableUris()220 Log.d(TAG, "Found starting point for QV. " + documentLocation); in collectViewableUris()225 return documentLocation; in collectViewableUris()241 private static Range<Integer> computeSiblingsRange(List<Uri> uris, int documentLocation) { in computeSiblingsRange() argument247 if (documentLocation < uris.size() / 2) { in computeSiblingsRange()248 firstSibling = Math.max(0, documentLocation - MAX_DOCS_IN_INTENT / 2); in computeSiblingsRange()[all …]