/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifOutputStream.java | 17 package com.android.gallery3d.exif; 30 * This class provides a way to replace the Exif header of a JPEG image. 32 * Below is an example of writing EXIF data into a file 35 * public static void writeExif(byte[] jpeg, ExifData exif, String path) { 40 * // Set the exif header 41 * eos.setExifData(exif); 99 * Gets the Exif header to be written into the JPEF file. 115 * writing, it's Exif header will be replaced by the given header. 147 throw new IOException("Not a valid jpeg image, cannot write exif"); 193 * After writing, it's Exif header will be replaced by the given header [all...] |
ExifParser.java | 17 package com.android.gallery3d.exif; 29 * This class provides a low-level EXIF parsing API. Given a JPEG format 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 115 * Option bit to request to parse Exif-IFD. 131 protected static final int EXIF_HEADER = 0x45786966; // EXIF header "Exif" 132 protected static final short EXIF_HEADER_TAIL = (short) 0x0000; // EXIF header in APP1 207 Log.v(TAG, "Reading exif..."); 400 // The offset to interoperability IFD is located in Exif IF [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
Storage.java | 34 import com.android.camera.exif.ExifInterface; 84 * @param exif The EXIF info. Can be {@code null}. 92 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, 95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, 111 * @param exif The EXIF info. Can be {@code null}. 121 Location location, int orientation, ExifInterface exif, byte[] data, int width, 125 long fileLength = writeFile(path, data, exif); 262 * @param exif of the imag [all...] |
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...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifOutputStream.java | 17 package com.android.camera.exif; 30 * This class provides a way to replace the Exif header of a JPEG image. 32 * Below is an example of writing EXIF data into a file 35 * public static void writeExif(byte[] jpeg, ExifData exif, String path) { 40 * // Set the exif header 41 * eos.setExifData(exif); 99 * Gets the Exif header to be written into the JPEF file. 115 * writing, it's Exif header will be replaced by the given header. 147 throw new IOException("Not a valid jpeg image, cannot write exif"); 193 * After writing, it's Exif header will be replaced by the given header [all...] |
ExifParser.java | 17 package com.android.camera.exif; 29 * This class provides a low-level EXIF parsing API. Given a JPEG format 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 115 * Option bit to request to parse Exif-IFD. 131 protected static final int EXIF_HEADER = 0x45786966; // EXIF header "Exif" 132 protected static final short EXIF_HEADER_TAIL = (short) 0x0000; // EXIF header in APP1 207 Log.v(TAG, "Reading exif..."); 400 // The offset to interoperability IFD is located in Exif IF [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageManager.java | 251 ExifInterface exif = null; local 253 exif = new ExifInterface(filepath); 255 Log.e(TAG, "cannot read exif", ex); 257 if (exif != null) { 258 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...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifOutputStream.java | 17 package com.android.gallery3d.exif; 30 * This class provides a way to replace the Exif header of a JPEG image. 32 * Below is an example of writing EXIF data into a file 35 * public static void writeExif(byte[] jpeg, ExifData exif, String path) { 40 * // Set the exif header 41 * eos.setExifData(exif); 99 * Gets the Exif header to be written into the JPEF file. 115 * writing, it's Exif header will be replaced by the given header. 147 throw new IOException("Not a valid jpeg image, cannot write exif"); 193 * After writing, it's Exif header will be replaced by the given header [all...] |
ExifParser.java | 17 package com.android.gallery3d.exif; 29 * This class provides a low-level EXIF parsing API. Given a JPEG format 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 115 * Option bit to request to parse Exif-IFD. 131 protected static final int EXIF_HEADER = 0x45786966; // EXIF header "Exif" 132 protected static final short EXIF_HEADER_TAIL = (short) 0x0000; // EXIF header in APP1 207 Log.v(TAG, "Reading exif..."); 400 // The offset to interoperability IFD is located in Exif IF [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalImage.java | 37 import com.android.gallery3d.exif.ExifInterface; 38 import com.android.gallery3d.exif.ExifTag; 195 // try to decode from JPEG EXIF 197 ExifInterface exif = new ExifInterface(); local 200 exif.readExif(mLocalFilePath); 201 thumbData = exif.getThumbnail(); 294 Log.w(TAG, "cannot find file to set exif: " + filePath); 296 Log.w(TAG, "cannot set exif data: " + filePath);
|
/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...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
ExifOutputStream.java | 17 package com.android.gallery3d.exif; 30 * This class provides a way to replace the Exif header of a JPEG image. 32 * Below is an example of writing EXIF data into a file 35 * public static void writeExif(byte[] jpeg, ExifData exif, String path) { 40 * // Set the exif header 41 * eos.setExifData(exif); 99 * Gets the Exif header to be written into the JPEF file. 115 * writing, it's Exif header will be replaced by the given header. 147 throw new IOException("Not a valid jpeg image, cannot write exif"); 193 * After writing, it's Exif header will be replaced by the given header [all...] |
ExifParser.java | 17 package com.android.gallery3d.exif; 29 * This class provides a low-level EXIF parsing API. Given a JPEG format 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 115 * Option bit to request to parse Exif-IFD. 131 protected static final int EXIF_HEADER = 0x45786966; // EXIF header "Exif" 132 protected static final short EXIF_HEADER_TAIL = (short) 0x0000; // EXIF header in APP1 207 Log.v(TAG, "Reading exif..."); 400 // The offset to interoperability IFD is located in Exif IF [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
ExifOutputStream.java | 17 package com.android.messaging.util.exif; 31 * This class provides a way to replace the Exif header of a JPEG image. 33 * Below is an example of writing EXIF data into a file 36 * public static void writeExif(byte[] jpeg, ExifData exif, String path) { 41 * // Set the exif header 42 * eos.setExifData(exif); 100 * Gets the Exif header to be written into the JPEF file. 116 * writing, it's Exif header will be replaced by the given header. 148 throw new IOException("Not a valid jpeg image, cannot write exif"); 194 * After writing, it's Exif header will be replaced by the given header [all...] |
ExifTag.java | 17 package com.android.messaging.util.exif; 25 * This class stores information of an EXIF tag. For more information about 26 * defined EXIF tags, please read the Jeita EXIF 2.2 standard. Tags should be 33 * The BYTE type in the EXIF standard. An 8-bit unsigned integer. 37 * The ASCII type in the EXIF standard. An 8-bit byte containing one 7-bit 42 * The SHORT type in the EXIF standard. A 16-bit (2-byte) unsigned integer 46 * The LONG type in the EXIF standard. A 32-bit (4-byte) unsigned integer 50 * The RATIONAL type of EXIF standard. It consists of two LONGs. The first 55 * The UNDEFINED type in the EXIF standard. An 8-bit byte that can take an [all...] |
ExifParser.java | 17 package com.android.messaging.util.exif; 30 * This class provides a low-level EXIF parsing API. Given a JPEG format 34 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 116 * Option bit to request to parse Exif-IFD. 132 protected static final int EXIF_HEADER = 0x45786966; // EXIF header "Exif" 133 protected static final short EXIF_HEADER_TAIL = (short) 0x0000; // EXIF header in APP1 208 Log.v(TAG, "Reading exif..."); 401 // The offset to interoperability IFD is located in Exif IF [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
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...] |
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 1603 QCamera3Exif *exif = new QCamera3Exif(); local [all...] |
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 1783 QCamera3Exif *exif = new QCamera3Exif(); local [all...] |
/frameworks/base/core/java/android/provider/ |
DocumentsContract.java | 129 * Buffer is large enough to rewind past any EXIF headers. 1031 final ExifInterface exif = new ExifInterface(file.getAbsolutePath()); local [all...] |
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | 894 * it's allocated for each job. Exif object need to be deleted. 2148 QCamera3Exif *exif = new QCamera3Exif(); local [all...] |
/hardware/ti/omap4-aah/camera/ |
AppCallbackNotifier.cpp | 88 ExifElementsTable* exif = (ExifElementsTable*) cookie2; local 91 exif->insertExifToJpeg((unsigned char*) encoded_mem->data, jpeg_size); 95 exif->insertExifThumbnailImage((const char*)thumb_param->dst, 104 exif->saveJpeg((unsigned char*) picture->data, jpeg_size + exif_section->Size); 107 delete exif; 1903 ExifElementsTable* exif = NULL; 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...] |