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.java74 public static BucketEntry[] loadBucketEntries( in loadBucketEntries()
84 ContentResolver resolver, Uri tableUri, HashMap<Integer, BucketEntry> buckets) { in updateBucketEntriesFromTable()
95 BucketEntry entry = buckets.get(bucketId); in updateBucketEntriesFromTable()
97 entry = new BucketEntry(bucketId, cursor.getString(INDEX_BUCKET_NAME)); in updateBucketEntriesFromTable()
109 private static BucketEntry[] loadBucketEntriesFromImagesAndVideoTable( in loadBucketEntriesFromImagesAndVideoTable()
111 HashMap<Integer, BucketEntry> buckets = new HashMap<Integer, BucketEntry>(64); in loadBucketEntriesFromImagesAndVideoTable()
120 BucketEntry[] entries = buckets.values().toArray(new BucketEntry[buckets.size()]); in loadBucketEntriesFromImagesAndVideoTable()
121 Arrays.sort(entries, new Comparator<BucketEntry>() { in loadBucketEntriesFromImagesAndVideoTable()
123 public int compare(BucketEntry a, BucketEntry b) { in loadBucketEntriesFromImagesAndVideoTable()
131 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()