Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DMetadataReader.java20 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 …]
DDocumentsContract.java39 import android.media.ExifInterface;
1728 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); in openImageThumbnail()
1734 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openImageThumbnail()
1735 case ExifInterface.ORIENTATION_ROTATE_90: in openImageThumbnail()
1739 case ExifInterface.ORIENTATION_ROTATE_180: in openImageThumbnail()
1743 case ExifInterface.ORIENTATION_ROTATE_270: in openImageThumbnail()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java24 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/
DExifOutputStream.java83 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 …]
DExifInterface.java64 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 …]
DExifParser.java163 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 …]
DExifModifier.java34 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()
DExifReader.java31 private final ExifInterface mInterface;
33 ExifReader(ExifInterface iRef) { in ExifReader()
DExifData.java221 ExifTag tag = ifdData.getTag(ExifInterface.getTrueTagKey(ExifInterface.TAG_USER_COMMENT)); in getUserComment()
DIfdData.java139 if (ExifInterface.isOffsetTag(tag.getTagId())) { in equals()
/frameworks/base/core/tests/utiltests/src/android/util/
DMetadataReaderTest.java19 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/packages/SystemUI/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTask.java32 import android.media.ExifInterface;
158 final ExifInterface exif = new ExifInterface(pfd.getFileDescriptor()); in doInBackground()
160 exif.setAttribute(ExifInterface.TAG_SOFTWARE, in doInBackground()
163 exif.setAttribute(ExifInterface.TAG_IMAGE_WIDTH, in doInBackground()
165 exif.setAttribute(ExifInterface.TAG_IMAGE_LENGTH, in doInBackground()
170 exif.setAttribute(ExifInterface.TAG_DATETIME_ORIGINAL, in doInBackground()
172 exif.setAttribute(ExifInterface.TAG_SUBSEC_TIME_ORIGINAL, in doInBackground()
176 exif.setAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL, "+00:00"); in doInBackground()
178 exif.setAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL, in doInBackground()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java51 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/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java36 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/
DThumbnailUtils.java253 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()
DExifInterface.java88 public class ExifInterface { class
1481 public ExifInterface(@NonNull File file) throws IOException { in ExifInterface() method in ExifInterface
1496 public ExifInterface(@NonNull String filename) throws IOException { in ExifInterface() method in ExifInterface
1513 public ExifInterface(@NonNull FileDescriptor fileDescriptor) throws IOException { in ExifInterface() method in ExifInterface
1556 public ExifInterface(@NonNull InputStream inputStream) throws IOException { in ExifInterface() method in ExifInterface
1572 public ExifInterface(@NonNull InputStream inputStream, @ExifStreamType int streamType) in ExifInterface() method in ExifInterface
1577 private ExifInterface(@NonNull InputStream inputStream, boolean shouldBeExifDataOnly) in ExifInterface() method in ExifInterface
3114 int orientation = ExifInterface.ORIENTATION_NORMAL; in getHeifAttributes()
3119 orientation = ExifInterface.ORIENTATION_ROTATE_90; in getHeifAttributes()
3122 orientation = ExifInterface.ORIENTATION_ROTATE_180; in getHeifAttributes()
[all …]
/frameworks/base/media/
DOWNERS21 per-file ExifInterface.java = jinpark@google.com, sungsoo@google.com
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java26 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/
DMtpDatabase.java31 import android.media.ExifInterface;
850 ExifInterface exif = new ExifInterface(path); in getThumbnailInfo()
853 outLongs[1] = exif.getAttributeInt(ExifInterface.TAG_PIXEL_X_DIMENSION, 0); in getThumbnailInfo()
854 outLongs[2] = exif.getAttributeInt(ExifInterface.TAG_PIXEL_Y_DIMENSION, 0); in getThumbnailInfo()
887 ExifInterface exif = new ExifInterface(path); in getThumbnailData()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java46 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/config/
Dboot-image-profile.txt12882 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;-><init>([B)V
12883 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->read()I
12884 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->readByte()B
12885 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->readFully([B)V
12886 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->readInt()I
12887 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->readShort()S
12888 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->readUnsignedInt()J
12889 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->readUnsignedShort()I
12890 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->seek(J)V
12891 HSPLandroid/media/ExifInterface$ByteOrderedDataInputStream;->setByteOrder(Ljava/nio/ByteOrder;)V
[all …]
Dpreloaded-classes3666 android.media.ExifInterface$ByteOrderedDataInputStream
3667 android.media.ExifInterface$ByteOrderedDataOutputStream
3668 android.media.ExifInterface$ExifAttribute
3669 android.media.ExifInterface$ExifTag
3670 android.media.ExifInterface$Rational
3671 android.media.ExifInterface
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt24790 public class ExifInterface {
24791 ctor public ExifInterface(@NonNull java.io.File) throws java.io.IOException;
24792 ctor public ExifInterface(@NonNull String) throws java.io.IOException;
24793 ctor public ExifInterface(@NonNull java.io.FileDescriptor) throws java.io.IOException;
24794 ctor public ExifInterface(@NonNull java.io.InputStream) throws java.io.IOException;
24795 ctor public ExifInterface(@NonNull java.io.InputStream, int) throws java.io.IOException;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14344 public class ExifInterface {
14345 ctor public ExifInterface(java.lang.String) throws java.io.IOException;