Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java179 private void printExifTagsAndValues(String fileName, ExifInterface exifInterface) { in printExifTagsAndValues() argument
181 if (exifInterface.hasThumbnail()) { in printExifTagsAndValues()
182 byte[] thumbnailBytes = exifInterface.getThumbnailBytes(); in printExifTagsAndValues()
185 Bitmap bitmap = exifInterface.getThumbnailBitmap(); in printExifTagsAndValues()
197 if (exifInterface.getThumbnailBytes() != null) { in printExifTagsAndValues()
206 Log.v(TAG, fileName + " Altitude = " + exifInterface.getAltitude(.0)); in printExifTagsAndValues()
209 if (exifInterface.getLatLong(latLong)) { in printExifTagsAndValues()
218 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
223 private void assertIntTag(ExifInterface exifInterface, String tag, int expectedValue) { in assertIntTag() argument
224 int intValue = exifInterface.getAttributeInt(tag, 0); in assertIntTag()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java291 ExifInterface exifInterface = new ExifInterface(filePath); in testSingleImageThumbnail() local
294 assertTrue(exifInterface.getLatLong(latLong)); in testSingleImageThumbnail()
298 exifInterface.getAttribute(ExifInterface.TAG_GPS_DATESTAMP)); in testSingleImageThumbnail()
300 exifInterface.getAttribute(ExifInterface.TAG_GPS_TIMESTAMP)); in testSingleImageThumbnail()
304 exifInterface.getAttributeInt(ExifInterface.TAG_ORIENTATION, in testSingleImageThumbnail()
313 exifInterface.getAttribute(ExifInterface.TAG_DATETIME); in testSingleImageThumbnail()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodPresentMediaDialog.java215 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in getOrientationInDegreeFromImage() local
217 exifInterface.getAttributeInt( in getOrientationInDegreeFromImage()