/external/chromium/chrome/browser/resources/file_manager/js/ |
exif_reader.js | 5 var exif = { 13 "get-exif": function(fileURL) { 15 postMessage({verb: 'give-exif', 34 postMessage({verb: 'give-exif-error', 59 // Step four, find the exif marker and read all exif data. 61 var br = new exif.BufferReader(buf); 63 if (mark != exif.MARK_SOI) 67 if (mark == exif.MARK_SOS || br.eof()) { 68 return onError('Unable to find EXIF marker') [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalImage.java | 169 // try to decode from JPEG EXIF 171 ExifInterface exif = null; local 174 exif = new ExifInterface(mLocalFilePath); 175 if (exif != null) { 176 thumbData = exif.getThumbnail(); 179 Log.w(TAG, "fail to get exif thumb", t); 262 ExifInterface exif = new ExifInterface(filePath); local 263 exif.setAttribute(ExifInterface.TAG_ORIENTATION, 265 exif.saveAttributes(); 267 Log.w(TAG, "cannot set exif data: " + filePath) [all...] |
MediaDetails.java | 47 // for EXIF 106 private static void setExifData(MediaDetails details, ExifInterface exif, String tag, 108 String value = exif.getAttribute(tag); 122 ExifInterface exif = new ExifInterface(filePath); local 123 setExifData(details, exif, ExifInterface.TAG_FLASH, MediaDetails.INDEX_FLASH); 124 setExifData(details, exif, ExifInterface.TAG_IMAGE_WIDTH, MediaDetails.INDEX_WIDTH); 125 setExifData(details, exif, ExifInterface.TAG_IMAGE_LENGTH, 127 setExifData(details, exif, ExifInterface.TAG_MAKE, MediaDetails.INDEX_MAKE); 128 setExifData(details, exif, ExifInterface.TAG_MODEL, MediaDetails.INDEX_MODEL); 129 setExifData(details, exif, ExifInterface.TAG_APERTURE, MediaDetails.INDEX_APERTURE) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraTest.java | 728 ExifInterface exif = new ExifInterface(JPEG_PATH); local 729 assertTrue(exif.hasThumbnail()); 730 byte[] thumb = exif.getThumbnail(); 747 exif = new ExifInterface(JPEG_PATH); 748 assertFalse(exif.hasThumbnail()); 772 // Test various exif tags. 773 ExifInterface exif = new ExifInterface(JPEG_PATH); local 774 assertNotNull(exif.getAttribute(ExifInterface.TAG_MAKE)); 775 assertNotNull(exif.getAttribute(ExifInterface.TAG_MODEL)); 776 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME) 829 ExifInterface exif = new ExifInterface(JPEG_PATH); local [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 121 * Rotate a JPEG according to the EXIF data 130 final ExifInterface exif = new ExifInterface(inputFilename); local 131 final int orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 135 Log.d(TAG, "Exif orientation: " + orientation);
|
/packages/apps/Camera/src/com/android/camera/ |
PanoramaActivity.java | 908 ExifInterface exif = new ExifInterface(filepath); local [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoramaActivity.java | 23 import com.android.camera.Exif; 957 ExifInterface exif = new ExifInterface(filepath); local [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageManager.java | 254 ExifInterface exif = null; local 256 exif = new ExifInterface(filepath); 258 Log.e(TAG, "cannot read exif", ex); 260 if (exif != null) { 261 int orientation = exif.getAttributeInt(
|
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...] |
/hardware/ti/omap4xxx/camera/ |
AppCallbackNotifier.cpp | 89 ExifElementsTable* exif = (ExifElementsTable*) cookie2; local 92 exif->insertExifToJpeg((unsigned char*) encoded_mem->data, jpeg_size); 96 exif->insertExifThumbnailImage((const char*)thumb_param->dst, 105 exif->saveJpeg((unsigned char*) picture->data, jpeg_size + exif_section->Size); 108 delete exif; 1824 ExifElementsTable* exif = NULL; local [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXCameraAdapter.cpp | 3105 ExifElementsTable* exif = new ExifElementsTable(); local [all...] |