HomeSort by relevance Sort by last modified time
    Searched refs:ExifInterface (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /packages/apps/Camera2/src/com/android/camera/
Exif.java 20 import com.android.camera.exif.ExifInterface;
27 public static ExifInterface getExif(byte[] jpegData) {
28 ExifInterface exif = new ExifInterface();
38 public static int getOrientation(ExifInterface exif) {
39 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION);
43 return ExifInterface.getRotationForOrientationValue(val.shortValue());
50 ExifInterface exif = getExif(jpegData);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
Exif.java 21 import com.android.gallery3d.exif.ExifInterface;
36 ExifInterface exif = new ExifInterface();
39 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION);
43 return ExifInterface.getRotationForOrientationValue(val.shortValue());
56 public static ExifInterface getExif(byte[] jpegData) {
57 ExifInterface exif = new ExifInterface();
69 public static int getOrientation(ExifInterface exif) {
70 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION)
    [all...]
MediaDetails.java 21 import com.android.gallery3d.exif.ExifInterface;
136 ExifInterface exif = new ExifInterface();
145 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH),
147 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH),
149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH),
151 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE),
153 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL),
155 setExifData(details, exif.getTag(ExifInterface.TAG_APERTURE_VALUE),
157 setExifData(details, exif.getTag(ExifInterface.TAG_ISO_SPEED_RATINGS)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
ExifUtil.java 21 import com.android.camera.exif.ExifInterface;
34 public static void addLocationToExif(ExifInterface exif, Location location) {
42 short altitudeRef = altitude < 0 ? ExifInterface.GpsAltitudeRef.SEA_LEVEL_NEGATIVE
43 : ExifInterface.GpsAltitudeRef.SEA_LEVEL;
44 exif.setTag(exif.buildTag(ExifInterface.TAG_GPS_ALTITUDE_REF, altitudeRef));
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 11 import android.media.ExifInterface;
136 ExifInterface exif = new ExifInterface(pathToOriginal);
137 int orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_UNDEFINED);
138 if (orientation == ExifInterface.ORIENTATION_ROTATE_90){
140 } else if (orientation == ExifInterface.ORIENTATION_ROTATE_180){
142 } else if (orientation == ExifInterface.ORIENTATION_ROTATE_270){
207 case ExifInterface.ORIENTATION_TRANSPOSE:
208 case ExifInterface.ORIENTATION_ROTATE_90
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/drawables/
DataUriThumbnailDrawable.java 19 import android.media.ExifInterface;
33 ExifInterface exif = new ExifInterface(data);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
ExifInterface.java 64 public class ExifInterface {
713 public ExifInterface() {
718 * Reads the exif tags from a byte array, clearing this ExifInterface
729 * Reads the exif tags from an InputStream, clearing this ExifInterface
749 * Reads the exif tags from a file, clearing this ExifInterface object's
772 * Sets the exif tags, clearing this ExifInterface object's existing exif
783 * Clears this ExifInterface object's existing exif tags.
790 * Writes the tags from this ExifInterface object into a jpeg image,
808 * Writes the tags from this ExifInterface object into a jpeg compressed
826 * Writes the tags from this ExifInterface object into a jpeg stream
    [all...]
ExifOutputStream.java 83 private final ExifInterface mInterface;
85 protected ExifOutputStream(OutputStream ou, ExifInterface iRef) {
246 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) {
328 ExifTag exifOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_EXIF_IFD);
331 + ExifInterface.TAG_EXIF_IFD);
345 ExifTag gpsOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_GPS_IFD);
348 + ExifInterface.TAG_GPS_IFD);
357 .buildUninitializedTag(ExifInterface.TAG_INTEROPERABILITY_IFD);
360 + ExifInterface.TAG_INTEROPERABILITY_IFD);
376 .buildUninitializedTag(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)
    [all...]
ExifParser.java 163 private final ExifInterface mInterface;
165 private static final short TAG_EXIF_IFD = ExifInterface
166 .getTrueTagKey(ExifInterface.TAG_EXIF_IFD);
167 private static final short TAG_GPS_IFD = ExifInterface.getTrueTagKey(ExifInterface.TAG_GPS_IFD);
168 private static final short TAG_INTEROPERABILITY_IFD = ExifInterface
169 .getTrueTagKey(ExifInterface.TAG_INTEROPERABILITY_IFD);
170 private static final short TAG_JPEG_INTERCHANGE_FORMAT = ExifInterface
171 .getTrueTagKey(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT);
172 private static final short TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = ExifInterface
    [all...]
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifInterface.java 64 public class ExifInterface {
713 public ExifInterface() {
718 * Reads the exif tags from a byte array, clearing this ExifInterface
729 * Reads the exif tags from an InputStream, clearing this ExifInterface
749 * Reads the exif tags from a file, clearing this ExifInterface object's
772 * Sets the exif tags, clearing this ExifInterface object's existing exif
783 * Clears this ExifInterface object's existing exif tags.
790 * Writes the tags from this ExifInterface object into a jpeg image,
808 * Writes the tags from this ExifInterface object into a jpeg compressed
826 * Writes the tags from this ExifInterface object into a jpeg stream
    [all...]
ExifOutputStream.java 83 private final ExifInterface mInterface;
85 protected ExifOutputStream(OutputStream ou, ExifInterface iRef) {
246 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) {
328 ExifTag exifOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_EXIF_IFD);
331 + ExifInterface.TAG_EXIF_IFD);
345 ExifTag gpsOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_GPS_IFD);
348 + ExifInterface.TAG_GPS_IFD);
357 .buildUninitializedTag(ExifInterface.TAG_INTEROPERABILITY_IFD);
360 + ExifInterface.TAG_INTEROPERABILITY_IFD);
376 .buildUninitializedTag(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)
    [all...]
ExifParser.java 163 private final ExifInterface mInterface;
165 private static final short TAG_EXIF_IFD = ExifInterface
166 .getTrueTagKey(ExifInterface.TAG_EXIF_IFD);
167 private static final short TAG_GPS_IFD = ExifInterface.getTrueTagKey(ExifInterface.TAG_GPS_IFD);
168 private static final short TAG_INTEROPERABILITY_IFD = ExifInterface
169 .getTrueTagKey(ExifInterface.TAG_INTEROPERABILITY_IFD);
170 private static final short TAG_JPEG_INTERCHANGE_FORMAT = ExifInterface
171 .getTrueTagKey(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT);
172 private static final short TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = ExifInterface
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifInterface.java 64 public class ExifInterface {
713 public ExifInterface() {
718 * Reads the exif tags from a byte array, clearing this ExifInterface
729 * Reads the exif tags from an InputStream, clearing this ExifInterface
749 * Reads the exif tags from a file, clearing this ExifInterface object's
772 * Sets the exif tags, clearing this ExifInterface object's existing exif
783 * Clears this ExifInterface object's existing exif tags.
790 * Writes the tags from this ExifInterface object into a jpeg image,
808 * Writes the tags from this ExifInterface object into a jpeg compressed
826 * Writes the tags from this ExifInterface object into a jpeg stream
    [all...]
ExifOutputStream.java 83 private final ExifInterface mInterface;
85 protected ExifOutputStream(OutputStream ou, ExifInterface iRef) {
246 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) {
328 ExifTag exifOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_EXIF_IFD);
331 + ExifInterface.TAG_EXIF_IFD);
345 ExifTag gpsOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_GPS_IFD);
348 + ExifInterface.TAG_GPS_IFD);
357 .buildUninitializedTag(ExifInterface.TAG_INTEROPERABILITY_IFD);
360 + ExifInterface.TAG_INTEROPERABILITY_IFD);
376 .buildUninitializedTag(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)
    [all...]
ExifParser.java 163 private final ExifInterface mInterface;
165 private static final short TAG_EXIF_IFD = ExifInterface
166 .getTrueTagKey(ExifInterface.TAG_EXIF_IFD);
167 private static final short TAG_GPS_IFD = ExifInterface.getTrueTagKey(ExifInterface.TAG_GPS_IFD);
168 private static final short TAG_INTEROPERABILITY_IFD = ExifInterface
169 .getTrueTagKey(ExifInterface.TAG_INTEROPERABILITY_IFD);
170 private static final short TAG_JPEG_INTERCHANGE_FORMAT = ExifInterface
171 .getTrueTagKey(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT);
172 private static final short TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = ExifInterface
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
ExifInterface.java 64 public class ExifInterface {
713 public ExifInterface() {
718 * Reads the exif tags from a byte array, clearing this ExifInterface
729 * Reads the exif tags from an InputStream, clearing this ExifInterface
749 * Reads the exif tags from a file, clearing this ExifInterface object's
772 * Sets the exif tags, clearing this ExifInterface object's existing exif
783 * Clears this ExifInterface object's existing exif tags.
790 * Writes the tags from this ExifInterface object into a jpeg image,
808 * Writes the tags from this ExifInterface object into a jpeg compressed
826 * Writes the tags from this ExifInterface object into a jpeg stream
    [all...]
ExifOutputStream.java 83 private final ExifInterface mInterface;
85 protected ExifOutputStream(OutputStream ou, ExifInterface iRef) {
246 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) {
328 ExifTag exifOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_EXIF_IFD);
331 + ExifInterface.TAG_EXIF_IFD);
345 ExifTag gpsOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_GPS_IFD);
348 + ExifInterface.TAG_GPS_IFD);
357 .buildUninitializedTag(ExifInterface.TAG_INTEROPERABILITY_IFD);
360 + ExifInterface.TAG_INTEROPERABILITY_IFD);
376 .buildUninitializedTag(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)
    [all...]
ExifParser.java 163 private final ExifInterface mInterface;
165 private static final short TAG_EXIF_IFD = ExifInterface
166 .getTrueTagKey(ExifInterface.TAG_EXIF_IFD);
167 private static final short TAG_GPS_IFD = ExifInterface.getTrueTagKey(ExifInterface.TAG_GPS_IFD);
168 private static final short TAG_INTEROPERABILITY_IFD = ExifInterface
169 .getTrueTagKey(ExifInterface.TAG_INTEROPERABILITY_IFD);
170 private static final short TAG_JPEG_INTERCHANGE_FORMAT = ExifInterface
171 .getTrueTagKey(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT);
172 private static final short TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = ExifInterface
    [all...]
  /packages/apps/Mms/src/com/android/mms/exif/
ExifInterface.java 64 public class ExifInterface {
713 public ExifInterface() {
718 * Reads the exif tags from a byte array, clearing this ExifInterface
729 * Reads the exif tags from an InputStream, clearing this ExifInterface
749 * Reads the exif tags from a file, clearing this ExifInterface object's
772 * Sets the exif tags, clearing this ExifInterface object's existing exif
783 * Clears this ExifInterface object's existing exif tags.
790 * Writes the tags from this ExifInterface object into a jpeg image,
808 * Writes the tags from this ExifInterface object into a jpeg compressed
826 * Writes the tags from this ExifInterface object into a jpeg stream
    [all...]
ExifOutputStream.java 85 private final ExifInterface mInterface;
87 protected ExifOutputStream(OutputStream ou, ExifInterface iRef) {
248 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) {
330 ExifTag exifOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_EXIF_IFD);
333 + ExifInterface.TAG_EXIF_IFD);
347 ExifTag gpsOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_GPS_IFD);
350 + ExifInterface.TAG_GPS_IFD);
359 .buildUninitializedTag(ExifInterface.TAG_INTEROPERABILITY_IFD);
362 + ExifInterface.TAG_INTEROPERABILITY_IFD);
378 .buildUninitializedTag(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/app/
MediaSaver.java 24 import com.android.camera.exif.ExifInterface;
85 int orientation, ExifInterface exif, OnMediaSavedListener l, ContentResolver resolver);
105 ExifInterface exif, OnMediaSavedListener l, ContentResolver resolver);
127 ExifInterface exif, OnMediaSavedListener l, ContentResolver resolver);
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
SnapshotDialogFragment.java 9 import android.media.ExifInterface;
121 private String getAttrib(ExifInterface exif, String tag) {
155 ExifInterface exif = new ExifInterface(targetFile.toString());
157 String aperture = getAttrib(exif, ExifInterface.TAG_APERTURE);
159 String dateTime = getAttrib(exif, ExifInterface.TAG_DATETIME);
160 String exposureTime = getAttrib(exif, ExifInterface.TAG_EXPOSURE_TIME);
161 int flash = exif.getAttributeInt(ExifInterface.TAG_FLASH, 0);
162 double focalLength = exif.getAttributeDouble(ExifInterface.TAG_FOCAL_LENGTH, 0);
165 String gpsDatestamp = getAttrib(exif, ExifInterface.TAG_GPS_DATESTAMP)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
Image.java 26 import android.media.ExifInterface;
41 private ExifInterface mExif;
93 mExif = new ExifInterface(mDataPath);
110 int orientation = ExifInterface.ORIENTATION_NORMAL;
113 orientation = ExifInterface.ORIENTATION_NORMAL;
116 orientation = ExifInterface.ORIENTATION_ROTATE_90;
119 orientation = ExifInterface.ORIENTATION_ROTATE_180;
122 orientation = ExifInterface.ORIENTATION_ROTATE_270;
126 replaceExifTag(ExifInterface.TAG_ORIENTATION,
  /packages/apps/Camera2/src/com/android/camera/data/
MediaDetails.java 23 import com.android.camera.exif.ExifInterface;
138 ExifInterface exif = new ExifInterface();
147 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH),
149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH),
151 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH),
153 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE),
155 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL),
157 setExifData(details, exif.getTag(ExifInterface.TAG_APERTURE_VALUE),
159 setExifData(details, exif.getTag(ExifInterface.TAG_ISO_SPEED_RATINGS)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
InfoPanel.java 34 import com.android.gallery3d.exif.ExifInterface;
53 if (tagId == ExifInterface.getTrueTagKey(tag)) {
103 ExifInterface.TAG_MODEL,
106 ExifInterface.TAG_APERTURE_VALUE,
109 ExifInterface.TAG_FOCAL_LENGTH,
112 ExifInterface.TAG_ISO_SPEED_RATINGS,
115 ExifInterface.TAG_SUBJECT_DISTANCE,
118 ExifInterface.TAG_DATE_TIME_ORIGINAL,
121 ExifInterface.TAG_F_NUMBER,
124 ExifInterface.TAG_EXPOSURE_TIME
    [all...]

Completed in 564 milliseconds

1 2 3 4