Searched refs:MEDIAITEM_BATCH_FETCH_COUNT (Results 1 – 3 of 3) sorted by relevance
38 public static final int MEDIAITEM_BATCH_FETCH_COUNT = 500; field in MediaSet123 hint - MEDIAITEM_BATCH_FETCH_COUNT / 2); in getIndexOfItem()125 start, MEDIAITEM_BATCH_FETCH_COUNT); in getIndexOfItem()130 start = start == 0 ? MEDIAITEM_BATCH_FETCH_COUNT : 0; in getIndexOfItem()131 list = getMediaItem(start, MEDIAITEM_BATCH_FETCH_COUNT); in getIndexOfItem()135 if (list.size() < MEDIAITEM_BATCH_FETCH_COUNT) return INDEX_NOT_FOUND; in getIndexOfItem()136 start += MEDIAITEM_BATCH_FETCH_COUNT; in getIndexOfItem()137 list = getMediaItem(start, MEDIAITEM_BATCH_FETCH_COUNT); in getIndexOfItem()206 int count = Math.min(MEDIAITEM_BATCH_FETCH_COUNT, total - start); in enumerateMediaItems()
229 if (curId - startId >= MediaSet.MEDIAITEM_BATCH_FETCH_COUNT) { in processMapMediaItems()
223 int count = Math.min(total - index, MediaSet.MEDIAITEM_BATCH_FETCH_COUNT); in getSelected()