Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java38 public static final int MEDIAITEM_BATCH_FETCH_COUNT = 500; field in MediaSet
123 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()
DLocalSource.java229 if (curId - startId >= MediaSet.MEDIAITEM_BATCH_FETCH_COUNT) { in processMapMediaItems()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSelectionManager.java223 int count = Math.min(total - index, MediaSet.MEDIAITEM_BATCH_FETCH_COUNT); in getSelected()