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

/frameworks/base/packages/WallpaperCropper/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...]
H A DExifReader.java31 private final ExifInterface mInterface;
33 ExifReader(ExifInterface iRef) {
H A DExifModifier.java35 private final ExifInterface mInterface;
48 protected ExifModifier(ByteBuffer byteBuffer, ExifInterface iRef) throws IOException,
62 ExifInterface.closeSilently(is);
136 ExifInterface.closeSilently(is);
H A DIfdData.java139 if (ExifInterface.isOffsetTag(tag.getTagId())) {
H A DExifData.java221 ExifTag tag = ifdData.getTag(ExifInterface.getTrueTagKey(ExifInterface.TAG_USER_COMMENT));
/frameworks/base/media/java/android/media/
H A DExifInterface.java30 public class ExifInterface { class
119 public ExifInterface(String filename) throws IOException { method in class:ExifInterface
313 String latValue = mAttributes.get(ExifInterface.TAG_GPS_LATITUDE);
314 String latRef = mAttributes.get(ExifInterface.TAG_GPS_LATITUDE_REF);
315 String lngValue = mAttributes.get(ExifInterface.TAG_GPS_LONGITUDE);
316 String lngRef = mAttributes.get(ExifInterface.TAG_GPS_LONGITUDE_REF);
H A DThumbnailUtils.java482 ExifInterface exif = null;
485 exif = new ExifInterface(filePath);
H A DMediaScanner.java860 ExifInterface exif = null;
862 exif = new ExifInterface(entry.mPath);
888 ExifInterface.TAG_ORIENTATION, -1);
893 case ExifInterface.ORIENTATION_ROTATE_90:
896 case ExifInterface.ORIENTATION_ROTATE_180:
899 case ExifInterface.ORIENTATION_ROTATE_270:
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java33 import android.media.ExifInterface;
834 final ExifInterface exif = new ExifInterface(file.getAbsolutePath());
836 switch (exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, -1)) {
837 case ExifInterface.ORIENTATION_ROTATE_90:
841 case ExifInterface.ORIENTATION_ROTATE_180:
845 case ExifInterface.ORIENTATION_ROTATE_270:
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java38 import com.android.gallery3d.exif.ExifInterface;
171 ExifInterface ei = new ExifInterface();
173 Integer ori = ei.getTagIntValue(ExifInterface.TAG_ORIENTATION);
175 mRotation = ExifInterface.getRotationForOrientationValue(ori.shortValue());
221 public abstract boolean readExif(ExifInterface ei);
246 public boolean readExif(ExifInterface ei) {
303 public boolean readExif(ExifInterface ei) {
352 public boolean readExif(ExifInterface ei) {
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java47 import com.android.gallery3d.exif.ExifInterface;
254 ExifInterface ei = new ExifInterface();
269 Integer ori = ei.getTagIntValue(ExifInterface.TAG_ORIENTATION);
271 return ExifInterface.getRotationForOrientationValue(ori.shortValue());

Completed in 150 milliseconds