/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
SaveImage.java | 35 import com.android.gallery3d.exif.ExifInterface; 245 ExifInterface exif = new ExifInterface(); local 254 exif.readExif(inStream); 258 Log.w(LOGTAG, "Cannot read exif for: " + source, e); 263 return exif; 266 public boolean putExifData(File file, ExifInterface exif, Bitmap image, 271 s = exif.getExifWriterStream(file.getAbsolutePath()); 281 Log.w(LOGTAG, "Could not write exif: ", e); 318 private void updateExifData(ExifInterface exif, long time) { 320 exif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, time 357 ExifInterface exif = getExifData(newSourceUri); local 369 ExifInterface exif = getExifData(newSourceUri); local 419 ExifInterface exif = getExifData(newSourceUri); local [all...] |
/external/libexif/contrib/examples/ |
cam_features.c | 21 //EXIF includes 22 #include <libexif/exif-data.h> 23 #include <libexif/exif-ifd.h> 24 #include <libexif/exif-loader.h> 26 // Part of the exif command-line source package 43 //EXIF STUFF 79 //write the Exif data to a jpeg file 86 printf("Saving EXIF data to jpeg file\n"); 104 printf ("Creating EXIF data...\n");
|
/packages/apps/Camera2/src/com/android/camera/session/ |
PlaceholderManager.java | 30 import com.android.camera.exif.ExifInterface; 128 * @param exif the exif of the image 136 ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) throws IOException { 138 placeholder.outputTitle, placeholder.time, location, orientation, exif, jpeg, width,
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
ExifOrientation.java | 127 ExifInterface exif = new ExifInterface(filePath); local 128 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 0)) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
ImageLoader.java | 39 import com.android.gallery3d.exif.ExifInterface; 40 import com.android.gallery3d.exif.ExifTag; 132 ExifInterface exif = new ExifInterface(); local 134 // Fall back to checking EXIF tags in file or input stream. 142 exif.readExif(path); 145 exif.readExif(is); 147 return parseExif(exif); 149 Log.w(LOGTAG, "Failed to read EXIF orientation", e); 162 private static int parseExif(ExifInterface exif){ 163 Integer tagval = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION) 573 ExifInterface exif = new ExifInterface(); local [all...] |
/external/libexif/libexif/ |
exif-log.h | 1 /*! \file exif-log.h 30 #include <libexif/exif-mem.h>
|
exif-mnote-data.c | 0 /* exif-mnote-data.c 23 #include <libexif/exif-mnote-data.h> 24 #include <libexif/exif-mnote-data-priv.h>
|
/external/libexif/libexif/fuji/ |
mnote-fuji-tag.h | 28 #include <libexif/exif-data.h>
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
IfdData.java | 17 package com.android.gallery3d.exif;
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
IfdData.java | 17 package com.android.camera.exif;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
OneCameraImpl.java | 46 import com.android.camera.Exif; 51 import com.android.camera.exif.ExifInterface; 52 import com.android.camera.exif.ExifTag; 53 import com.android.camera.exif.Rational; 472 ExifInterface exif = null; local 474 exif = new ExifInterface(); 475 exif.readExif(jpegData); 477 Integer w = exif.getTagIntValue(ExifInterface.TAG_PIXEL_X_DIMENSION); 479 Integer h = exif.getTagIntValue(ExifInterface.TAG_PIXEL_Y_DIMENSION); 482 // Get image rotation from EXIF [all...] |
OneCameraZslImpl.java | 48 import com.android.camera.exif.ExifInterface; 49 import com.android.camera.exif.ExifTag; 50 import com.android.camera.exif.Rational; 615 ExifInterface exif = new ExifInterface(); local 616 // TODO: Add more exif tags here. 621 exif.setTag(exif.buildTag(ExifInterface.TAG_PIXEL_X_DIMENSION, size.getWidth())); 622 exif.setTag(exif.buildTag(ExifInterface.TAG_PIXEL_Y_DIMENSION, size.getHeight())); 624 exif.setTag [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
ExifUtil.java | 23 import com.android.camera.exif.ExifInterface; 24 import com.android.camera.exif.Rational; 35 * Exif utility functions. 44 * @param exif The EXIF object to populate. 46 public ExifUtil(ExifInterface exif) { 47 mExif = exif; 51 * Populate the EXIF object with info pulled from a given capture result. 55 * @param location optionally a location that should be added to the EXIF. 75 * Adds the given location to the EXIF object [all...] |
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
UsageStatistics.java | 23 import com.android.camera.exif.ExifInterface;
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
ExifData.java | 17 package com.android.dialer.callcomposer.camera.exif; 20 * This class stores the EXIF header in IFDs according to the JPEG specification. It is the result
|
ExifReader.java | 17 package com.android.dialer.callcomposer.camera.exif; 23 /** This class reads the EXIF header of a JPEG file and stores it in {@link ExifData}. */ 33 * Parses the inputStream and and returns the EXIF data in an {@link ExifData}.
|
IfdData.java | 17 package com.android.dialer.callcomposer.camera.exif;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
ReadableArchive.java | 264 final ExifInterface exif = new ExifInterface(inputStream); local 265 if (exif.hasThumbnail()) { 267 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) { 281 final long[] range = exif.getThumbnailRange(); 286 // Ignore the exception, as reading the EXIF may legally fail. 287 Log.e(TAG, "Failed to obtain thumbnail from EXIF.", e);
|
/packages/apps/Gallery/src/com/android/camera/ |
MenuHelper.java | 175 ExifInterface exif = getExif(image); local 176 if (exif == null) return false; 178 return exif.getLatLong(latlng); 220 ExifInterface exif) { 222 if (exif.getLatLong(latlng)) { 254 Log.e(TAG, "cannot read exif", ex); 270 ExifInterface exif = getExif(image); 272 if (exif != null) { 274 if (exif.getLatLong(latlng)) { 316 ExifInterface exif = getExif(image) local [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
IfdData.java | 17 package com.android.gallery3d.exif;
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
IfdData.java | 17 package com.android.messaging.util.exif;
|
/packages/apps/Camera2/src/com/android/camera/ |
PhotoModule.java | 50 import com.android.camera.exif.ExifInterface; 51 import com.android.camera.exif.ExifTag; 52 import com.android.camera.exif.Rational; 813 ExifInterface exif; field in class:PhotoModule.ResizeBundle 823 final ExifInterface exif = dataBundle.exif; local 847 exif.setTagValue(ExifInterface.TAG_PIXEL_X_DIMENSION, new Integer(newWidth)); 848 exif.setTagValue(ExifInterface.TAG_PIXEL_Y_DIMENSION, new Integer(newHeight)); 906 final ExifInterface exif = Exif.getExif(originalJpegData); local 1294 ExifInterface exif = Exif.getExif(data); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreUiTest.java | 232 // sane baseline EXIF data 233 final ExifInterface exif = new ExifInterface(new FileInputStream(target)); local 234 assertAttribute(exif, ExifInterface.TAG_MAKE); 235 assertAttribute(exif, ExifInterface.TAG_MODEL); 236 assertAttribute(exif, ExifInterface.TAG_DATETIME); 239 private static void assertAttribute(ExifInterface exif, String tag) { 240 final String res = exif.getAttribute(tag); 242 Log.d(TAG, "Expected valid EXIF tag for tag " + tag);
|
/cts/tests/camera/src/android/hardware/cts/ |
CameraTest.java | 97 // Some exif tags that are not defined by ExifInterface but supported. 806 ExifInterface exif = new ExifInterface(JPEG_PATH); local 874 ExifInterface exif = new ExifInterface(JPEG_PATH); local 1089 ExifInterface exif = new ExifInterface(JPEG_PATH); local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
CameraTestUtils.java | 147 // Exif test data vectors. 1788 ExifInterface exif = new ExifInterface(jpegFilename); local [all...] |