Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java88 public static BucketEntry[] loadBucketEntries( in loadBucketEntries()
98 ContentResolver resolver, Uri tableUri, HashMap<Integer, BucketEntry> buckets) { in updateBucketEntriesFromTable()
109 BucketEntry entry = buckets.get(bucketId); in updateBucketEntriesFromTable()
111 entry = new BucketEntry(bucketId, cursor.getString(INDEX_BUCKET_NAME)); in updateBucketEntriesFromTable()
123 private static BucketEntry[] loadBucketEntriesFromImagesAndVideoTable( in loadBucketEntriesFromImagesAndVideoTable()
125 HashMap<Integer, BucketEntry> buckets = new HashMap<Integer, BucketEntry>(64); in loadBucketEntriesFromImagesAndVideoTable()
134 BucketEntry[] entries = buckets.values().toArray(new BucketEntry[buckets.size()]); in loadBucketEntriesFromImagesAndVideoTable()
135 Arrays.sort(entries, new Comparator<BucketEntry>() { in loadBucketEntriesFromImagesAndVideoTable()
137 public int compare(BucketEntry a, BucketEntry b) { in loadBucketEntriesFromImagesAndVideoTable()
145 private static BucketEntry[] loadBucketEntriesFromFilesTable( in loadBucketEntriesFromFilesTable()
[all …]
DLocalAlbumSet.java26 import com.android.gallery3d.data.BucketHelper.BucketEntry;
94 private static int findBucket(BucketEntry entries[], int bucketId) { in findBucket()
108 BucketEntry[] entries = BucketHelper.loadBucketEntries( in run()
127 for (BucketEntry entry : entries) { in run()