Home
last modified time | relevance | path

Searched refs:bucketId (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbumSet.java180 private static int findBucket(BucketEntry entries[], int bucketId) { in findBucket() argument
182 if (entries[i].bucketId == bucketId) return i; in findBucket()
214 mType, mPath, entry.bucketId, entry.bucketName); in run()
242 public static String getBucketName(ContentResolver resolver, int bucketId) { in getBucketName() argument
249 new String[]{String.valueOf(bucketId)}, null); in getBucketName()
313 public int bucketId; field in LocalAlbumSet.BucketEntry
316 bucketId = id; in BucketEntry()
322 return bucketId; in hashCode()
329 return bucketId == entry.bucketId; in equals()
DLocalAlbum.java58 public LocalAlbum(Path path, GalleryApp application, int bucketId, in LocalAlbum() argument
63 mBucketId = bucketId; in LocalAlbum()
64 mName = getLocalizedName(application.getResources(), bucketId, name); in LocalAlbum()
86 public LocalAlbum(Path path, GalleryApp application, int bucketId, in LocalAlbum() argument
88 this(path, application, bucketId, isImage, in LocalAlbum()
90 bucketId)); in LocalAlbum()
271 private static String getLocalizedName(Resources res, int bucketId, in getLocalizedName() argument
273 if (bucketId == MediaSetUtils.CAMERA_BUCKET_ID) { in getLocalizedName()
275 } else if (bucketId == MediaSetUtils.DOWNLOAD_BUCKET_ID) { in getLocalizedName()
277 } else if (bucketId == MediaSetUtils.IMPORTED_BUCKET_ID) { in getLocalizedName()
[all …]
DLocalSource.java95 int bucketId = mMatcher.getIntVar(0); in createMediaObject() local
98 LocalAlbumSet.PATH_IMAGE.getChild(bucketId)); in createMediaObject()
100 LocalAlbumSet.PATH_VIDEO.getChild(bucketId)); in createMediaObject()
103 path, comp, new MediaSet[] {imageSet, videoSet}, bucketId); in createMediaObject()
135 String bucketId = uri.getQueryParameter(KEY_BUCKET_ID); in getAlbumPath() local
138 id = Integer.parseInt(bucketId); in getAlbumPath()
140 Log.w(TAG, "invalid bucket id: " + bucketId, e); in getAlbumPath()
DLocalMediaItem.java46 public int bucketId; field in LocalMediaItem
73 return bucketId; in getBucketId()
DLocalVideo.java110 bucketId = cursor.getInt(INDEX_BUCKET_ID); in loadFromCursor()
146 bucketId = uh.update(bucketId, cursor.getInt(INDEX_BUCKET_ID)); in updateFromCursor()
DLocalImage.java120 bucketId = cursor.getInt(INDEX_BUCKET_ID); in loadFromCursor()
142 bucketId = uh.update(bucketId, cursor.getInt(INDEX_BUCKET_ID)); in updateFromCursor()
DLocalMergeAlbum.java50 Path path, Comparator<MediaItem> comparator, MediaSet[] sources, int bucketId) { in LocalMergeAlbum() argument
55 mBucketId = bucketId; in LocalMergeAlbum()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java288 String bucketId = param.mBucketId; in makeImageList() local
308 l.add(new ImageList(cr, STORAGE_URI, sort, bucketId)); in makeImageList()
311 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId)); in makeImageList()
317 Images.Media.INTERNAL_CONTENT_URI, sort, bucketId)); in makeImageList()
321 cr, DrmStore.Images.CONTENT_URI, sort, bucketId)); in makeImageList()
364 String bucketId = uri.getQueryParameter("bucketId"); in makeImageList() local
366 bucketId); in makeImageList()
415 int inclusion, int sort, String bucketId) { in getImageListParam() argument
420 param.mBucketId = bucketId; in getImageListParam()
437 DataLocation location, int inclusion, int sort, String bucketId) { in makeImageList() argument
[all …]
DGalleryPicker.java556 ImageListData(int type, int include, String bucketId, int stringId) { in ImageListData() argument
559 mBucketId = bucketId; in ImageListData()
759 private IImageList createImageList(int mediaTypes, String bucketId,
766 bucketId);
802 public Item(int type, String bucketId, String name, IImageList list) {
804 mBucketId = bucketId;
/packages/apps/Gallery/src/com/android/camera/gallery/
DDrmImageList.java42 String bucketId) { in DrmImageList() argument
43 super(resolver, imageUri, sort, bucketId); in DrmImageList()
DVideoList.java77 String bucketId) { in VideoList() argument
78 super(resolver, uri, sort, bucketId); in VideoList()
DImageList.java62 int sort, String bucketId) { in ImageList() argument
63 super(resolver, imageUri, sort, bucketId); in ImageList()
DBaseImageList.java49 String bucketId) { in BaseImageList() argument
52 mBucketId = bucketId; in BaseImageList()
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java87 int bucketId = Integer.parseInt(path.getSuffix()); in migrateGalleryWidgetsInternal() local
88 localEntries.put(bucketId, entry); in migrateGalleryWidgetsInternal()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DLocalDataTest.java257 int bucketId, String bucketName) { in insertImageData() argument
262 + dateTaken + ", 1280395646, 1275934796, '" + bucketId + "', " in insertImageData()
380 int bucketId, String bucketName) { in insertVideoData() argument
385 + dateTaken + ", 1281503663, 1281503662, '" + bucketId + "', " in insertVideoData()