/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 66 Bundle exif = mData.getBundle(DocumentsContract.METADATA_EXIF); in testGetMetadata() local 67 assertEquals("3036", String.valueOf(exif.getInt(ExifInterface.TAG_IMAGE_WIDTH))); in testGetMetadata() 68 assertEquals("4048", String.valueOf(exif.getInt(ExifInterface.TAG_IMAGE_LENGTH))); in testGetMetadata() 69 assertEquals("2017:07:26 21:06:25", exif.getString(ExifInterface.TAG_DATETIME)); in testGetMetadata() 70 assertEquals("33/1,59/1,4530/100", exif.getString(ExifInterface.TAG_GPS_LATITUDE)); in testGetMetadata() 71 assertEquals("N", exif.getString(ExifInterface.TAG_GPS_LATITUDE_REF)); in testGetMetadata() 72 assertEquals("118/1,28/1,3124/100", exif.getString(ExifInterface.TAG_GPS_LONGITUDE)); in testGetMetadata() 73 assertEquals("W", exif.getString(ExifInterface.TAG_GPS_LONGITUDE_REF)); in testGetMetadata() 74 assertEquals("Google", exif.getString(ExifInterface.TAG_MAKE)); in testGetMetadata() 75 assertEquals("Pixel", exif.getString(ExifInterface.TAG_MODEL)); in testGetMetadata()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageExporter.java | 445 ExifInterface exif; 447 exif = new ExifInterface(pfd.getFileDescriptor()); 452 updateExifAttributes(exif, requestId, width, height, captureTime); 454 exif.saveAttributes(); 510 static void updateExifAttributes(ExifInterface exif, UUID uniqueId, int width, int height, 512 exif.setAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID, uniqueId.toString()); 514 exif.setAttribute(ExifInterface.TAG_SOFTWARE, "Android " + Build.DISPLAY); 515 exif.setAttribute(ExifInterface.TAG_IMAGE_WIDTH, Integer.toString(width)); 516 exif.setAttribute(ExifInterface.TAG_IMAGE_LENGTH, Integer.toString(height)); 522 exif.setAttribute(ExifInterface.TAG_DATETIME_ORIGINAL, dateTime); [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1860 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/libs/hwui/jni/ |
D | YuvToJpegEncoder.cpp | 391 jpegr_exif_struct exif; in encode() local 392 exif.data = const_cast<void*>(reinterpret_cast<const void*>(jExif->get())); in encode() 393 exif.length = jExif->size(); in encode() 404 exif.length > 0 ? &exif : NULL); success != JPEGR_NO_ERROR) { in encode() 450 ScopedByteArrayRO exif(env, jExif); in YuvImage_compressToJpegR() local 459 width, height, quality, &exif, in YuvImage_compressToJpegR()
|
D | YuvToJpegEncoder.h | 101 int width, int height, int jpegQuality, ScopedByteArrayRO* exif,
|
/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;
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 306 @NonNull OutputStream stream, @NonNull byte[] exif) { in compressToJpegR() argument 342 new byte[WORKING_COMPRESS_STORAGE], exif, in compressToJpegR() 455 OutputStream stream, byte[] tempStorage, byte[] exif, in nativeCompressToJpegR() argument
|
/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 | 1737 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); in openImageThumbnail() local 1739 final long[] thumb = exif.getThumbnailRange(); in openImageThumbnail() 1743 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { in openImageThumbnail()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 253 ExifInterface exif = null; in createImageThumbnail() local 258 exif = new ExifInterface(file); in createImageThumbnail() 259 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 0)) { in createImageThumbnail() 287 if (bitmap == null && exif != null) { in createImageThumbnail() 288 final byte[] raw = exif.getThumbnailBytes(); in createImageThumbnail()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 865 ExifInterface exif = new ExifInterface(path); in getThumbnailInfo() local 866 long[] thumbOffsetAndSize = exif.getThumbnailRange(); in getThumbnailInfo() 868 outLongs[1] = exif.getAttributeInt(ExifInterface.TAG_PIXEL_X_DIMENSION, 0); in getThumbnailInfo() 869 outLongs[2] = exif.getAttributeInt(ExifInterface.TAG_PIXEL_Y_DIMENSION, 0); in getThumbnailInfo() 874 if (exif.getThumbnailRange() != null) { in getThumbnailInfo() 914 ExifInterface exif = new ExifInterface(path); in getThumbnailData() local 918 return exif.getThumbnail(); in getThumbnailData() 920 if (exif.getThumbnailRange() != null) in getThumbnailData() 921 return exif.getThumbnail(); in getThumbnailData()
|
/frameworks/base/packages/SettingsLib/AvatarPicker/src/ |
D | AvatarPhotoController.java | 296 ExifInterface exif = new ExifInterface(imageStream); in getRotation() local 297 rotation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1); in getRotation()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | JpegRCompositeStream.cpp | 354 ultrahdr::jpegr_exif_struct exif; in processInputFrame() local 355 exif.data = reinterpret_cast<void*>(const_cast<uint8_t*>(exifBuffer)); in processInputFrame() 356 exif.length = exifBufferSize; in processInputFrame() 358 res = jpegREncoder.encodeJPEGR(&p010, transferFunction, &jpegR, jpegQuality, &exif); in processInputFrame()
|