/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; 1643 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); in openImageThumbnail() 1645 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openImageThumbnail() 1646 case ExifInterface.ORIENTATION_ROTATE_90: in openImageThumbnail() 1650 case ExifInterface.ORIENTATION_ROTATE_180: in openImageThumbnail() 1654 case ExifInterface.ORIENTATION_ROTATE_270: in openImageThumbnail()
|
/frameworks/support/exifinterface/src/androidTest/java/androidx/exifinterface/media/ |
D | ExifInterfaceTest.java | 62 private static final String TAG = ExifInterface.class.getSimpleName(); 93 {ExifInterface.ORIENTATION_UNDEFINED, -90, ExifInterface.ORIENTATION_UNDEFINED}, 94 {ExifInterface.ORIENTATION_UNDEFINED, 0, ExifInterface.ORIENTATION_UNDEFINED}, 95 {ExifInterface.ORIENTATION_UNDEFINED, 90, ExifInterface.ORIENTATION_UNDEFINED}, 96 {ExifInterface.ORIENTATION_UNDEFINED, 180, ExifInterface.ORIENTATION_UNDEFINED}, 97 {ExifInterface.ORIENTATION_UNDEFINED, 270, ExifInterface.ORIENTATION_UNDEFINED}, 98 {ExifInterface.ORIENTATION_UNDEFINED, 540, ExifInterface.ORIENTATION_UNDEFINED}, 99 {ExifInterface.ORIENTATION_NORMAL, -90, ExifInterface.ORIENTATION_ROTATE_270}, 100 {ExifInterface.ORIENTATION_NORMAL, 0, ExifInterface.ORIENTATION_NORMAL}, 101 {ExifInterface.ORIENTATION_NORMAL, 90, ExifInterface.ORIENTATION_ROTATE_90}, [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 24 import android.media.ExifInterface; 45 private static final String TAG = ExifInterface.class.getSimpleName(); 62 ExifInterface.TAG_MAKE, 63 ExifInterface.TAG_MODEL, 64 ExifInterface.TAG_F_NUMBER, 65 ExifInterface.TAG_DATETIME, 66 ExifInterface.TAG_EXPOSURE_TIME, 67 ExifInterface.TAG_FLASH, 68 ExifInterface.TAG_FOCAL_LENGTH, 69 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 | ExifData.java | 221 ExifTag tag = ifdData.getTag(ExifInterface.getTrueTagKey(ExifInterface.TAG_USER_COMMENT)); in getUserComment()
|
D | IfdData.java | 139 if (ExifInterface.isOffsetTag(tag.getTagId())) { in equals()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 19 import android.media.ExifInterface; 57 assertEquals("3036", String.valueOf(exif.getInt(ExifInterface.TAG_IMAGE_WIDTH))); in testGetMetadata() 58 assertEquals("4048", String.valueOf(exif.getInt(ExifInterface.TAG_IMAGE_LENGTH))); in testGetMetadata() 59 assertEquals("2017:07:26 21:06:25", exif.getString(ExifInterface.TAG_DATETIME)); in testGetMetadata() 60 assertEquals("33/1,59/1,4530/100", exif.getString(ExifInterface.TAG_GPS_LATITUDE)); in testGetMetadata() 61 assertEquals("N", exif.getString(ExifInterface.TAG_GPS_LATITUDE_REF)); in testGetMetadata() 62 assertEquals("118/1,28/1,3124/100", exif.getString(ExifInterface.TAG_GPS_LONGITUDE)); in testGetMetadata() 63 assertEquals("W", exif.getString(ExifInterface.TAG_GPS_LONGITUDE_REF)); in testGetMetadata() 64 assertEquals("Google", exif.getString(ExifInterface.TAG_MAKE)); in testGetMetadata() 65 assertEquals("Pixel", exif.getString(ExifInterface.TAG_MODEL)); in testGetMetadata() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 49 import android.media.ExifInterface; 1788 ExifInterface exif = new ExifInterface(jpegFilename); in verifyJpegKeys() 1804 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys() 1806 if (exifOrientation == ExifInterface.ORIENTATION_UNDEFINED) { in verifyJpegKeys() 1843 case ExifInterface.ORIENTATION_NORMAL: in getExifOrientationInDegree() 1845 case ExifInterface.ORIENTATION_ROTATE_90: in getExifOrientationInDegree() 1847 case ExifInterface.ORIENTATION_ROTATE_180: in getExifOrientationInDegree() 1849 case ExifInterface.ORIENTATION_ROTATE_270: in getExifOrientationInDegree() 1933 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() 1949 int exifWidth = exif.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, /*defaultValue*/0); in verifyJpegExifExtraTags() [all …]
|
/frameworks/support/exifinterface/ |
D | build.gradle | 16 name = "Android Support ExifInterface" 21 description = "Android Support ExifInterface"
|
/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/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/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/media/java/android/media/ |
D | ThumbnailUtils.java | 481 ExifInterface exif = null; in createThumbnailFromEXIF() 484 exif = new ExifInterface(filePath); in createThumbnailFromEXIF()
|
D | MediaScanner.java | 960 ExifInterface exif = null; 962 exif = new ExifInterface(entry.mPath); 988 ExifInterface.TAG_ORIENTATION, -1); 993 case ExifInterface.ORIENTATION_ROTATE_90: 996 case ExifInterface.ORIENTATION_ROTATE_180: 999 case ExifInterface.ORIENTATION_ROTATE_270:
|
D | ExifInterface.java | 73 public class ExifInterface { class 1326 public ExifInterface(String filename) throws IOException { in ExifInterface() method in ExifInterface 1352 public ExifInterface(FileDescriptor fileDescriptor) throws IOException { in ExifInterface() method in ExifInterface 1386 public ExifInterface(InputStream inputStream) throws IOException { in ExifInterface() method in ExifInterface 2608 int orientation = ExifInterface.ORIENTATION_NORMAL; in getHeifAttributes() 2613 orientation = ExifInterface.ORIENTATION_ROTATE_90; in getHeifAttributes() 2616 orientation = ExifInterface.ORIENTATION_ROTATE_180; in getHeifAttributes() 2619 orientation = ExifInterface.ORIENTATION_ROTATE_270; in getHeifAttributes()
|
/frameworks/support/exifinterface/api_legacy/ |
D | 26.0.0.txt | 3 public class ExifInterface { 4 ctor public ExifInterface(java.lang.String) throws java.io.IOException; 5 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
|
D | 26.1.0.txt | 3 public class ExifInterface { 4 ctor public ExifInterface(java.lang.String) throws java.io.IOException; 5 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
|
D | 28.0.0-alpha1.txt | 3 public class ExifInterface { 4 ctor public ExifInterface(java.lang.String) throws java.io.IOException; 5 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
|
D | 27.0.0.txt | 3 public class ExifInterface { 4 ctor public ExifInterface(java.lang.String) throws java.io.IOException; 5 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
|
/frameworks/support/exifinterface/api/ |
D | current.txt | 3 public class ExifInterface { 4 ctor public ExifInterface(java.lang.String) throws java.io.IOException; 5 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
|