Home
last modified time | relevance | path

Searched refs:exif (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/utiltests/src/android/util/
DMetadataReaderTest.java56 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/packages/SystemUI/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTask.java158 final ExifInterface exif = new ExifInterface(pfd.getFileDescriptor()); in doInBackground() local
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()
182 exif.saveAttributes(); in doInBackground()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1860 ExifInterface exif = new ExifInterface(jpegFilename); in verifyJpegKeys() local
1864 !exif.hasThumbnail()); in verifyJpegKeys()
1867 expectedThumbnailSize, exif.hasThumbnail()); in verifyJpegKeys()
1876 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys()
1905 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector); in verifyJpegKeys()
2005 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() argument
2021 int exifWidth = exif.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, /*defaultValue*/0); in verifyJpegExifExtraTags()
2022 int exifHeight = exif.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, /*defaultValue*/0); in verifyJpegExifExtraTags()
2025 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegExifExtraTags()
2072 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInvalidFormatException.java17 package com.android.gallery3d.exif;
DIfdId.java17 package com.android.gallery3d.exif;
DJpegHeader.java17 package com.android.gallery3d.exif;
DByteBufferInputStream.java17 package com.android.gallery3d.exif;
DRational.java17 package com.android.gallery3d.exif;
DOrderedDataOutputStream.java17 package com.android.gallery3d.exif;
DIfdData.java17 package com.android.gallery3d.exif;
DExifReader.java17 package com.android.gallery3d.exif;
DCountedDataInputStream.java17 package com.android.gallery3d.exif;
DExifModifier.java17 package com.android.gallery3d.exif;
DExifData.java17 package com.android.gallery3d.exif;
DExifTag.java17 package com.android.gallery3d.exif;
DExifOutputStream.java17 package com.android.gallery3d.exif;
DExifParser.java17 package com.android.gallery3d.exif;
DExifInterface.java17 package com.android.gallery3d.exif;
/frameworks/base/core/java/android/provider/
DMetadataReader.java259 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()
DDocumentsContract.java1728 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); in openImageThumbnail() local
1730 final long[] thumb = exif.getThumbnailRange(); in openImageThumbnail()
1734 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openImageThumbnail()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java253 ExifInterface exif = null; in createImageThumbnail() local
258 exif = new ExifInterface(file); in createImageThumbnail()
259 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 0)) { in createImageThumbnail()
286 if (bitmap == null && exif != null) { in createImageThumbnail()
287 final byte[] raw = exif.getThumbnailBytes(); in createImageThumbnail()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java850 ExifInterface exif = new ExifInterface(path); in getThumbnailInfo() local
851 long[] thumbOffsetAndSize = exif.getThumbnailRange(); 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() local
888 return exif.getThumbnail(); in getThumbnailData()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java36 import com.android.gallery3d.exif.ExifInterface;
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java46 import com.android.gallery3d.exif.ExifInterface;