/packages/apps/Camera2/src/com/android/camera/data/ |
PhotoDataQuery.java | 26 public static final String QUERY_ORDER = MediaStore.Images.ImageColumns._ID + " DESC"; 27 public static final Uri CONTENT_URI = MediaStore.Images.Media.EXTERNAL_CONTENT_URI; 46 MediaStore.Images.ImageColumns._ID, // 0, int 47 MediaStore.Images.ImageColumns.TITLE, // 1, string 48 MediaStore.Images.ImageColumns.MIME_TYPE, // 2, string 49 MediaStore.Images.ImageColumns.DATE_TAKEN, // 3, int 50 MediaStore.Images.ImageColumns.DATE_MODIFIED, // 4, int 51 MediaStore.Images.ImageColumns.DATA, // 5, string 52 MediaStore.Images.ImageColumns.ORIENTATION, // 6, int, 0, 90, 180, 270 53 MediaStore.Images.ImageColumns.WIDTH, // 7, in [all...] |
DataUtils.java | 31 MediaStore.Images.Media.DATA 38 int columnIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/provider/ |
Images.java | 22 public class Images {
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/provider/ |
Images.java | 22 public class Images {
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/provider/ |
Images.java | 22 public class Images {
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
MediaStoreSaver.java | 30 import android.provider.MediaStore.Images; 33 * Utility class to save images into android image database 60 values.put(Images.Media.TITLE, title); 61 values.put(Images.Media.DISPLAY_NAME, title); 62 values.put(Images.Media.DESCRIPTION, description); 63 values.put(Images.Media.MIME_TYPE, "image/jpeg"); 65 values.put(Images.Media.DATE_ADDED, System.currentTimeMillis()); 66 values.put(Images.Media.DATE_TAKEN, System.currentTimeMillis()); 72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); 84 Bitmap miniThumb = Images.Thumbnails.getThumbnail(cr, id, Images.Thumbnails.MINI_KIND, null) [all...] |
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
MediaStoreSaver.java | 30 import android.provider.MediaStore.Images; 33 * Utility class to save images into android image database 60 values.put(Images.Media.TITLE, title); 61 values.put(Images.Media.DISPLAY_NAME, title); 62 values.put(Images.Media.DESCRIPTION, description); 63 values.put(Images.Media.MIME_TYPE, "image/jpeg"); 65 values.put(Images.Media.DATE_ADDED, System.currentTimeMillis()); 66 values.put(Images.Media.DATE_TAKEN, System.currentTimeMillis()); 72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); 84 Bitmap miniThumb = Images.Thumbnails.getThumbnail(cr, id, Images.Thumbnails.MINI_KIND, null) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
LocalSource.java | 32 * Loads images from the local store. 71 Uri uri = internal ? MediaStore.Images.Media.INTERNAL_CONTENT_URI 72 : MediaStore.Images.Media.EXTERNAL_CONTENT_URI; 73 String[] projection = {MediaStore.Images.Media.DATA, MediaStore.Images.Media.BUCKET_ID, 74 MediaStore.Images.Media.BUCKET_DISPLAY_NAME, MediaStore.Images.Media.DATE_TAKEN}; 80 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); 81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); 82 int nameIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_DISPLAY_NAME) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
MediaStoreTest.java | 7 import static android.provider.MediaStore.Images; 16 assertThat(Images.Media.EXTERNAL_CONTENT_URI.toString(), equalTo("content://media/external/images/media")); 17 assertThat(Images.Media.INTERNAL_CONTENT_URI.toString(), equalTo("content://media/internal/images/media"));
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaStore.java | 15 @Implements(MediaStore.Images.class) 17 @Implements(MediaStore.Images.Media.class) 27 Robolectric.Reflection.setFinalStaticField(MediaStore.Images.Media.class, "EXTERNAL_CONTENT_URI", 28 Uri.parse("content://media/external/images/media")); 30 Robolectric.Reflection.setFinalStaticField(MediaStore.Images.Media.class, "INTERNAL_CONTENT_URI", 31 Uri.parse("content://media/internal/images/media"));
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
PickImageInfo.java | 52 // MediaStore.Images.Media.EXTERNAL_CONTENT_URI requires 57 Cursor cursor = MediaStore.Images.Media.query(context.getContentResolver(), 58 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, 59 new String[] { MediaStore.Images.ImageColumns._ID, 60 MediaStore.Images.ImageColumns.DATE_TAKEN}, 61 null, null, MediaStore.Images.ImageColumns.DATE_TAKEN + " DESC LIMIT 1"); 67 thumb = MediaStore.Images.Thumbnails.getThumbnail(context.getContentResolver(), 68 id, MediaStore.Images.Thumbnails.MINI_KIND, null);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
MediaSaver.java | 123 // really slow for some reason: MediaStore.Images.Media.insertImage(resolver, file.getAbsolutePath(), file.getName(), file.getName()); 137 // We use this instead of MediaStore.Images.Media.insertImage() because we want to add date metadata 141 values.put(MediaStore.Images.Media.TITLE, file.getName()); 142 values.put(MediaStore.Images.Media.DISPLAY_NAME, file.getName()); 143 values.put(MediaStore.Images.Media.DESCRIPTION, file.getName()); 144 values.put(MediaStore.Images.Media.MIME_TYPE, "image/jpeg"); 145 values.put(MediaStore.Images.Media.DATA, file.getAbsolutePath()); 147 values.put(MediaStore.Images.Media.DATE_ADDED, System.currentTimeMillis()); 148 values.put(MediaStore.Images.Media.DATE_TAKEN, System.currentTimeMillis()); 151 cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values) [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
VideoList.java | 22 import android.provider.MediaStore.Images; 84 Cursor c = Images.Media.query( 104 ? Images.Media.BUCKET_ID + " = '" + mBucketId + "'" 114 Cursor c = Images.Media.query(
|
VideoObject.java | 25 import android.provider.MediaStore.Images; 113 id, Images.Thumbnails.MICRO_KIND, null, true);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 37 import android.provider.MediaStore.Images; 40 import android.provider.MediaStore.Images.ImageColumns; 96 : Images.Thumbnails.EXTERNAL_CONTENT_URI; 99 : Images.Thumbnails.IMAGE_ID; 121 values.put(Images.Thumbnails.KIND, Images.Thumbnails.MINI_KIND); 123 values.put(Images.Thumbnails.WIDTH, thumbnail.getWidth()); 124 values.put(Images.Thumbnails.HEIGHT, thumbnail.getHeight()); 183 Images.Thumbnails.MINI_KIND); 228 // both video/images table use the same column name "mini_thumb_magic [all...] |
/device/linaro/hikey/build/tasks/ |
dtimage.mk | 12 # Images will be packed into target_files zip, and hikey-img.zip.
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
ImageLoader.java | 32 * A LruCache used to store images which has a maximum size of 10% of the maximum heap size. 62 return MediaStore.Images.Thumbnails.getThumbnail( 65 MediaStore.Images.Thumbnails.MINI_KIND,
|
PaletteActivity.java | 44 * Activity which displays the images from the device's {@link MediaStore}, alongside the generated 48 * the difference in results for different types of images. 72 MediaStore.Images.ImageColumns._ID, 73 MediaStore.Images.ImageColumns.DATE_ADDED 88 // Enable fast scroll to make it easier to navigate large number of images 140 final Uri uri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI.buildUpon() 153 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, 157 MediaStore.Images.ImageColumns.DATE_ADDED + " DESC"); 202 cursor.getColumnIndexOrThrow(MediaStore.Images.ImageColumns._ID));
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageManager.java | 40 import android.provider.MediaStore.Images; 53 * ImageManager is used to retrieve and store images 59 private static final Uri STORAGE_URI = Images.Media.EXTERNAL_CONTENT_URI; 61 = Images.Thumbnails.EXTERNAL_CONTENT_URI; 230 values.put(Images.Media.TITLE, title); 235 values.put(Images.Media.DISPLAY_NAME, filename); 236 values.put(Images.Media.DATE_TAKEN, dateTaken); 237 values.put(Images.Media.MIME_TYPE, "image/jpeg"); 238 values.put(Images.Media.ORIENTATION, degree[0]); 239 values.put(Images.Media.DATA, filePath) [all...] |
BitmapManager.java | 22 import android.provider.MediaStore.Images; 128 Images.Thumbnails.cancelThumbnailRequest(cr, -1, t.getId()); 156 return Images.Thumbnails.getThumbnail(cr, origId, t.getId(),
|
/frameworks/base/tools/aapt/ |
Android.mk | 36 Images.cpp \
|
/packages/apps/Camera2/src/com/android/camera/session/ |
PlaceholderManager.java | 178 * TODO: Make sure this works with types other than images when needed. 185 MediaStore.Images.Media.DATE_TAKEN, MediaStore.Images.Media.DISPLAY_NAME, 192 int dateIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATE_TAKEN); 193 int nameIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DISPLAY_NAME);
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
GalleryCursorLoader.java | 24 import android.provider.MediaStore.Images.Media;
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PhotosContentJob.java | 48 = MediaStore.Images.Media.EXTERNAL_CONTENT_URI.getPathSegments(); 52 MediaStore.Images.ImageColumns._ID, MediaStore.Images.ImageColumns.DATA 67 // Look for specific changes to images in the provider. 69 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, 151 selection.append(MediaStore.Images.ImageColumns._ID); 163 MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
MediaStoreThumbFetcher.java | 21 * thumbs using {@link android.provider.MediaStore.Images.Thumbnails} and 163 return context.getContentResolver().query(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, new String[] { 164 MediaStore.Images.Thumbnails.DATA 165 }, MediaStore.Images.Thumbnails.IMAGE_ID + " = ? AND " + MediaStore.Images.Thumbnails.KIND + " = ?", 166 new String[] { id, String.valueOf(MediaStore.Images.Thumbnails.MINI_KIND) }, null);
|