Searched refs:ExifTag (Results 1 - 25 of 44) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/exif/
H A DIfdData.java26 * @see ExifTag
31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
55 * Get a array the contains all {@link ExifTag} in this IFD.
57 protected ExifTag[] getAllTags() {
58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]);
75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
78 protected ExifTag getTag(short tagId) {
83 * Adds or replaces a {@link ExifTag}.
85 protected ExifTag setTa
[all...]
H A DExifInterface.java57 * Each ExifTag has a tag ID (TID) and is stored in a specific image file
63 * @see ExifTag
777 public void setExif(Collection<ExifTag> tags) {
995 public boolean rewriteExif(String filename, Collection<ExifTag> tags)
1050 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException {
1054 for (ExifTag t : tags) {
1075 public void forceRewriteExif(String filename, Collection<ExifTag> tags)
1118 * @return a List of {@link ExifTag}s.
1120 public List<ExifTag> getAllTags() {
1131 * @return a List of {@link ExifTag}
[all...]
H A DExifData.java128 if (ExifTag.isValidIfd(ifdId)) {
159 protected ExifTag getTag(short tag, int ifd) {
165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag
168 protected ExifTag addTag(ExifTag tag) {
177 * Adds the given ExifTag to the given IFD and returns an existing ExifTag
180 protected ExifTag addTag(ExifTag ta
[all...]
H A DExifModifier.java39 final ExifTag mTag;
41 TagOffset(ExifTag tag, int offset) {
110 ExifTag oldTag = parser.getTag();
111 ExifTag newTag = currIfd.getTag(oldTag.getTagId());
147 private void writeTagValue(ExifTag tag, int offset) {
154 case ExifTag.TYPE_ASCII:
164 case ExifTag.TYPE_LONG:
165 case ExifTag.TYPE_UNSIGNED_LONG:
170 case ExifTag.TYPE_RATIONAL:
171 case ExifTag
[all...]
H A DExifParser.java46 * ExifTag tag = parser.getTag();
55 * if (tag.getDataType() != ExifTag.TYPE_UNDEFINED) {
64 * void processTag(ExifTag tag) {
84 * {@link #registerForTagValue(ExifTag)} previously. Call {@link #getTag()}
151 private ExifTag mTag;
154 private ExifTag mStripSizeTag;
155 private ExifTag mJpegSizeTag;
344 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) {
414 * {@link ExifTag#hasValue()} to check if the tag contains value. If there
415 * is no value,call {@link #registerForTagValue(ExifTag)} t
[all...]
H A DExifOutputStream.java216 ArrayList<ExifTag> nullTags = stripNullValueTags(mExifData);
238 for (ExifTag t : nullTags) {
243 private ArrayList<ExifTag> stripNullValueTags(ExifData data) {
244 ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>();
245 for(ExifTag t : data.getAllTags()) {
283 ExifTag[] tags = ifd.getAllTags();
285 for (ExifTag tag : tags) {
302 for (ExifTag tag : tags) {
311 ExifTag[] tag
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DIfdData.java26 * @see ExifTag
31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
55 * Get a array the contains all {@link ExifTag} in this IFD.
57 protected ExifTag[] getAllTags() {
58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]);
75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
78 protected ExifTag getTag(short tagId) {
83 * Adds or replaces a {@link ExifTag}.
85 protected ExifTag setTa
[all...]
H A DExifInterface.java56 * Each ExifTag has a tag ID (TID) and is stored in a specific image file
62 * @see ExifTag
777 public void setExif(Collection<ExifTag> tags) {
1010 public boolean rewriteExif(String filename, Collection<ExifTag> tags)
1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException {
1072 for (ExifTag t : tags) {
1093 public void forceRewriteExif(String filename, Collection<ExifTag> tags)
1139 * @return a List of {@link ExifTag}s.
1141 public List<ExifTag> getAllTags() {
1152 * @return a List of {@link ExifTag}
[all...]
H A DExifData.java128 if (ExifTag.isValidIfd(ifdId)) {
159 protected ExifTag getTag(short tag, int ifd) {
165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag
168 protected ExifTag addTag(ExifTag tag) {
177 * Adds the given ExifTag to the given IFD and returns an existing ExifTag
180 protected ExifTag addTag(ExifTag ta
[all...]
H A DExifModifier.java40 final ExifTag mTag;
42 TagOffset(ExifTag tag, int offset) {
111 ExifTag oldTag = parser.getTag();
112 ExifTag newTag = currIfd.getTag(oldTag.getTagId());
148 private void writeTagValue(ExifTag tag, int offset) {
155 case ExifTag.TYPE_ASCII:
165 case ExifTag.TYPE_LONG:
166 case ExifTag.TYPE_UNSIGNED_LONG:
171 case ExifTag.TYPE_RATIONAL:
172 case ExifTag
[all...]
H A DExifParser.java46 * ExifTag tag = parser.getTag();
55 * if (tag.getDataType() != ExifTag.TYPE_UNDEFINED) {
64 * void processTag(ExifTag tag) {
84 * {@link #registerForTagValue(ExifTag)} previously. Call {@link #getTag()}
151 private ExifTag mTag;
154 private ExifTag mStripSizeTag;
155 private ExifTag mJpegSizeTag;
344 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) {
414 * {@link ExifTag#hasValue()} to check if the tag contains value. If there
415 * is no value,call {@link #registerForTagValue(ExifTag)} t
[all...]
H A DExifOutputStream.java216 ArrayList<ExifTag> nullTags = stripNullValueTags(mExifData);
238 for (ExifTag t : nullTags) {
243 private ArrayList<ExifTag> stripNullValueTags(ExifData data) {
244 ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>();
245 for(ExifTag t : data.getAllTags()) {
283 ExifTag[] tags = ifd.getAllTags();
285 for (ExifTag tag : tags) {
302 for (ExifTag tag : tags) {
311 ExifTag[] tag
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DIfdData.java26 * @see ExifTag
31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
55 * Get a array the contains all {@link ExifTag} in this IFD.
57 protected ExifTag[] getAllTags() {
58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]);
75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
78 protected ExifTag getTag(short tagId) {
83 * Adds or replaces a {@link ExifTag}.
85 protected ExifTag setTa
[all...]
H A DExifInterface.java56 * Each ExifTag has a tag ID (TID) and is stored in a specific image file
62 * @see ExifTag
777 public void setExif(Collection<ExifTag> tags) {
1010 public boolean rewriteExif(String filename, Collection<ExifTag> tags)
1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException {
1072 for (ExifTag t : tags) {
1093 public void forceRewriteExif(String filename, Collection<ExifTag> tags)
1139 * @return a List of {@link ExifTag}s.
1141 public List<ExifTag> getAllTags() {
1152 * @return a List of {@link ExifTag}
[all...]
H A DExifData.java128 if (ExifTag.isValidIfd(ifdId)) {
159 protected ExifTag getTag(short tag, int ifd) {
165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag
168 protected ExifTag addTag(ExifTag tag) {
177 * Adds the given ExifTag to the given IFD and returns an existing ExifTag
180 protected ExifTag addTag(ExifTag ta
[all...]
H A DExifModifier.java39 final ExifTag mTag;
41 TagOffset(ExifTag tag, int offset) {
110 ExifTag oldTag = parser.getTag();
111 ExifTag newTag = currIfd.getTag(oldTag.getTagId());
147 private void writeTagValue(ExifTag tag, int offset) {
154 case ExifTag.TYPE_ASCII:
164 case ExifTag.TYPE_LONG:
165 case ExifTag.TYPE_UNSIGNED_LONG:
170 case ExifTag.TYPE_RATIONAL:
171 case ExifTag
[all...]
H A DExifParser.java46 * ExifTag tag = parser.getTag();
55 * if (tag.getDataType() != ExifTag.TYPE_UNDEFINED) {
64 * void processTag(ExifTag tag) {
84 * {@link #registerForTagValue(ExifTag)} previously. Call {@link #getTag()}
151 private ExifTag mTag;
154 private ExifTag mStripSizeTag;
155 private ExifTag mJpegSizeTag;
344 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) {
414 * {@link ExifTag#hasValue()} to check if the tag contains value. If there
415 * is no value,call {@link #registerForTagValue(ExifTag)} t
[all...]
H A DExifOutputStream.java216 ArrayList<ExifTag> nullTags = stripNullValueTags(mExifData);
238 for (ExifTag t : nullTags) {
243 private ArrayList<ExifTag> stripNullValueTags(ExifData data) {
244 ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>();
245 for(ExifTag t : data.getAllTags()) {
283 ExifTag[] tags = ifd.getAllTags();
285 for (ExifTag tag : tags) {
302 for (ExifTag tag : tags) {
311 ExifTag[] tag
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DIfdData.java26 * @see ExifTag
31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
55 * Get a array the contains all {@link ExifTag} in this IFD.
57 protected ExifTag[] getAllTags() {
58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]);
75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
78 protected ExifTag getTag(short tagId) {
83 * Adds or replaces a {@link ExifTag}.
85 protected ExifTag setTa
[all...]
H A DExifInterface.java56 * Each ExifTag has a tag ID (TID) and is stored in a specific image file
62 * @see ExifTag
777 public void setExif(Collection<ExifTag> tags) {
1010 public boolean rewriteExif(String filename, Collection<ExifTag> tags)
1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException {
1072 for (ExifTag t : tags) {
1093 public void forceRewriteExif(String filename, Collection<ExifTag> tags)
1139 * @return a List of {@link ExifTag}s.
1141 public List<ExifTag> getAllTags() {
1152 * @return a List of {@link ExifTag}
[all...]
H A DExifData.java129 if (ExifTag.isValidIfd(ifdId)) {
160 protected ExifTag getTag(short tag, int ifd) {
166 * Adds the given ExifTag to its default IFD and returns an existing ExifTag
169 protected ExifTag addTag(ExifTag tag) {
178 * Adds the given ExifTag to the given IFD and returns an existing ExifTag
181 protected ExifTag addTag(ExifTag ta
[all...]
H A DExifModifier.java40 final ExifTag mTag;
42 TagOffset(ExifTag tag, int offset) {
111 ExifTag oldTag = parser.getTag();
112 ExifTag newTag = currIfd.getTag(oldTag.getTagId());
148 private void writeTagValue(ExifTag tag, int offset) {
155 case ExifTag.TYPE_ASCII:
165 case ExifTag.TYPE_LONG:
166 case ExifTag.TYPE_UNSIGNED_LONG:
171 case ExifTag.TYPE_RATIONAL:
172 case ExifTag
[all...]
H A DExifParser.java47 * ExifTag tag = parser.getTag();
56 * if (tag.getDataType() != ExifTag.TYPE_UNDEFINED) {
65 * void processTag(ExifTag tag) {
85 * {@link #registerForTagValue(ExifTag)} previously. Call {@link #getTag()}
152 private ExifTag mTag;
155 private ExifTag mStripSizeTag;
156 private ExifTag mJpegSizeTag;
345 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) {
415 * {@link ExifTag#hasValue()} to check if the tag contains value. If there
416 * is no value,call {@link #registerForTagValue(ExifTag)} t
[all...]
H A DExifOutputStream.java217 ArrayList<ExifTag> nullTags = stripNullValueTags(mExifData);
239 for (ExifTag t : nullTags) {
244 private ArrayList<ExifTag> stripNullValueTags(ExifData data) {
245 ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>();
249 for (ExifTag t : data.getAllTags()) {
287 ExifTag[] tags = ifd.getAllTags();
289 for (ExifTag tag : tags) {
306 for (ExifTag tag : tags) {
315 ExifTag[] tag
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DExif.java23 import com.android.gallery3d.exif.ExifTag;
43 ExifTag tag = parser.getTag();
44 if (tag.getTagId() == ExifTag.TAG_ORIENTATION &&
48 case ExifTag.Orientation.TOP_LEFT:
50 case ExifTag.Orientation.BOTTOM_LEFT:
52 case ExifTag.Orientation.RIGHT_TOP:
54 case ExifTag.Orientation.RIGHT_BOTTOM:

Completed in 395 milliseconds

12