/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_ThumbnailsTest.java | 36 import android.provider.MediaStore.Images.Thumbnails; 42 @TestTargetClass(MediaStore.Images.Thumbnails.class) 58 // There is no way to delete rows from table "thumbnails" of internals database. 91 Cursor c = Thumbnails.queryMiniThumbnails(mContentResolver, 92 Thumbnails.INTERNAL_CONTENT_URI, Thumbnails.MICRO_KIND, null); 99 values.put(Thumbnails.KIND, Thumbnails.MINI_KIND); 100 values.put(Thumbnails.DATA, path); 101 Uri uri = mContentResolver.insert(Thumbnails.INTERNAL_CONTENT_URI, values) [all...] |
MediaStore_Images_MediaTest.java | 36 import android.provider.MediaStore.Images.Thumbnails; 365 // check whether the thumbnails are generated 371 assertNotNull(Thumbnails.getThumbnail(mContentResolver, imageId, 372 Thumbnails.MINI_KIND, null)); 373 assertNotNull(Thumbnails.getThumbnail(mContentResolver, imageId, 374 Thumbnails.MICRO_KIND, null)); 375 c = mContentResolver.query(Thumbnails.EXTERNAL_CONTENT_URI, null, 376 Thumbnails.IMAGE_ID + "=" + imageId, null, null);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 45 * it needs to (re)generate the thumbnails. 96 ? Video.Thumbnails.EXTERNAL_CONTENT_URI 97 : Images.Thumbnails.EXTERNAL_CONTENT_URI; 99 ? Video.Thumbnails.VIDEO_ID 100 : Images.Thumbnails.IMAGE_ID; 122 values.put(Images.Thumbnails.KIND, Images.Thumbnails.MINI_KIND); 124 values.put(Images.Thumbnails.WIDTH, thumbnail.getWidth()); 125 values.put(Images.Thumbnails.HEIGHT, thumbnail.getHeight()); 137 * exist yet or have been changed since last check. After thumbnails ar [all...] |
MediaProvider.java | 83 // A HashSet of paths that are pending creation of album art thumbnails. 384 db.execSQL("DROP TABLE IF EXISTS thumbnails"); 430 "DELETE FROM thumbnails WHERE image_id = old._id;" + 435 db.execSQL("CREATE TABLE IF NOT EXISTS thumbnails (" + 444 db.execSQL("CREATE INDEX IF NOT EXISTS image_id_index on thumbnails(image_id);"); 446 db.execSQL("CREATE TRIGGER IF NOT EXISTS thumbnails_cleanup DELETE ON thumbnails " + [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
BitmapManager.java | 128 Images.Thumbnails.cancelThumbnailRequest(cr, -1, t.getId()); 129 Video.Thumbnails.cancelThumbnailRequest(cr, -1, t.getId()); 153 return Video.Thumbnails.getThumbnail(cr, origId, t.getId(), 156 return Images.Thumbnails.getThumbnail(cr, origId, t.getId(),
|
ImageManager.java | 63 = Images.Thumbnails.EXTERNAL_CONTENT_URI;
|
/packages/apps/Camera/src/com/android/camera/ |
BitmapManager.java | 112 return Video.Thumbnails.getThumbnail(cr, origId, t.getId(), 115 return Images.Thumbnails.getThumbnail(cr, origId, t.getId(),
|
VideoCamera.java | [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
VideoObject.java | 68 Video.Thumbnails.MINI_KIND); 113 id, Images.Thumbnails.MICRO_KIND, null, true);
|
BaseImage.java | 173 Images.Thumbnails.MICRO_KIND, null, false);
|
Image.java | 157 Images.Thumbnails.MINI_KIND, options, false);
|
/packages/apps/Camera/src/com/android/camera/gallery/ |
BaseImage.java | 79 Images.Thumbnails.MICRO_KIND, null, false);
|
VideoObject.java | 64 id, Images.Thumbnails.MICRO_KIND, null, true);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MediaItemTexture.java | 157 MediaStore.Video.Thumbnails.cancelThumbnailRequest(mContext.getContentResolver(), mItem.mId); 163 retVal = MediaStore.Video.Thumbnails.getThumbnail(mContext.getContentResolver(), mItem.mId, 164 MediaStore.Video.Thumbnails.MINI_KIND, null);
|
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 243 * This class is used internally by Images.Thumbnails and Video.Thumbnails, it's not intended 283 * @param baseUri the base URI of requested thumbnails 299 * This method ensure thumbnails associated with origId are generated and decode the byte 303 * thumbnails. 309 * @param baseUri the base URI of requested thumbnails 381 .toString().replaceFirst("thumbnails", "media")); 555 values.put(Images.Thumbnails.KIND, kind); 556 values.put(Images.Thumbnails.IMAGE_ID, (int)id); 557 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()) [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 34 import android.provider.MediaStore.Images.Thumbnails; 91 boolean wantMini = (kind == Images.Thumbnails.MINI_KIND); 129 if (kind == Images.Thumbnails.MICRO_KIND) { 163 if (kind == Images.Thumbnails.MICRO_KIND && bitmap != null) {
|
MediaScanner.java | [all...] |
/packages/apps/Gallery3D/src/com/cooliris/cache/ |
CacheService.java | 530 Log.i(TAG, "Preparing DiskCache for all thumbnails."); 558 Log.i(TAG, "DiskCache ready for all thumbnails."); 593 MediaStore.Video.Thumbnails.cancelThumbnailRequest(context.getContentResolver(), origId); 595 MediaStore.Images.Thumbnails.cancelThumbnailRequest(context.getContentResolver(), origId); 603 bitmap = MediaStore.Video.Thumbnails.getThumbnail(context.getContentResolver(), origId, 604 MediaStore.Video.Thumbnails.MINI_KIND, null); 606 bitmap = MediaStore.Images.Thumbnails.getThumbnail(context.getContentResolver(), origId, 607 MediaStore.Images.Thumbnails.MINI_KIND, null); [all...] |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |