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

1 2 3 4

  /packages/apps/Camera2/src/com/android/camera/
Exif.java 21 import com.android.camera.exif.ExifInterface;
28 public static ExifInterface getExif(byte[] jpegData) {
29 ExifInterface exif = new ExifInterface();
39 public static int getOrientation(ExifInterface exif) {
40 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION);
44 return ExifInterface.getRotationForOrientationValue(val.shortValue());
51 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/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/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 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...]
  /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...]
RotationTask.java 27 import com.android.camera.exif.ExifInterface;
98 ExifInterface exifInterface = new ExifInterface();
99 ExifTag tag = exifInterface.buildTag(
100 ExifInterface.TAG_ORIENTATION,
101 ExifInterface.getOrientationValueForRotation(
104 exifInterface.setTag(tag);
107 exifInterface.forceRewriteExif(filePath);
118 Log.w(TAG, "Cannot build tag: " + ExifInterface.TAG_ORIENTATION)
    [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...]
  /packages/apps/Camera2/src/com/android/camera/crop/
ImageLoader.java 33 import com.android.camera.exif.ExifInterface;
48 public static final int ORI_NORMAL = ExifInterface.Orientation.TOP_LEFT;
49 public static final int ORI_ROTATE_90 = ExifInterface.Orientation.RIGHT_TOP;
50 public static final int ORI_ROTATE_180 = ExifInterface.Orientation.BOTTOM_LEFT;
51 public static final int ORI_ROTATE_270 = ExifInterface.Orientation.RIGHT_BOTTOM;
52 public static final int ORI_FLIP_HOR = ExifInterface.Orientation.TOP_RIGHT;
53 public static final int ORI_FLIP_VERT = ExifInterface.Orientation.BOTTOM_RIGHT;
54 public static final int ORI_TRANSPOSE = ExifInterface.Orientation.LEFT_TOP;
55 public static final int ORI_TRANSVERSE = ExifInterface.Orientation.LEFT_BOTTOM;
130 ExifInterface exif = new ExifInterface()
    [all...]

Completed in 190 milliseconds

1 2 3 4