/frameworks/base/core/java/android/provider/ |
D | MetadataReader.java | 20 import android.media.ExifInterface; 42 ExifInterface.TAG_APERTURE, 43 ExifInterface.TAG_COPYRIGHT, 44 ExifInterface.TAG_DATETIME, 45 ExifInterface.TAG_EXPOSURE_TIME, 46 ExifInterface.TAG_FOCAL_LENGTH, 47 ExifInterface.TAG_F_NUMBER, 48 ExifInterface.TAG_GPS_LATITUDE, 49 ExifInterface.TAG_GPS_LATITUDE_REF, 50 ExifInterface.TAG_GPS_LONGITUDE, [all …]
|
D | DocumentsContract.java | 38 import android.media.ExifInterface; 1737 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); in openImageThumbnail() 1743 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openImageThumbnail() 1744 case ExifInterface.ORIENTATION_ROTATE_90: in openImageThumbnail() 1748 case ExifInterface.ORIENTATION_ROTATE_180: in openImageThumbnail() 1752 case ExifInterface.ORIENTATION_ROTATE_270: in openImageThumbnail()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 24 import android.media.ExifInterface; 48 private static final String TAG = ExifInterface.class.getSimpleName(); 65 ExifInterface.TAG_MAKE, 66 ExifInterface.TAG_MODEL, 67 ExifInterface.TAG_F_NUMBER, 68 ExifInterface.TAG_DATETIME, 69 ExifInterface.TAG_EXPOSURE_TIME, 70 ExifInterface.TAG_FLASH, 71 ExifInterface.TAG_FOCAL_LENGTH, 72 ExifInterface.TAG_GPS_ALTITUDE, [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifOutputStream.java | 83 private final ExifInterface mInterface; 85 protected ExifOutputStream(OutputStream ou, ExifInterface iRef) { in ExifOutputStream() 246 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) { in stripNullValueTags() 328 ExifTag exifOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_EXIF_IFD); in createRequiredIfdAndTag() 331 + ExifInterface.TAG_EXIF_IFD); in createRequiredIfdAndTag() 345 ExifTag gpsOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_GPS_IFD); in createRequiredIfdAndTag() 348 + ExifInterface.TAG_GPS_IFD); in createRequiredIfdAndTag() 357 .buildUninitializedTag(ExifInterface.TAG_INTEROPERABILITY_IFD); in createRequiredIfdAndTag() 360 + ExifInterface.TAG_INTEROPERABILITY_IFD); in createRequiredIfdAndTag() 376 .buildUninitializedTag(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT); in createRequiredIfdAndTag() [all …]
|
D | ExifInterface.java | 64 public class ExifInterface { class 713 public ExifInterface() { in ExifInterface() method in ExifInterface 1505 if (!ExifInterface.isIfdAllowed(info, ifdId)) { in buildTag() 1990 latitude >= 0 ? ExifInterface.GpsLatitudeRef.NORTH in addGpsTags() 1991 : ExifInterface.GpsLatitudeRef.SOUTH); in addGpsTags() 1993 longitude >= 0 ? ExifInterface.GpsLongitudeRef.EAST in addGpsTags() 1994 : ExifInterface.GpsLongitudeRef.WEST); in addGpsTags() 2084 mTagInfo.put(ExifInterface.TAG_MAKE, in initTagInfo() 2086 mTagInfo.put(ExifInterface.TAG_IMAGE_WIDTH, in initTagInfo() 2088 mTagInfo.put(ExifInterface.TAG_IMAGE_LENGTH, in initTagInfo() [all …]
|
D | ExifParser.java | 163 private final ExifInterface mInterface; 165 private static final short TAG_EXIF_IFD = ExifInterface 166 .getTrueTagKey(ExifInterface.TAG_EXIF_IFD); 167 private static final short TAG_GPS_IFD = ExifInterface.getTrueTagKey(ExifInterface.TAG_GPS_IFD); 168 private static final short TAG_INTEROPERABILITY_IFD = ExifInterface 169 .getTrueTagKey(ExifInterface.TAG_INTEROPERABILITY_IFD); 170 private static final short TAG_JPEG_INTERCHANGE_FORMAT = ExifInterface 171 .getTrueTagKey(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT); 172 private static final short TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = ExifInterface 173 .getTrueTagKey(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH); [all …]
|
D | ExifModifier.java | 34 private final ExifInterface mInterface; 47 protected ExifModifier(ByteBuffer byteBuffer, ExifInterface iRef) throws IOException, in ExifModifier() 61 ExifInterface.closeSilently(is); in ExifModifier() 135 ExifInterface.closeSilently(is); in commit()
|
D | ExifReader.java | 31 private final ExifInterface mInterface; 33 ExifReader(ExifInterface iRef) { in ExifReader()
|
D | IfdData.java | 139 if (ExifInterface.isOffsetTag(tag.getTagId())) { in equals()
|
D | ExifData.java | 221 ExifTag tag = ifdData.getTag(ExifInterface.getTrueTagKey(ExifInterface.TAG_USER_COMMENT)); in getUserComment()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ImageExporterTest.java | 46 import androidx.exifinterface.media.ExifInterface; 112 ExifInterface exifInterface = new ExifInterface(new ByteArrayInputStream(EXIF_FILE_TAG), in testUpdateExifAttributes_timeZoneUTC() 113 ExifInterface.STREAM_TYPE_EXIF_DATA_ONLY); in testUpdateExifAttributes_timeZoneUTC() 118 assertEquals("Exif " + ExifInterface.TAG_IMAGE_UNIQUE_ID, in testUpdateExifAttributes_timeZoneUTC() 120 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testUpdateExifAttributes_timeZoneUTC() 121 assertEquals("Exif " + ExifInterface.TAG_OFFSET_TIME_ORIGINAL, "+00:00", in testUpdateExifAttributes_timeZoneUTC() 122 exifInterface.getAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL)); in testUpdateExifAttributes_timeZoneUTC() 157 ExifInterface exifInterface = new ExifInterface(pfd.getFileDescriptor()); in testImageExport() 159 assertEquals("Exif " + ExifInterface.TAG_IMAGE_UNIQUE_ID, in testImageExport() 161 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testImageExport() [all …]
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 21 import android.media.ExifInterface; 67 assertEquals("3036", String.valueOf(exif.getInt(ExifInterface.TAG_IMAGE_WIDTH))); in testGetMetadata() 68 assertEquals("4048", String.valueOf(exif.getInt(ExifInterface.TAG_IMAGE_LENGTH))); in testGetMetadata() 69 assertEquals("2017:07:26 21:06:25", exif.getString(ExifInterface.TAG_DATETIME)); in testGetMetadata() 70 assertEquals("33/1,59/1,4530/100", exif.getString(ExifInterface.TAG_GPS_LATITUDE)); in testGetMetadata() 71 assertEquals("N", exif.getString(ExifInterface.TAG_GPS_LATITUDE_REF)); in testGetMetadata() 72 assertEquals("118/1,28/1,3124/100", exif.getString(ExifInterface.TAG_GPS_LONGITUDE)); in testGetMetadata() 73 assertEquals("W", exif.getString(ExifInterface.TAG_GPS_LONGITUDE_REF)); in testGetMetadata() 74 assertEquals("Google", exif.getString(ExifInterface.TAG_MAKE)); in testGetMetadata() 75 assertEquals("Pixel", exif.getString(ExifInterface.TAG_MODEL)); in testGetMetadata() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageExporter.java | 41 import androidx.exifinterface.media.ExifInterface; 445 ExifInterface exif; 447 exif = new ExifInterface(pfd.getFileDescriptor()); 510 static void updateExifAttributes(ExifInterface exif, UUID uniqueId, int width, int height, 512 exif.setAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID, uniqueId.toString()); 514 exif.setAttribute(ExifInterface.TAG_SOFTWARE, "Android " + Build.DISPLAY); 515 exif.setAttribute(ExifInterface.TAG_IMAGE_WIDTH, Integer.toString(width)); 516 exif.setAttribute(ExifInterface.TAG_IMAGE_LENGTH, Integer.toString(height)); 522 exif.setAttribute(ExifInterface.TAG_DATETIME_ORIGINAL, dateTime); 523 exif.setAttribute(ExifInterface.TAG_SUBSEC_TIME_ORIGINAL, subSec); [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 41 import android.media.ExifInterface; 1860 ExifInterface exif = new ExifInterface(jpegFilename); in verifyJpegKeys() 1876 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys() 1878 if (exifOrientation == ExifInterface.ORIENTATION_UNDEFINED) { in verifyJpegKeys() 1915 case ExifInterface.ORIENTATION_NORMAL: in getExifOrientationInDegree() 1917 case ExifInterface.ORIENTATION_ROTATE_90: in getExifOrientationInDegree() 1919 case ExifInterface.ORIENTATION_ROTATE_180: in getExifOrientationInDegree() 1921 case ExifInterface.ORIENTATION_ROTATE_270: in getExifOrientationInDegree() 2005 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() 2021 int exifWidth = exif.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, /*defaultValue*/0); in verifyJpegExifExtraTags() [all …]
|
/frameworks/base/packages/SettingsLib/AvatarPicker/src/ |
D | AvatarPhotoController.java | 32 import android.media.ExifInterface; 296 ExifInterface exif = new ExifInterface(imageStream); in getRotation() 297 rotation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1); in getRotation() 303 case ExifInterface.ORIENTATION_ROTATE_90: in getRotation() 305 case ExifInterface.ORIENTATION_ROTATE_180: in getRotation() 307 case ExifInterface.ORIENTATION_ROTATE_270: in getRotation()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 36 import com.android.gallery3d.exif.ExifInterface; 169 ExifInterface ei = new ExifInterface(); in loadInBackground() 171 Integer ori = ei.getTagIntValue(ExifInterface.TAG_ORIENTATION); in loadInBackground() 173 mRotation = ExifInterface.getRotationForOrientationValue(ori.shortValue()); in loadInBackground() 219 public abstract boolean readExif(ExifInterface ei); in readExif() 244 public boolean readExif(ExifInterface ei) { in readExif() 301 public boolean readExif(ExifInterface ei) { in readExif() 353 public boolean readExif(ExifInterface ei) { in readExif()
|
/frameworks/base/media/java/android/media/ |
D | OWNERS | 12 per-file ExifInterface.java,ExifInterfaceUtils.java,IMediaHTTPConnection.aidl,IMediaHTTPService.aid… 13 per-file ExifInterface.java,ExifInterfaceUtils.java,IMediaHTTPConnection.aidl,IMediaHTTPService.aid…
|
D | ThumbnailUtils.java | 253 ExifInterface exif = null; in createImageThumbnail() 258 exif = new ExifInterface(file); in createImageThumbnail() 259 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 0)) { in createImageThumbnail() 260 case ExifInterface.ORIENTATION_ROTATE_90: in createImageThumbnail() 263 case ExifInterface.ORIENTATION_ROTATE_180: in createImageThumbnail() 266 case ExifInterface.ORIENTATION_ROTATE_270: in createImageThumbnail()
|
D | ExifInterface.java | 102 public class ExifInterface { class 1498 public ExifInterface(@NonNull File file) throws IOException { in ExifInterface() method in ExifInterface 1513 public ExifInterface(@NonNull String filename) throws IOException { in ExifInterface() method in ExifInterface 1530 public ExifInterface(@NonNull FileDescriptor fileDescriptor) throws IOException { in ExifInterface() method in ExifInterface 1590 public ExifInterface(@NonNull InputStream inputStream) throws IOException { in ExifInterface() method in ExifInterface 1606 public ExifInterface(@NonNull InputStream inputStream, @ExifStreamType int streamType) in ExifInterface() method in ExifInterface 1611 private ExifInterface(@NonNull InputStream inputStream, boolean shouldBeExifDataOnly) in ExifInterface() method in ExifInterface 3168 int orientation = ExifInterface.ORIENTATION_NORMAL; in getHeifAttributes() 3173 orientation = ExifInterface.ORIENTATION_ROTATE_90; in getHeifAttributes() 3176 orientation = ExifInterface.ORIENTATION_ROTATE_180; in getHeifAttributes() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 26 import android.media.ExifInterface; 158 if (orientation < ExifInterface.ORIENTATION_UNDEFINED || in setOrientation() 159 orientation > ExifInterface.ORIENTATION_ROTATE_270) { in setOrientation() 165 if (orientation == ExifInterface.ORIENTATION_UNDEFINED) { in setOrientation()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 31 import android.media.ExifInterface; 865 ExifInterface exif = new ExifInterface(path); in getThumbnailInfo() 868 outLongs[1] = exif.getAttributeInt(ExifInterface.TAG_PIXEL_X_DIMENSION, 0); in getThumbnailInfo() 869 outLongs[2] = exif.getAttributeInt(ExifInterface.TAG_PIXEL_Y_DIMENSION, 0); in getThumbnailInfo() 914 ExifInterface exif = new ExifInterface(path); in getThumbnailData()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 46 import com.android.gallery3d.exif.ExifInterface; 279 ExifInterface ei = new ExifInterface(); in getRotationFromExifHelper() 294 Integer ori = ei.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getRotationFromExifHelper() 296 return ExifInterface.getRotationForOrientationValue(ori.shortValue()); in getRotationFromExifHelper()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 25711 Landroid/media/ExifInterface$ByteOrderedDataInputStream;-><init>(Ljava/io/InputStream;)V 25712 Landroid/media/ExifInterface$ByteOrderedDataInputStream;-><init>([B)V 25713 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->BIG_ENDIAN:Ljava/nio/ByteOrder; 25714 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->LITTLE_ENDIAN:Ljava/nio/ByteOrder; 25715 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->mByteOrder:Ljava/nio/ByteOrder; 25716 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->mDataInputStream:Ljava/io/DataInputStream; 25717 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->mInputStream:Ljava/io/InputStream; 25718 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->mLength:I 25719 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->mPosition:I 25720 Landroid/media/ExifInterface$ByteOrderedDataInputStream;->peek()I [all …]
|
/frameworks/base/boot/ |
D | preloaded-classes | 5074 android.media.ExifInterface$ByteOrderedDataInputStream 5075 android.media.ExifInterface$ByteOrderedDataOutputStream 5076 android.media.ExifInterface$ExifAttribute 5077 android.media.ExifInterface$ExifTag 5078 android.media.ExifInterface$Rational 5079 android.media.ExifInterface 14319 [Landroid.media.ExifInterface$ExifTag; 14551 [[Landroid.media.ExifInterface$ExifTag;
|
/frameworks/base/config/ |
D | preloaded-classes | 5078 android.media.ExifInterface$ByteOrderedDataInputStream 5079 android.media.ExifInterface$ByteOrderedDataOutputStream 5080 android.media.ExifInterface$ExifAttribute 5081 android.media.ExifInterface$ExifTag 5082 android.media.ExifInterface$Rational 5083 android.media.ExifInterface 17342 [Landroid.media.ExifInterface$ExifTag; 17775 [[Landroid.media.ExifInterface$ExifTag;
|