Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java41 public static final Comparator<PathId> sIdComparator = new IdComparator();
192 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
193 ArrayList<PathId> imageList = new ArrayList<PathId>(); in mapMediaItems()
194 ArrayList<PathId> videoList = new ArrayList<PathId>(); in mapMediaItems()
197 PathId pid = list.get(i); in mapMediaItems()
212 private void processMapMediaItems(ArrayList<PathId> list, in processMapMediaItems()
218 PathId pid = list.get(i); in processMapMediaItems()
227 PathId pid2 = list.get(j); in processMapMediaItems()
238 PathId pid2 = list.get(k); in processMapMediaItems()
247 private static class IdComparator implements Comparator<PathId> {
[all …]
DDataManager.java29 import com.android.gallery3d.data.MediaSource.PathId;
219 HashMap<String, ArrayList<PathId>> map = in mapMediaItems()
220 new HashMap<String, ArrayList<PathId>>(); in mapMediaItems()
227 ArrayList<PathId> group = map.get(prefix); in mapMediaItems()
229 group = new ArrayList<PathId>(); in mapMediaItems()
232 group.add(new PathId(path, i + startIndex)); in mapMediaItems()
236 for (Entry<String, ArrayList<PathId>> entry : map.entrySet()) { in mapMediaItems()
DMediaSource.java61 public static class PathId { class in MediaSource
62 public PathId(Path path, int id) { in PathId() method in MediaSource.PathId
76 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
79 PathId pid = list.get(i); in mapMediaItems()