/frameworks/support/exifinterface/src/androidTest/java/androidx/exifinterface/media/ |
D | ExifInterfaceTest.java | 451 ExifInterface exif = createTestExifInterface(); in testSetGpsInfo() local 452 exif.setGpsInfo(location); in testSetGpsInfo() 454 double[] latLong = exif.getLatLong(); in testSetGpsInfo() 460 assertEquals(TEST_ALTITUDE_VALUES[TEST_ALTITUDE_VALUES.length - 1], exif.getAltitude(0), in testSetGpsInfo() 462 assertEquals("K", exif.getAttribute(ExifInterface.TAG_GPS_SPEED_REF)); in testSetGpsInfo() 463 assertEquals(speedInMeterPerSec, exif.getAttributeDouble(ExifInterface.TAG_GPS_SPEED, 0.0) in testSetGpsInfo() 465 assertEquals(provider, exif.getAttribute(ExifInterface.TAG_GPS_PROCESSING_METHOD)); in testSetGpsInfo() 468 TimeUnit.MILLISECONDS.toSeconds(exif.getGpsDateTime())); in testSetGpsInfo() 475 ExifInterface exif = createTestExifInterface(); in testSetLatLong_withValidValues() local 476 exif.setLatLong(TEST_LATITUDE_VALID_VALUES[i], TEST_LONGITUDE_VALID_VALUES[i]); in testSetLatLong_withValidValues() [all …]
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 56 Bundle exif = mData.getBundle(DocumentsContract.METADATA_EXIF); in testGetMetadata() local 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()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1788 ExifInterface exif = new ExifInterface(jpegFilename); in verifyJpegKeys() local 1792 !exif.hasThumbnail()); in verifyJpegKeys() 1795 expectedThumbnailSize, exif.hasThumbnail()); in verifyJpegKeys() 1804 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys() 1833 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector); in verifyJpegKeys() 1933 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() argument 1949 int exifWidth = exif.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, /*defaultValue*/0); in verifyJpegExifExtraTags() 1950 int exifHeight = exif.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, /*defaultValue*/0); in verifyJpegExifExtraTags() 1953 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegExifExtraTags() 2000 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifInvalidFormatException.java | 17 package com.android.gallery3d.exif;
|
D | IfdId.java | 17 package com.android.gallery3d.exif;
|
D | JpegHeader.java | 17 package com.android.gallery3d.exif;
|
D | ByteBufferInputStream.java | 17 package com.android.gallery3d.exif;
|
D | Rational.java | 17 package com.android.gallery3d.exif;
|
D | OrderedDataOutputStream.java | 17 package com.android.gallery3d.exif;
|
D | IfdData.java | 17 package com.android.gallery3d.exif;
|
D | ExifReader.java | 17 package com.android.gallery3d.exif;
|
D | CountedDataInputStream.java | 17 package com.android.gallery3d.exif;
|
D | ExifModifier.java | 17 package com.android.gallery3d.exif;
|
D | ExifData.java | 17 package com.android.gallery3d.exif;
|
D | ExifTag.java | 17 package com.android.gallery3d.exif;
|
D | ExifOutputStream.java | 17 package com.android.gallery3d.exif;
|
D | ExifParser.java | 17 package com.android.gallery3d.exif;
|
D | ExifInterface.java | 17 package com.android.gallery3d.exif;
|
/frameworks/base/core/java/android/provider/ |
D | MetadataReader.java | 259 Bundle exif = new Bundle(); in getExifData() local 264 exif.putInt(tag, data); in getExifData() 269 exif.putDouble(tag, data); in getExifData() 274 exif.putString(tag, data); in getExifData() 278 return exif; in getExifData()
|
D | DocumentsContract.java | 1643 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); in openImageThumbnail() local 1645 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openImageThumbnail() 1660 final long[] thumb = exif.getThumbnailRange(); in openImageThumbnail()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 481 ExifInterface exif = null; in createThumbnailFromEXIF() 484 exif = new ExifInterface(filePath); in createThumbnailFromEXIF() 485 thumbData = exif.getThumbnail(); in createThumbnailFromEXIF()
|
D | MediaScanner.java | 960 ExifInterface exif = null; 962 exif = new ExifInterface(entry.mPath); 966 if (exif != null) { 968 if (exif.getLatLong(latlng)) { 973 long time = exif.getGpsDateTime(); 981 time = exif.getDateTime(); 987 int orientation = exif.getAttributeInt(
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 36 import com.android.gallery3d.exif.ExifInterface;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 46 import com.android.gallery3d.exif.ExifInterface;
|