HomeSort by relevance Sort by last modified time
    Searched defs:exif (Results 76 - 100 of 119) sorted by null

1 2 34 5

  /packages/apps/Camera2/src/com/android/camera/data/
MediaDetails.java 23 import com.android.camera.exif.ExifInterface;
24 import com.android.camera.exif.ExifTag;
51 // for EXIF
134 * Extracts data from the EXIF of the given file and stores it in the
138 ExifInterface exif = new ExifInterface(); local
140 exif.readExif(filePath);
142 Log.w(TAG, "Could not find file to read exif: " + filePath, e);
144 Log.w(TAG, "Could not read exif from file: " + filePath, e);
147 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH),
149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifTag.java 17 package com.android.camera.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...]
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/Camera2/src/com/android/camera/processing/imagebackend/
TaskCompressImageToJpeg.java 25 import com.android.camera.Exif;
28 import com.android.camera.exif.ExifInterface;
91 * Encapsulates the required EXIF Tag parse for Image processing.
93 * @param exif EXIF data from which to extract data.
96 public Map<Integer, Integer> exifGetMinimalTags(ExifInterface exif) {
99 ExifInterface.getRotationForOrientationValue((short) Exif.getOrientation(exif)));
100 map.put(ExifInterface.TAG_PIXEL_X_DIMENSION, exif.getTagIntValue(
102 map.put(ExifInterface.TAG_PIXEL_Y_DIMENSION, exif.getTagIntValue
341 final ExifInterface exif = createExif(Optional.fromNullable(exifData), resultImage, local
400 ExifInterface exif; local
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
ExifInterface.java 17 package com.android.dialer.callcomposer.camera.exif;
36 * valid jpeg image as exif metadata.
39 * specified by the exif standard. A tag definition can be looked up with a constant that is a
49 /** Tag constants for Jeita EXIF 2.2 */
60 // IFD Exif Tags
87 * Reads the exif tags from a byte array, clearing this ExifInterface object's existing exif tags.
97 * Reads the exif tags from an InputStream, clearing this ExifInterface object's existing exif
111 throw new IOException("Invalid exif format : " + e)
    [all...]
ExifTag.java 17 package com.android.dialer.callcomposer.camera.exif;
24 * This class stores information of an EXIF tag. For more information about defined EXIF tags,
25 * please read the Jeita EXIF 2.2 standard. Tags should be instantiated using {@link
31 /** The BYTE type in the EXIF standard. An 8-bit unsigned integer. */
34 * The ASCII type in the EXIF standard. An 8-bit byte containing one 7-bit ASCII code. The final
38 /** The SHORT type in the EXIF standard. A 16-bit (2-byte) unsigned integer */
40 /** The LONG type in the EXIF standard. A 32-bit (4-byte) unsigned integer */
43 * The RATIONAL type of EXIF standard. It consists of two LONGs. The first one is the numerator
48 * The UNDEFINED type in the EXIF standard. An 8-bit byte that can take any value depending on th
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifTag.java 17 package com.android.gallery3d.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...]
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...]
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
SnapshotDialogFragment.java 134 private String getAttrib(ExifInterface exif, String tag) {
135 String attribute = exif.getAttribute(tag);
174 ((TestingCamera) getActivity()).log("Extracting EXIF");
176 ExifInterface exif = new ExifInterface(targetFile.toString()); local
178 String aperture = getAttrib(exif, ExifInterface.TAG_APERTURE);
180 String dateTime = getAttrib(exif, ExifInterface.TAG_DATETIME);
181 String exposureTime = getAttrib(exif, ExifInterface.TAG_EXPOSURE_TIME);
182 int flash = exif.getAttributeInt(ExifInterface.TAG_FLASH, 0);
183 double focalLength = exif.getAttributeDouble(ExifInterface.TAG_FOCAL_LENGTH, 0);
185 double gpsAltitude = exif.getAltitude(Double.NaN)
    [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...]
  /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);
  /external/ImageMagick/MagickCore/
profile.c 1949 *exif; local
    [all...]
property.c 402 % This includes, profile prefixes, such as "exif:", "iptc:" and "8bim:"
930 { 0x001, "exif:InteroperabilityIndex" },
931 { 0x002, "exif:InteroperabilityVersion" },
932 { 0x100, "exif:ImageWidth" },
933 { 0x101, "exif:ImageLength" },
934 { 0x102, "exif:BitsPerSample" },
935 { 0x103, "exif:Compression" },
936 { 0x106, "exif:PhotometricInterpretation" },
937 { 0x10a, "exif:FillOrder" },
938 { 0x10d, "exif:DocumentName" }
1201 *exif; local
    [all...]
  /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...]
  /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(
  /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/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...]
  /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/google/marlin/camera/QCamera2/HAL3/
QCamera3PostProc.cpp 947 * it's allocated for each job. Exif object need to be deleted.
2356 QCamera3Exif *exif = new QCamera3Exif(); local
    [all...]
  /hardware/qcom/camera/msm8998/QCamera2/HAL3/
QCamera3PostProc.cpp 2651 QCamera3Exif *exif = new QCamera3Exif(); local
    [all...]

Completed in 1027 milliseconds

1 2 34 5