Home
last modified time | relevance | path

Searched refs:exif (Results 1 – 25 of 91) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaDetails.java21 import com.android.gallery3d.exif.ExifInterface;
22 import com.android.gallery3d.exif.ExifTag;
23 import com.android.gallery3d.exif.Rational;
136 ExifInterface exif = new ExifInterface(); in extractExifInfo() local
138 exif.readExif(filePath); in extractExifInfo()
145 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), in extractExifInfo()
147 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), in extractExifInfo()
149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), in extractExifInfo()
151 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), in extractExifInfo()
153 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), in extractExifInfo()
[all …]
DExif.java21 import com.android.gallery3d.exif.ExifInterface;
36 ExifInterface exif = new ExifInterface(); in getOrientation() local
38 exif.readExif(is); in getOrientation()
39 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getOrientation()
57 ExifInterface exif = new ExifInterface(); in getExif() local
59 exif.readExif(jpegData); in getExif()
63 return exif; in getExif()
69 public static int getOrientation(ExifInterface exif) { in getOrientation() argument
70 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getOrientation()
85 ExifInterface exif = getExif(jpegData); in getOrientation()
[all …]
DLocalImage.java37 import com.android.gallery3d.exif.ExifInterface;
38 import com.android.gallery3d.exif.ExifTag;
197 ExifInterface exif = new ExifInterface(); in onDecodeOriginal() local
200 exif.readExif(mLocalFilePath); in onDecodeOriginal()
201 thumbData = exif.getThumbnail(); in onDecodeOriginal()
/packages/apps/Camera2/src/com/android/camera/data/
DMediaDetails.java23 import com.android.camera.exif.ExifInterface;
24 import com.android.camera.exif.ExifTag;
138 ExifInterface exif = new ExifInterface(); in extractExifInfo() local
140 exif.readExif(filePath); in extractExifInfo()
147 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), in extractExifInfo()
149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), in extractExifInfo()
151 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), in extractExifInfo()
153 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), in extractExifInfo()
155 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), in extractExifInfo()
157 setExifData(details, exif.getTag(ExifInterface.TAG_APERTURE_VALUE), in extractExifInfo()
[all …]
DRotationTask.java27 import com.android.camera.exif.ExifInterface;
28 import com.android.camera.exif.ExifTag;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java35 import com.android.gallery3d.exif.ExifInterface;
245 ExifInterface exif = new ExifInterface(); in getExifData() local
254 exif.readExif(inStream); in getExifData()
263 return exif; in getExifData()
266 public boolean putExifData(File file, ExifInterface exif, Bitmap image, in putExifData() argument
271 s = exif.getExifWriterStream(file.getAbsolutePath()); in putExifData()
318 private void updateExifData(ExifInterface exif, long time) { in updateExifData() argument
320 exif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, time, in updateExifData()
322 exif.setTag(exif.buildTag(ExifInterface.TAG_ORIENTATION, in updateExifData()
325 exif.removeCompressedThumbnail(); in updateExifData()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DMediaSaveService.java32 import com.android.camera.exif.ExifInterface;
89 int width, int height, int orientation, ExifInterface exif, in addImage() argument
97 width, height, orientation, exif, resolver, l); in addImage()
107 int orientation, ExifInterface exif, in addImage() argument
111 addImage(data, title, date, loc, 0, 0, orientation, exif, l, resolver); in addImage()
114 int width, int height, int orientation, ExifInterface exif, in addImage() argument
117 orientation, exif, l, resolver); in addImage()
148 private ExifInterface exif; field in MediaSaveService.ImageSaveTask
153 int width, int height, int orientation, ExifInterface exif, in ImageSaveTask() argument
162 this.exif = exif; in ImageSaveTask()
[all …]
DExif.java21 import com.android.camera.exif.ExifInterface;
29 ExifInterface exif = new ExifInterface(); in getExif() local
31 exif.readExif(jpegData); in getExif()
35 return exif; in getExif()
39 public static int getOrientation(ExifInterface exif) { in getOrientation() argument
40 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getOrientation()
51 ExifInterface exif = getExif(jpegData); in getOrientation()
52 return getOrientation(exif); in getOrientation()
DStorage.java36 import com.android.camera.exif.ExifInterface;
66 public static void writeFile(String path, byte[] jpeg, ExifInterface exif) { in writeFile() argument
67 if (exif != null) { in writeFile()
69 exif.writeExif(jpeg, path); in writeFile()
96 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in addImage() argument
99 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage()
105 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in addImage() argument
109 writeFile(path, jpeg, exif); in addImage()
153 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in updateImage() argument
156 writeFile(path, jpeg, exif); in updateImage()
DWideAnglePanoramaModule.java50 import com.android.camera.exif.ExifInterface;
752 ExifInterface exif = new ExifInterface(); in savePanorama() local
754 exif.readExif(jpegData); in savePanorama()
755 exif.addGpsDateTimeStampTag(mTimeTaken); in savePanorama()
756 exif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, mTimeTaken, in savePanorama()
758 exif.setTag(exif.buildTag(ExifInterface.TAG_ORIENTATION, in savePanorama()
760 writeLocation(loc, exif); in savePanorama()
761 exif.writeExif(jpegData, filepath); in savePanorama()
773 private static void writeLocation(Location location, ExifInterface exif) { in writeLocation() argument
777 exif.addGpsTags(location.getLatitude(), location.getLongitude()); in writeLocation()
[all …]
DPhotoModule.java60 import com.android.camera.exif.ExifInterface;
61 import com.android.camera.exif.ExifTag;
62 import com.android.camera.exif.Rational;
721 ExifInterface exif = Exif.getExif(jpegData); in onPictureTaken() local
722 int orientation = Exif.getOrientation(exif); in onPictureTaken()
756 ExifTag directionRefTag = exif.buildTag( in onPictureTaken()
759 ExifTag directionTag = exif.buildTag( in onPictureTaken()
762 exif.setTag(directionRefTag); in onPictureTaken()
763 exif.setTag(directionTag); in onPictureTaken()
767 orientation, exif, mOnMediaSavedListener, mContentResolver); in onPictureTaken()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java175 ExifInterface exif = getExif(image); in hasLatLngData() local
176 if (exif == null) return false; in hasLatLngData()
178 return exif.getLatLong(latlng); in hasLatLngData()
220 ExifInterface exif) { in setLatLngDetails() argument
222 if (exif.getLatLong(latlng)) { in setLatLngDetails()
270 ExifInterface exif = getExif(image); in onShowMapClicked()
272 if (exif != null) { in onShowMapClicked()
274 if (exif.getLatLong(latlng)) { in onShowMapClicked()
316 ExifInterface exif = getExif(image); in showExifInformation() local
317 if (exif == null) { in showExifInformation()
[all …]
DImageManager.java251 ExifInterface exif = null; in getExifOrientation() local
253 exif = new ExifInterface(filepath); in getExifOrientation()
257 if (exif != null) { in getExifOrientation()
258 int orientation = exif.getAttributeInt( in getExifOrientation()
/packages/apps/Camera2/src/com/android/camera/crop/
DSaveImage.java31 import com.android.camera.exif.ExifInterface;
208 ExifInterface exif = new ExifInterface(); in getExifData() local
217 exif.readExif(inStream); in getExifData()
226 return exif; in getExifData()
229 public boolean putExifData(File file, ExifInterface exif, Bitmap image, in putExifData() argument
234 s = exif.getExifWriterStream(file.getAbsolutePath()); in putExifData()
261 private void updateExifData(ExifInterface exif, long time) { in updateExifData() argument
263 exif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, time, in updateExifData()
265 exif.setTag(exif.buildTag(ExifInterface.TAG_ORIENTATION, in updateExifData()
268 exif.removeCompressedThumbnail(); in updateExifData()
DImageLoader.java33 import com.android.camera.exif.ExifInterface;
34 import com.android.camera.exif.ExifTag;
130 ExifInterface exif = new ExifInterface(); in getMetadataOrientation() local
132 exif.readExif(path); in getMetadataOrientation()
133 Integer tagval = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getMetadataOrientation()
422 ExifInterface exif = new ExifInterface(); in getExif() local
423 exif.readExif(path); in getExif()
424 List<ExifTag> taglist = exif.getAllTags(); in getExif()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java39 import com.android.gallery3d.exif.ExifInterface;
40 import com.android.gallery3d.exif.ExifTag;
132 ExifInterface exif = new ExifInterface(); in getMetadataOrientation() local
142 exif.readExif(path); in getMetadataOrientation()
145 exif.readExif(is); in getMetadataOrientation()
147 return parseExif(exif); in getMetadataOrientation()
162 private static int parseExif(ExifInterface exif){ in parseExif() argument
163 Integer tagval = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in parseExif()
573 ExifInterface exif = new ExifInterface(); in getExif() local
574 exif.readExif(path); in getExif()
[all …]
/packages/apps/Camera2/
Dproguard.flags37 # - Required for running exif tests on userdebug
38 -keep class com.android.gallery3d.exif.ExifTag { *; }
39 -keep class com.android.gallery3d.exif.ExifData { *; }
40 -keep class com.android.gallery3d.exif.ExifInterface { *; }
41 -keepclassmembers class com.android.gallery3d.exif.Util {
/packages/apps/Gallery2/
Dproguard.flags61 # - Required for running exif tests on userdebug
62 -keep class com.android.gallery3d.exif.ExifTag { *; }
63 -keep class com.android.gallery3d.exif.ExifData { *; }
64 -keep class com.android.gallery3d.exif.ExifInterface { *; }
65 -keepclassmembers class com.android.gallery3d.exif.Util {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DInfoPanel.java34 import com.android.gallery3d.exif.ExifInterface;
35 import com.android.gallery3d.exif.ExifTag;
97 List<ExifTag> exif = MasterImage.getImage().getEXIF(); in onCreateView() local
100 if (exif != null) { in onCreateView()
101 for (ExifTag tag : exif) { in onCreateView()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DDataUriThumbnailDrawable.java33 ExifInterface exif = new ExifInterface(data); in getPreferredImageBytes() local
34 if (exif.hasThumbnail()) { in getPreferredImageBytes()
35 thumbnail = exif.getThumbnail(); in getPreferredImageBytes()
/packages/apps/Camera/src/com/android/camera/
DExif.java21 import com.android.gallery3d.exif.ExifInvalidFormatException;
22 import com.android.gallery3d.exif.ExifParser;
23 import com.android.gallery3d.exif.ExifTag;
DPanoramaModule.java62 import com.android.gallery3d.exif.ExifData;
63 import com.android.gallery3d.exif.ExifInvalidFormatException;
64 import com.android.gallery3d.exif.ExifOutputStream;
65 import com.android.gallery3d.exif.ExifReader;
66 import com.android.gallery3d.exif.ExifTag;
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java47 import com.android.camera.exif.ExifInterface;
376 ExifInterface exif = new ExifInterface(); in addExif() local
377 exif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, System.currentTimeMillis(), in addExif()
381 exif.writeExif(jpeg, jpegOut); in addExif()
/packages/apps/Camera2/src/com/android/camera/app/
DPlaceholderManager.java26 import com.android.camera.exif.ExifInterface;
168 ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) {
171 session.time, location, orientation, exif, jpeg, width, height, mimeType);
/packages/apps/Mms/src/com/android/mms/ui/
DUriImage.java39 import com.android.mms.exif.ExifInterface;
507 ExifInterface exif = new ExifInterface(); in getOrientation() local
509 exif.readExif(inputStream); in getOrientation()
510 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getOrientation()

1234