/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalAlbum.java | 61 public LocalAlbum(Path path, GalleryApp application, int bucketId, in LocalAlbum() argument 66 mBucketId = bucketId; in LocalAlbum() 89 public LocalAlbum(Path path, GalleryApp application, int bucketId, in LocalAlbum() argument 91 this(path, application, bucketId, isImage, in LocalAlbum() 93 application.getContentResolver(), bucketId)); in LocalAlbum() 280 public static String getLocalizedName(Resources res, int bucketId, in getLocalizedName() argument 282 if (bucketId == MediaSetUtils.CAMERA_BUCKET_ID) { in getLocalizedName() 284 } else if (bucketId == MediaSetUtils.DOWNLOAD_BUCKET_ID) { in getLocalizedName() 286 } else if (bucketId == MediaSetUtils.IMPORTED_BUCKET_ID) { in getLocalizedName() 288 } else if (bucketId == MediaSetUtils.SNAPSHOT_BUCKET_ID) { in getLocalizedName() [all …]
|
D | BucketHelper.java | 107 int bucketId = cursor.getInt(INDEX_BUCKET_ID); in updateBucketEntriesFromTable() local 109 BucketEntry entry = buckets.get(bucketId); in updateBucketEntriesFromTable() 111 entry = new BucketEntry(bucketId, cursor.getString(INDEX_BUCKET_NAME)); in updateBucketEntriesFromTable() 112 buckets.put(bucketId, entry); in updateBucketEntriesFromTable() 183 ContentResolver resolver, Uri tableUri, int bucketId) { in getBucketNameInTable() argument 184 String selectionArgs[] = new String[] {String.valueOf(bucketId)}; in getBucketNameInTable() 205 public static String getBucketName(ContentResolver resolver, int bucketId) { in getBucketName() argument 207 String result = getBucketNameInTable(resolver, getFilesContentUri(), bucketId); in getBucketName() 211 resolver, Images.Media.EXTERNAL_CONTENT_URI, bucketId); in getBucketName() 214 resolver, Video.Media.EXTERNAL_CONTENT_URI, bucketId); in getBucketName() [all …]
|
D | LocalSource.java | 95 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()
|
D | LocalMergeAlbum.java | 52 Path path, Comparator<MediaItem> comparator, MediaSet[] sources, int bucketId) { in LocalMergeAlbum() argument 56 mBucketId = bucketId; in LocalMergeAlbum() 95 String bucketId = String.valueOf(mBucketId); in getContentUri() local 98 .appendQueryParameter(LocalSource.KEY_BUCKET_ID, bucketId) in getContentUri() 104 .appendQueryParameter(LocalSource.KEY_BUCKET_ID, bucketId) in getContentUri()
|
D | LocalAlbumSet.java | 94 private static int findBucket(BucketEntry entries[], int bucketId) { in findBucket() argument 96 if (entries[i].bucketId == bucketId) return i; in findBucket() 129 mType, mPath, entry.bucketId, entry.bucketName); in run()
|
D | LocalVideo.java | 112 bucketId = cursor.getInt(INDEX_BUCKET_ID); in loadFromCursor() 148 bucketId = uh.update(bucketId, cursor.getInt(INDEX_BUCKET_ID)); in updateFromCursor()
|
D | LocalMediaItem.java | 46 public int bucketId; field in LocalMediaItem 73 return bucketId; in getBucketId()
|
D | LocalImage.java | 144 bucketId = cursor.getInt(INDEX_BUCKET_ID); in loadFromCursor() 166 bucketId = uh.update(bucketId, cursor.getInt(INDEX_BUCKET_ID)); in updateFromCursor()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 285 String bucketId = param.mBucketId; in makeImageList() local 305 l.add(new ImageList(cr, STORAGE_URI, sort, bucketId)); in makeImageList() 308 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId)); in makeImageList() 314 Images.Media.INTERNAL_CONTENT_URI, sort, bucketId)); in makeImageList() 350 String bucketId = uri.getQueryParameter("bucketId"); in makeImageList() local 352 bucketId); in makeImageList() 401 int inclusion, int sort, String bucketId) { in getImageListParam() argument 406 param.mBucketId = bucketId; in getImageListParam() 423 DataLocation location, int inclusion, int sort, String bucketId) { in makeImageList() argument 425 bucketId); in makeImageList()
|
D | GalleryPicker.java | 556 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/ |
D | VideoList.java | 77 String bucketId) { in VideoList() argument 78 super(resolver, uri, sort, bucketId); in VideoList()
|
D | ImageList.java | 62 int sort, String bucketId) { in ImageList() argument 63 super(resolver, imageUri, sort, bucketId); in ImageList()
|
D | BaseImageList.java | 49 String bucketId) { in BaseImageList() argument 52 mBucketId = bucketId; in BaseImageList()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 320 public static String searchDirForPath(File dir, int bucketId) { in searchDirForPath() argument 326 if (GalleryUtils.getBucketId(path) == bucketId) { in searchDirForPath() 329 path = searchDirForPath(file, bucketId); in searchDirForPath()
|
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
D | GalleryWidgetMigrator.java | 98 int bucketId = Integer.parseInt(path.getSuffix()); in migrateGalleryWidgetsInternal() local 99 localEntries.put(bucketId, entry); in migrateGalleryWidgetsInternal()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetConfigure.java | 173 int bucketId = Integer.parseInt(path.getSuffix()); in setChoosenAlbum() local 176 relativePath = LocalAlbum.getRelativePath(bucketId); in setChoosenAlbum()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 644 private static void assertBucket(ContentValues values, String bucketId, String bucketName) { in assertBucket() argument 645 if (bucketId != null) { in assertBucket() 648 assertEquals(bucketId.toLowerCase().hashCode(), in assertBucket()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | LocalSource.java | 121 public static String constructId(boolean internal, String bucketId) { in constructId() argument 122 return TAG + ":" + bucketId + (internal ? ":i" : ""); in constructId()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 1220 private long getImageForBucketCleared(long bucketId) throws FileNotFoundException { in getImageForBucketCleared() argument 1225 ImagesBucketThumbnailQuery.PROJECTION, ImageColumns.BUCKET_ID + "=" + bucketId, in getImageForBucketCleared() 1293 private long getVideoForBucketCleared(long bucketId) in getVideoForBucketCleared() argument 1299 VideosBucketThumbnailQuery.PROJECTION, VideoColumns.BUCKET_ID + "=" + bucketId, in getVideoForBucketCleared()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | FilterShowActivity.java | 1398 int bucketId = GalleryUtils.getBucketId(saveDir.getPath()); in saveImage() local 1399 String albumName = LocalAlbum.getLocalizedName(getResources(), bucketId, null); in saveImage()
|