Searched refs:ExifInterface (Results 1 - 25 of 61) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/
H A DExif.java20 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/
H A DExif.java21 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
[all...]
H A DMediaDetails.java21 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
[all...]
/packages/apps/Camera2/src/com/android/camera/util/
H A DExifUtil.java21 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));
/packages/apps/Gallery2/src/com/android/photos/drawables/
H A DDataUriThumbnailDrawable.java19 import android.media.ExifInterface;
33 ExifInterface exif = new ExifInterface(data);
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java64 public class ExifInterface { class
713 public ExifInterface() { method in class: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 objec
[all...]
H A DExifOutputStream.java83 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
[all...]
H A DExifParser.java163 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/
H A DExifInterface.java64 public class ExifInterface { class
713 public ExifInterface() { method in class: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 objec
[all...]
H A DExifOutputStream.java83 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
[all...]
H A DExifParser.java163 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/
H A DExifInterface.java64 public class ExifInterface { class
713 public ExifInterface() { method in class: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 objec
[all...]
H A DExifOutputStream.java83 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
[all...]
H A DExifParser.java163 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/
H A DExifInterface.java64 public class ExifInterface { class
713 public ExifInterface() { method in class: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 objec
[all...]
H A DExifOutputStream.java85 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
[all...]
H A DExifParser.java165 private final ExifInterface mInterface;
167 private static final short TAG_EXIF_IFD = ExifInterface
168 .getTrueTagKey(ExifInterface.TAG_EXIF_IFD);
169 private static final short TAG_GPS_IFD = ExifInterface.getTrueTagKey(ExifInterface.TAG_GPS_IFD);
170 private static final short TAG_INTEROPERABILITY_IFD = ExifInterface
171 .getTrueTagKey(ExifInterface.TAG_INTEROPERABILITY_IFD);
172 private static final short TAG_JPEG_INTERCHANGE_FORMAT = ExifInterface
173 .getTrueTagKey(ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT);
174 private static final short TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = ExifInterface
[all...]
/packages/apps/Camera2/src/com/android/camera/app/
H A DMediaSaver.java24 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);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImage.java26 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/
H A DMediaDetails.java23 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
[all...]
H A DRotationTask.java27 import com.android.camera.exif.ExifInterface;
98 ExifInterface exifInterface = new ExifInterface();
100 ExifInterface.TAG_ORIENTATION,
101 ExifInterface.getOrientationValueForRotation(
118 Log.w(TAG, "Cannot build tag: " + ExifInterface.TAG_ORIENTATION);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
H A DInfoPanel.java34 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
[all...]
/packages/apps/Camera2/src/com/android/camera/session/
H A DCaptureSession.java23 import com.android.camera.exif.ExifInterface;
121 ExifInterface exif, OnMediaSavedListener listener);
H A DCaptureSessionManager.java23 import com.android.camera.exif.ExifInterface;
105 int orientation, ExifInterface exif, OnMediaSavedListener listener);
/packages/apps/Camera2/src_pd/com/android/camera/util/
H A DUsageStatistics.java22 import com.android.camera.exif.ExifInterface;
62 public void photoCaptureDoneEvent(int mode, String fileRef, ExifInterface exifRef,

Completed in 326 milliseconds

123