Home
last modified time | relevance | path

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

12

/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/support/exifinterface/tests/src/android/support/media/
DExifInterfaceTest.java55 private static final String TAG = ExifInterface.class.getSimpleName();
82 ExifInterface.TAG_MAKE,
83 ExifInterface.TAG_MODEL,
84 ExifInterface.TAG_F_NUMBER,
85 ExifInterface.TAG_DATETIME,
86 ExifInterface.TAG_EXPOSURE_TIME,
87 ExifInterface.TAG_FLASH,
88 ExifInterface.TAG_FOCAL_LENGTH,
89 ExifInterface.TAG_GPS_ALTITUDE,
90 ExifInterface.TAG_GPS_ALTITUDE_REF,
[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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java49 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/
Dbuild.gradle24 name 'Android Support ExifInterface'
26 description 'Android Support ExifInterface'
/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/core/java/android/hardware/camera2/
DDngCreator.java27 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/core/java/android/provider/
DDocumentsContract.java39 import android.media.ExifInterface;
1535 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); in openImageThumbnail()
1537 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openImageThumbnail()
1538 case ExifInterface.ORIENTATION_ROTATE_90: in openImageThumbnail()
1542 case ExifInterface.ORIENTATION_ROTATE_180: in openImageThumbnail()
1546 case ExifInterface.ORIENTATION_ROTATE_270: in openImageThumbnail()
/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/media/java/android/media/
DThumbnailUtils.java477 ExifInterface exif = null; in createThumbnailFromEXIF()
480 exif = new ExifInterface(filePath); in createThumbnailFromEXIF()
DMediaScanner.java951 ExifInterface exif = null;
953 exif = new ExifInterface(entry.mPath);
979 ExifInterface.TAG_ORIENTATION, -1);
984 case ExifInterface.ORIENTATION_ROTATE_90:
987 case ExifInterface.ORIENTATION_ROTATE_180:
990 case ExifInterface.ORIENTATION_ROTATE_270:
DExifInterface.java73 public class ExifInterface { class
1320 public ExifInterface(String filename) throws IOException { in ExifInterface() method in ExifInterface
1346 public ExifInterface(FileDescriptor fileDescriptor) throws IOException { in ExifInterface() method in ExifInterface
1380 public ExifInterface(InputStream inputStream) throws IOException { in ExifInterface() method in ExifInterface
/frameworks/support/exifinterface/src/android/support/media/
DExifInterface.java64 public class ExifInterface { class
1297 public ExifInterface(String filename) throws IOException { in ExifInterface() method in ExifInterface
1318 public ExifInterface(InputStream inputStream) throws IOException { in ExifInterface() method in ExifInterface
/frameworks/base/
Dcompiled-classes-phone2478 android.media.ExifInterface
2479 android.media.ExifInterface$ByteOrderedDataInputStream
2480 android.media.ExifInterface$ExifAttribute
2481 android.media.ExifInterface$ExifTag
/frameworks/support/api/
D25.1.0.txt863 public class ExifInterface {
864 ctor public ExifInterface(java.lang.String) throws java.io.IOException;
865 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
D25.2.0.txt863 public class ExifInterface {
864 ctor public ExifInterface(java.lang.String) throws java.io.IOException;
865 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
D26.0.0-alpha1.txt900 public class ExifInterface {
901 ctor public ExifInterface(java.lang.String) throws java.io.IOException;
902 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
D25.3.0.txt991 public class ExifInterface {
992 ctor public ExifInterface(java.lang.String) throws java.io.IOException;
993 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;
D25.4.0.txt1021 public class ExifInterface {
1022 ctor public ExifInterface(java.lang.String) throws java.io.IOException;
1023 ctor public ExifInterface(java.io.InputStream) throws java.io.IOException;

12