HomeSort by relevance Sort by last modified time
    Searched defs:exif (Results 51 - 75 of 114) sorted by null

1 23 4 5

  /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...]
  /packages/apps/Messaging/src/com/android/messaging/util/exif/
CountedDataInputStream.java 17 package com.android.messaging.util.exif;
ExifData.java 17 package com.android.messaging.util.exif;
29 * This class stores the EXIF header in IFDs according to the JPEG
214 * Decodes the user comment tag into string as specified in the EXIF
ExifModifier.java 17 package com.android.messaging.util.exif;
  /packages/apps/Camera2/src/com/android/camera/tinyplanet/
TinyPlanetFragment.java 48 import com.android.camera.exif.ExifInterface;
367 * Adds basic EXIF data to the tiny planet image so it an be rewritten
371 * @return The JPEG data containing basic EXIF.
374 ExifInterface exif = new ExifInterface(); local
375 exif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, System.currentTimeMillis(),
379 exif.writeExif(jpeg, jpegOut);
381 Log.e(TAG, "Could not write EXIF", e);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 150 * Returns a matrix with rotation set based on Exif orientation tag.
154 * @param pathToOriginal Path to original image file that may have exif data.
155 * @return A rotation in degrees based on exif orientation
162 ExifInterface exif = new ExifInterface(pathToOriginal); local
163 int orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_UNDEFINED);
178 * @param pathToOriginal Path to original image file that may have exif data.
221 * Get the # of degrees an image must be rotated to match the given exif orientation.
223 * @param exifOrientation The exif orientation [1-8]
249 * Rotate and/or flip the image to match the given exif orientation.
253 * @param exifOrientation the exif orientation [1-8]
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
ExifData.java 17 package com.android.gallery3d.exif;
28 * This class stores the EXIF header in IFDs according to the JPEG
213 * Decodes the user comment tag into string as specified in the EXIF
ExifModifier.java 17 package 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...]
  /packages/apps/Camera2/src/com/android/camera/
MediaSaverImpl.java 30 import com.android.camera.exif.ExifInterface;
70 int height, int orientation, ExifInterface exif, OnMediaSavedListener l) {
71 addImage(data, title, date, loc, width, height, orientation, exif, l,
77 int height, int orientation, ExifInterface exif, OnMediaSavedListener l,
85 width, height, orientation, mimeType, exif, mContentResolver, l);
96 ExifInterface exif, OnMediaSavedListener l) {
99 addImage(data, title, date, loc, 0, 0, orientation, exif, l,
104 int orientation, ExifInterface exif, OnMediaSavedListener l) {
105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l,
145 private final ExifInterface exif; field in class:MediaSaverImpl.ImageSaveTask
    [all...]
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifData.java 17 package com.android.camera.exif;
28 * This class stores the EXIF header in IFDs according to the JPEG
213 * Decodes the user comment tag into string as specified in the EXIF
ExifModifier.java 17 package 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...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifData.java 17 package com.android.gallery3d.exif;
28 * This class stores the EXIF header in IFDs according to the JPEG
213 * Decodes the user comment tag into string as specified in the EXIF
ExifModifier.java 17 package 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...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
MediaDetails.java 21 import com.android.gallery3d.exif.ExifInterface;
22 import com.android.gallery3d.exif.ExifTag;
23 import com.android.gallery3d.exif.Rational;
52 // for EXIF
136 ExifInterface exif = new ExifInterface(); local
138 exif.readExif(filePath);
140 Log.w(TAG, "Could not find file to read exif: " + filePath, e);
142 Log.w(TAG, "Could not read exif from file: " + filePath, e);
145 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH),
147 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH)
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
ExifData.java 17 package com.android.gallery3d.exif;
28 * This class stores the EXIF header in IFDs according to the JPEG
213 * Decodes the user comment tag into string as specified in the EXIF
ExifModifier.java 17 package 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...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraTest.java 99 // Some exif tags that are not defined by ExifInterface but supported.
808 ExifInterface exif = new ExifInterface(JPEG_PATH); local
876 ExifInterface exif = new ExifInterface(JPEG_PATH); local
1091 ExifInterface exif = new ExifInterface(JPEG_PATH); local
    [all...]
  /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/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...]
  /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...]

Completed in 564 milliseconds

1 23 4 5