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

1 2 3 4 5

  /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 23 import com.android.camera.exif.ExifInterface;
40 private final ExifInterface mExif;
46 public ExifUtil(ExifInterface exif) {
87 addExifTag(ExifInterface.TAG_GPS_ALTITUDE, rational(altitude, ALTITUDE_PRECISION));
88 short altitudeRef = altitude < 0 ? ExifInterface.GpsAltitudeRef.SEA_LEVEL_NEGATIVE
89 : ExifInterface.GpsAltitudeRef.SEA_LEVEL;
90 addExifTag(ExifInterface.TAG_GPS_ALTITUDE_REF, altitudeRef);
95 addExifTag(ExifInterface.TAG_EXIF_VERSION, ExifInterface.EXIF_VERSION);
104 mExif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, timestampMs, timezone)
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
ExifInterfaceTest.java 24 import android.media.ExifInterface;
45 private static final String TAG = ExifInterface.class.getSimpleName();
62 ExifInterface.TAG_MAKE,
63 ExifInterface.TAG_MODEL,
64 ExifInterface.TAG_F_NUMBER,
65 ExifInterface.TAG_DATETIME,
66 ExifInterface.TAG_EXPOSURE_TIME,
67 ExifInterface.TAG_FLASH,
68 ExifInterface.TAG_FOCAL_LENGTH,
69 ExifInterface.TAG_GPS_ALTITUDE
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
ExifInterfaceTest.java 22 import android.media.ExifInterface;
43 private static final String TAG = ExifInterface.class.getSimpleName();
58 ExifInterface.TAG_MAKE,
59 ExifInterface.TAG_MODEL,
60 ExifInterface.TAG_F_NUMBER,
61 ExifInterface.TAG_DATETIME,
62 ExifInterface.TAG_EXPOSURE_TIME,
63 ExifInterface.TAG_FLASH,
64 ExifInterface.TAG_FOCAL_LENGTH,
65 ExifInterface.TAG_GPS_ALTITUDE
    [all...]
  /packages/apps/Camera2/src/com/android/camera/app/
MediaSaver.java 23 import com.android.camera.exif.ExifInterface;
69 * ExifInterface, OnMediaSavedListener, String)}
87 int orientation, ExifInterface exif, OnMediaSavedListener l);
109 int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType);
127 ExifInterface exif, OnMediaSavedListener l);
147 ExifInterface exif, OnMediaSavedListener l);
  /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 65 public class ExifInterface {
322 private static final Log.Tag TAG = new Log.Tag("ExifInterface");
716 public ExifInterface() {
721 * Reads the exif tags from a byte array, clearing this ExifInterface
732 * Reads the exif tags from an InputStream, clearing this ExifInterface
752 * 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 compresse
    [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...]
  /packages/apps/Messaging/src/com/android/messaging/util/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 84 private final ExifInterface mInterface;
86 protected ExifOutputStream(OutputStream ou, ExifInterface iRef) {
250 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) {
332 ExifTag exifOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_EXIF_IFD);
335 + ExifInterface.TAG_EXIF_IFD);
349 ExifTag gpsOffsetTag = mInterface.buildUninitializedTag(ExifInterface.TAG_GPS_IFD);
352 + ExifInterface.TAG_GPS_IFD);
361 .buildUninitializedTag(ExifInterface.TAG_INTEROPERABILITY_IFD);
364 + ExifInterface.TAG_INTEROPERABILITY_IFD);
380 .buildUninitializedTag(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)
    [all...]
  /packages/apps/WallpaperPicker/src/com/android/gallery3d/common/
ExifOrientation.java 19 import android.media.ExifInterface;
127 ExifInterface exif = new ExifInterface(filePath);
128 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 0)) {
129 case ExifInterface.ORIENTATION_ROTATE_90:
131 case ExifInterface.ORIENTATION_ROTATE_270:
133 case ExifInterface.ORIENTATION_ROTATE_180:
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 9 import android.media.ExifInterface;
162 ExifInterface exif = new ExifInterface(pathToOriginal);
163 int orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_UNDEFINED);
229 case ExifInterface.ORIENTATION_TRANSPOSE:
230 case ExifInterface.ORIENTATION_ROTATE_90:
233 case ExifInterface.ORIENTATION_ROTATE_180:
234 case ExifInterface.ORIENTATION_FLIP_VERTICAL:
237 case ExifInterface.ORIENTATION_TRANSVERSE
    [all...]
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
SnapshotDialogFragment.java 11 import android.media.ExifInterface;
134 private String getAttrib(ExifInterface exif, String tag) {
176 ExifInterface exif = new ExifInterface(targetFile.toString());
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);
186 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/Messaging/src/com/android/messaging/datamodel/media/
FileImageRequest.java 21 import android.media.ExifInterface;
52 final ExifInterface exif = new ExifInterface(mPath);
80 if (com.android.messaging.util.exif.ExifInterface.
  /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 710 milliseconds

1 2 3 4 5