Home
last modified time | relevance | path

Searched refs:exifInterface (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java196 private void printExifTagsAndValues(String fileName, ExifInterface exifInterface) { in printExifTagsAndValues() argument
198 if (exifInterface.hasThumbnail()) { in printExifTagsAndValues()
199 byte[] thumbnailBytes = exifInterface.getThumbnailBytes(); in printExifTagsAndValues()
202 Bitmap bitmap = exifInterface.getThumbnailBitmap(); in printExifTagsAndValues()
214 if (exifInterface.getThumbnail() != null) { in printExifTagsAndValues()
223 Log.v(TAG, fileName + " Altitude = " + exifInterface.getAltitude(.0)); in printExifTagsAndValues()
226 if (exifInterface.getLatLong(latLong)) { in printExifTagsAndValues()
235 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
240 private void assertIntTag(ExifInterface exifInterface, String tag, int expectedValue) { in assertIntTag() argument
241 int intValue = exifInterface.getAttributeInt(tag, 0); in assertIntTag()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java78 ExifInterface exifInterface = new ExifInterface(new ByteArrayInputStream(EXIF_FILE_TAG), in testUpdateExifAttributes_timeZoneUTC() local
80 ImageExporter.updateExifAttributes(exifInterface, in testUpdateExifAttributes_timeZoneUTC()
86 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testUpdateExifAttributes_timeZoneUTC()
88 exifInterface.getAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL)); in testUpdateExifAttributes_timeZoneUTC()
122 ExifInterface exifInterface = new ExifInterface(pfd.getFileDescriptor()); in testImageExport() local
126 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testImageExport()
129 exifInterface.getAttribute(ExifInterface.TAG_SOFTWARE)); in testImageExport()
132 exifInterface.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, 0)); in testImageExport()
134 exifInterface.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, 0)); in testImageExport()
137 exifInterface.getAttribute(ExifInterface.TAG_DATETIME_ORIGINAL)); in testImageExport()
[all …]
/frameworks/base/core/java/android/provider/
DMetadataReader.java258 ExifInterface exifInterface = new ExifInterface(stream); in getExifData() local
262 int data = exifInterface.getAttributeInt(tag, Integer.MIN_VALUE); in getExifData()
267 double data = exifInterface.getAttributeDouble(tag, Double.MIN_VALUE); in getExifData()
272 String data = exifInterface.getAttribute(tag); in getExifData()