Home
last modified time | relevance | path

Searched refs:ImageColumns (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/data/
DPhotoDataQuery.java26 public static final String QUERY_ORDER = MediaStore.Images.ImageColumns._ID + " DESC";
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, int
54 MediaStore.Images.ImageColumns.HEIGHT, // 8, int
[all …]
DPhotoItem.java94 MediaStore.Images.ImageColumns._ID + "=" + mData.getContentId(), null); in delete()
/packages/apps/LegacyCamera/src/com/android/camera/
DStorage.java26 import android.provider.MediaStore.Images.ImageColumns;
72 values.put(ImageColumns.TITLE, title); in addImage()
73 values.put(ImageColumns.DISPLAY_NAME, title + ".jpg"); in addImage()
74 values.put(ImageColumns.DATE_TAKEN, date); in addImage()
75 values.put(ImageColumns.MIME_TYPE, "image/jpeg"); in addImage()
76 values.put(ImageColumns.ORIENTATION, orientation); in addImage()
77 values.put(ImageColumns.DATA, path); in addImage()
78 values.put(ImageColumns.SIZE, jpeg.length); in addImage()
79 values.put(ImageColumns.WIDTH, width); in addImage()
80 values.put(ImageColumns.HEIGHT, height); in addImage()
[all …]
DThumbnail.java28 import android.provider.MediaStore.Images.ImageColumns;
199 String[] projection = new String[] {ImageColumns._ID, ImageColumns.ORIENTATION, in getLastImageThumbnail()
200 ImageColumns.DATE_TAKEN}; in getLastImageThumbnail()
201 String selection = ImageColumns.MIME_TYPE + "='image/jpeg' AND " + in getLastImageThumbnail()
202 ImageColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; in getLastImageThumbnail()
203 String order = ImageColumns.DATE_TAKEN + " DESC," + ImageColumns._ID + " DESC"; in getLastImageThumbnail()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java28 import android.provider.MediaStore.Images.ImageColumns;
58 ImageColumns.DISPLAY_NAME,
59 ImageColumns.SIZE,
60 ImageColumns.MIME_TYPE,
61 ImageColumns.DATE_TAKEN,
62 ImageColumns.LATITUDE,
63 ImageColumns.LONGITUDE,
64 ImageColumns.ORIENTATION};
149 } else if (ImageColumns.DISPLAY_NAME.equals(column)) { in queryPicasaItem()
151 } else if (ImageColumns.SIZE.equals(column)){ in queryPicasaItem()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalImage.java29 import android.provider.MediaStore.Images.ImageColumns;
73 ImageColumns._ID, // 0
74 ImageColumns.TITLE, // 1
75 ImageColumns.MIME_TYPE, // 2
76 ImageColumns.LATITUDE, // 3
77 ImageColumns.LONGITUDE, // 4
78 ImageColumns.DATE_TAKEN, // 5
79 ImageColumns.DATE_ADDED, // 6
80 ImageColumns.DATE_MODIFIED, // 7
81 ImageColumns.DATA, // 8
[all …]
DBucketHelper.java10 import android.provider.MediaStore.Images.ImageColumns;
46 ImageColumns.BUCKET_ID,
48 ImageColumns.BUCKET_DISPLAY_NAME};
66 ImageColumns.BUCKET_ID,
68 ImageColumns.BUCKET_DISPLAY_NAME};
DLocalAlbum.java26 import android.provider.MediaStore.Images.ImageColumns;
71 mWhereClause = ImageColumns.BUCKET_ID + " = ?"; in LocalAlbum()
72 mOrderClause = ImageColumns.DATE_TAKEN + " DESC, " in LocalAlbum()
73 + ImageColumns._ID + " DESC"; in LocalAlbum()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java28 import android.provider.MediaStore.Images.ImageColumns;
180 values.put(ImageColumns.TITLE, title); in getContentValuesForData()
181 values.put(ImageColumns.DISPLAY_NAME, title + JPEG_POSTFIX); in getContentValuesForData()
182 values.put(ImageColumns.DATE_TAKEN, date); in getContentValuesForData()
183 values.put(ImageColumns.MIME_TYPE, mimeType); in getContentValuesForData()
184 values.put(ImageColumns.DATE_MODIFIED, dateModifiedSeconds); in getContentValuesForData()
186 values.put(ImageColumns.ORIENTATION, orientation); in getContentValuesForData()
187 values.put(ImageColumns.DATA, path); in getContentValuesForData()
188 values.put(ImageColumns.SIZE, jpegLength); in getContentValuesForData()
193 values.put(ImageColumns.LATITUDE, location.getLatitude()); in getContentValuesForData()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java58 import android.provider.MediaStore.Images.ImageColumns;
161 IMAGE_COLUMN_MAP.put(ImageColumns.WIDTH, ExifInterface.TAG_IMAGE_WIDTH); in IMAGE_COLUMN_MAP.put()
162 IMAGE_COLUMN_MAP.put(ImageColumns.HEIGHT, ExifInterface.TAG_IMAGE_LENGTH); in IMAGE_COLUMN_MAP.put()
163 IMAGE_COLUMN_MAP.put(ImageColumns.DATE_TAKEN, ExifInterface.TAG_DATETIME); in IMAGE_COLUMN_MAP.put()
594 ImagesBucketQuery.PROJECTION, ImageColumns.BUCKET_ID + "=?", in queryDocument()
720 ImageQuery.PROJECTION, ImageColumns.BUCKET_ID + "=?", in queryChildDocuments()
838 ImageQuery.PROJECTION, null, null, ImageColumns.DATE_MODIFIED + " DESC"); in queryRecentDocuments()
901 fileSizeOver, ImageColumns.DISPLAY_NAME, ImageColumns.MIME_TYPE, in querySearchDocuments()
902 ImageColumns.DATE_MODIFIED, ImageColumns.SIZE); in querySearchDocuments()
907 ImageColumns.DATE_MODIFIED + " DESC"); in querySearchDocuments()
[all …]
DMediaProvider.java143 import android.provider.MediaStore.Images.ImageColumns;
3303 if (initialValues.containsKey(ImageColumns.LATITUDE)) { in insertInternal()
3304 initialValues.putNull(ImageColumns.LATITUDE); in insertInternal()
3306 if (initialValues.containsKey(ImageColumns.LONGITUDE)) { in insertInternal()
3307 initialValues.putNull(ImageColumns.LONGITUDE); in insertInternal()
5124 if (initialValues.containsKey(ImageColumns.LATITUDE)) {
5125 initialValues.putNull(ImageColumns.LATITUDE);
5127 if (initialValues.containsKey(ImageColumns.LONGITUDE)) {
5128 initialValues.putNull(ImageColumns.LONGITUDE);
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DImageCategory.java74 MediaStore.Images.ImageColumns._ID, in getThumbnail()
75 MediaStore.Images.ImageColumns.DATE_TAKEN, in getThumbnail()
77 String sortOrder = MediaStore.Images.ImageColumns.DATE_TAKEN + " DESC"; in getThumbnail()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DPickImageInfo.java59 new String[] { MediaStore.Images.ImageColumns._ID, in getThumbnailOfLastPhoto()
60 MediaStore.Images.ImageColumns.DATE_TAKEN}, in getThumbnailOfLastPhoto()
61 null, null, MediaStore.Images.ImageColumns.DATE_TAKEN + " DESC LIMIT 1"); in getThumbnailOfLastPhoto()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java29 import android.provider.MediaStore.Images.ImageColumns;
178 String[] queryProjection = new String[] { ImageColumns.DATA }; in deleteAuxFiles()
614 ImageColumns.DATA in getLocalFileFromUri()
639 ImageColumns.DATA in getTrueFilename()
714 ImageColumns.DATE_TAKEN, in getContentValues()
715 ImageColumns.LATITUDE, ImageColumns.LONGITUDE, in getContentValues()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DMyPhotosViewHolder.java76 MediaStore.Images.ImageColumns._ID, in fetchThumbnail()
77 MediaStore.Images.ImageColumns.DATE_TAKEN, in fetchThumbnail()
79 String sortOrder = MediaStore.Images.ImageColumns.DATE_TAKEN + " DESC LIMIT 1"; in fetchThumbnail()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java50 import android.provider.MediaStore.Images.ImageColumns;
1015 values.getAsString(ImageColumns.BUCKET_DISPLAY_NAME)); in assertBucket()
1017 (long) values.getAsLong(ImageColumns.BUCKET_ID)); in assertBucket()
1019 assertNull(values.get(ImageColumns.BUCKET_DISPLAY_NAME)); in assertBucket()
1020 assertNull(values.get(ImageColumns.BUCKET_ID)); in assertBucket()
1025 assertEquals(volumeName, values.getAsString(ImageColumns.VOLUME_NAME)); in assertVolume()
1029 assertEquals(relativePath, values.get(ImageColumns.RELATIVE_PATH)); in assertRelativePath()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImage.java30 import android.provider.MediaStore.Images.ImageColumns;
63 values.put(ImageColumns.ORIENTATION, mRotation); in setDegreesRotated()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java77 import android.provider.MediaStore.Images.ImageColumns;
1089 op.withValue(ImageColumns.DESCRIPTION, null); in scanItemImage()
1106 withOptionalValue(op, ImageColumns.DESCRIPTION, in scanItemImage()
1108 withOptionalValue(op, ImageColumns.EXPOSURE_TIME, in scanItemImage()
1110 withOptionalValue(op, ImageColumns.F_NUMBER, in scanItemImage()
1112 withOptionalValue(op, ImageColumns.ISO, in scanItemImage()
1114 withOptionalValue(op, ImageColumns.SCENE_CAPTURE_TYPE, in scanItemImage()
/packages/providers/MediaProvider/apex/framework/api/
Dremoved.txt19 …public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaCo…
Dcurrent.txt250 …public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaCo…
263 …ic final class MediaStore.Images.Media implements android.provider.MediaStore.Images.ImageColumns {
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java1883 public interface ImageColumns extends MediaColumns { interface in MediaStore.Images
1983 public static final class Media implements ImageColumns {
2153 public static final String DEFAULT_SORT_ORDER = ImageColumns.BUCKET_DISPLAY_NAME;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java108 new String[] { MediaStore.Images.ImageColumns.ORIENTATION }, in getMetadataOrientation()