/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaDetails.java | 21 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 …]
|
D | Exif.java | 21 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 …]
|
D | LocalImage.java | 37 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/ |
D | MediaDetails.java | 23 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 …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MediaSaverImpl.java | 30 import com.android.camera.exif.ExifInterface; 70 int height, int orientation, ExifInterface exif, OnMediaSavedListener l) { in addImage() argument 71 addImage(data, title, date, loc, width, height, orientation, exif, l, in addImage() 77 int height, int orientation, ExifInterface exif, OnMediaSavedListener l, in addImage() argument 85 width, height, orientation, mimeType, exif, mContentResolver, l); in addImage() 96 ExifInterface exif, OnMediaSavedListener l) { in addImage() argument 99 addImage(data, title, date, loc, 0, 0, orientation, exif, l, in addImage() 104 int orientation, ExifInterface exif, OnMediaSavedListener l) { in addImage() argument 105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l, in addImage() 145 private final ExifInterface exif; field in MediaSaverImpl.ImageSaveTask [all …]
|
D | Exif.java | 20 import com.android.camera.exif.ExifInterface; 28 ExifInterface exif = new ExifInterface(); in getExif() local 30 exif.readExif(jpegData); in getExif() 34 return exif; in getExif() 38 public static int getOrientation(ExifInterface exif) { in getOrientation() argument 39 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getOrientation() 50 ExifInterface exif = getExif(jpegData); in getOrientation() 51 return getOrientation(exif); in getOrientation()
|
D | PhotoModule.java | 50 import com.android.camera.exif.ExifInterface; 51 import com.android.camera.exif.ExifTag; 52 import com.android.camera.exif.Rational; 813 ExifInterface exif; field in PhotoModule.ResizeBundle 823 final ExifInterface exif = dataBundle.exif; in cropJpegDataToAspectRatio() local 847 exif.setTagValue(ExifInterface.TAG_PIXEL_X_DIMENSION, new Integer(newWidth)); in cropJpegDataToAspectRatio() 848 exif.setTagValue(ExifInterface.TAG_PIXEL_Y_DIMENSION, new Integer(newHeight)); in cropJpegDataToAspectRatio() 906 final ExifInterface exif = Exif.getExif(originalJpegData); in onPictureTaken() local 912 dataBundle.exif = exif; in onPictureTaken() 922 saveFinalPhoto(result.jpegData, name, result.exif, camera); in onPictureTaken() [all …]
|
D | Storage.java | 34 import com.android.camera.exif.ExifInterface; 92 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in addImage() argument 95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage() 121 Location location, int orientation, ExifInterface exif, byte[] data, int width, in addImage() argument 125 long fileLength = writeFile(path, data, exif); in addImage() 270 Location location, int orientation, ExifInterface exif, in updateImage() argument 273 writeFile(path, jpeg, exif); in updateImage() 303 public static long writeFile(String path, byte[] jpeg, ExifInterface exif) throws IOException { in writeFile() argument 308 if (exif != null) { in writeFile() 309 exif.writeExif(jpeg, path); in writeFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 35 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/processing/imagebackend/ |
D | TaskCompressImageToJpeg.java | 28 import com.android.camera.exif.ExifInterface; 96 public Map<Integer, Integer> exifGetMinimalTags(ExifInterface exif) { in exifGetMinimalTags() argument 99 ExifInterface.getRotationForOrientationValue((short) Exif.getOrientation(exif))); in exifGetMinimalTags() 100 map.put(ExifInterface.TAG_PIXEL_X_DIMENSION, exif.getTagIntValue( in exifGetMinimalTags() 102 map.put(ExifInterface.TAG_PIXEL_Y_DIMENSION, exif.getTagIntValue( in exifGetMinimalTags() 341 final ExifInterface exif = createExif(Optional.fromNullable(exifData), resultImage, in run() local 343 mSession.getCollector().decorateAtTimeWriteToDisk(exif); in run() 345 resultImage.width, resultImage.height, resultImage.orientation.getDegrees(), exif); in run() 400 ExifInterface exif; in createExif() local 402 exif = exifData.get(); in createExif() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 51 import com.android.camera.exif.ExifInterface; 52 import com.android.camera.exif.ExifTag; 53 import com.android.camera.exif.Rational; 472 ExifInterface exif = null; in saveJpegPicture() local 474 exif = new ExifInterface(); in saveJpegPicture() 475 exif.readExif(jpegData); in saveJpegPicture() 477 Integer w = exif.getTagIntValue(ExifInterface.TAG_PIXEL_X_DIMENSION); in saveJpegPicture() 479 Integer h = exif.getTagIntValue(ExifInterface.TAG_PIXEL_Y_DIMENSION); in saveJpegPicture() 483 rotation = Exif.getOrientation(exif); in saveJpegPicture() 487 ExifTag directionRefTag = exif.buildTag( in saveJpegPicture() [all …]
|
D | OneCameraZslImpl.java | 48 import com.android.camera.exif.ExifInterface; 49 import com.android.camera.exif.ExifTag; 50 import com.android.camera.exif.Rational; 615 ExifInterface exif = new ExifInterface(); in savePicture() local 621 exif.setTag(exif.buildTag(ExifInterface.TAG_PIXEL_X_DIMENSION, size.getWidth())); in savePicture() 622 exif.setTag(exif.buildTag(ExifInterface.TAG_PIXEL_Y_DIMENSION, size.getHeight())); in savePicture() 624 exif.setTag( in savePicture() 625 exif.buildTag(ExifInterface.TAG_ORIENTATION, ExifInterface.Orientation.TOP_LEFT)); in savePicture() 629 ExifTag directionRefTag = exif.buildTag(ExifInterface.TAG_GPS_IMG_DIRECTION_REF, in savePicture() 632 exif.buildTag(ExifInterface.TAG_GPS_IMG_DIRECTION, new Rational(heading, 1)); in savePicture() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MenuHelper.java | 175 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 …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | ImageLoader.java | 39 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/src/com/android/camera/session/ |
D | CaptureSessionImpl.java | 28 import com.android.camera.exif.ExifInterface; 298 int height, int orientation, ExifInterface exif) { in saveAndFinish() argument 310 orientation, exif, new MediaSaver.OnMediaSavedListener() { in saveAndFinish() 323 orientation, exif, data, width, height, FilmstripItemData.MIME_TYPE_JPEG); in saveAndFinish() 376 ExifInterface exif = null; in finish() 378 exif = new ExifInterface(); in finish() 379 exif.readExif(jpegData); in finish() 382 exif = null; in finish() 384 CaptureSessionImpl.this.saveAndFinish(jpegData, width, height, rotation, exif); in finish()
|
D | PlaceholderManager.java | 30 import com.android.camera.exif.ExifInterface; 136 … ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) throws IOException { in finishPlaceholder() argument 138 placeholder.outputTitle, placeholder.time, location, orientation, exif, jpeg, width, in finishPlaceholder()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | MediaSaver.java | 23 import com.android.camera.exif.ExifInterface; 87 int orientation, ExifInterface exif, OnMediaSavedListener l); in addImage() argument 109 int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType); in addImage() argument 127 ExifInterface exif, OnMediaSavedListener l); in addImage() argument 147 ExifInterface exif, OnMediaSavedListener l); in addImage() argument
|
/packages/apps/Camera2/ |
D | proguard.flags | 38 # - Required for running exif tests on userdebug 39 -keep class com.android.gallery3d.exif.ExifTag { *; } 40 -keep class com.android.gallery3d.exif.ExifData { *; } 41 -keep class com.android.gallery3d.exif.ExifInterface { *; } 42 -keepclassmembers class com.android.gallery3d.exif.Util {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | InfoPanel.java | 34 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/ |
D | proguard.flags | 59 # - Required for running exif tests on userdebug 60 -keep class com.android.gallery3d.exif.ExifTag { *; } 61 -keep class com.android.gallery3d.exif.ExifData { *; } 62 -keep class com.android.gallery3d.exif.ExifInterface { *; } 63 -keepclassmembers class com.android.gallery3d.exif.Util {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | FileImageRequest.java | 52 final ExifInterface exif = new ExifInterface(mPath); in loadBitmapInternal() local 53 if (exif.hasThumbnail()) { in loadBitmapInternal() 54 thumbnail = exif.getThumbnail(); in loadBitmapInternal() 80 if (com.android.messaging.util.exif.ExifInterface. in loadBitmapInternal()
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | DataUriThumbnailDrawable.java | 33 ExifInterface exif = new ExifInterface(data); in getPreferredImageBytes() local 34 if (exif.hasThumbnail()) { in getPreferredImageBytes() 35 thumbnail = exif.getThumbnail(); in getPreferredImageBytes()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ExifUtil.java | 23 import com.android.camera.exif.ExifInterface; 24 import com.android.camera.exif.Rational; 46 public ExifUtil(ExifInterface exif) { in ExifUtil() argument 47 mExif = exif; in ExifUtil()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ReadableArchive.java | 264 final ExifInterface exif = new ExifInterface(inputStream); in openDocumentThumbnail() local 265 if (exif.hasThumbnail()) { in openDocumentThumbnail() 267 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openDocumentThumbnail() 281 final long[] range = exif.getThumbnailRange(); in openDocumentThumbnail()
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 48 import com.android.camera.exif.ExifInterface; 374 ExifInterface exif = new ExifInterface(); in addExif() local 375 exif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, System.currentTimeMillis(), in addExif() 379 exif.writeExif(jpeg, jpegOut); in addExif()
|