Home
last modified time | relevance | path

Searched refs:ExifTag (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java777 public void setExif(Collection<ExifTag> tags) { in setExif()
1010 public boolean rewriteExif(String filename, Collection<ExifTag> tags) in rewriteExif()
1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException { in rewriteExif()
1072 for (ExifTag t : tags) { in rewriteExif()
1093 public void forceRewriteExif(String filename, Collection<ExifTag> tags) in forceRewriteExif()
1141 public List<ExifTag> getAllTags() { in getAllTags()
1154 public List<ExifTag> getTagsForTagId(short tagId) { in getTagsForTagId()
1167 public List<ExifTag> getTagsForIfdId(int ifdId) { in getTagsForIfdId()
1176 public ExifTag getTag(int tagId, int ifdId) { in getTag()
1177 if (!ExifTag.isValidIfd(ifdId)) { in getTag()
[all …]
DExifData.java128 if (ExifTag.isValidIfd(ifdId)) { in getIfdData()
159 protected ExifTag getTag(short tag, int ifd) { in getTag()
168 protected ExifTag addTag(ExifTag tag) { in addTag()
180 protected ExifTag addTag(ExifTag tag, int ifdId) { in addTag()
181 if (tag != null && ExifTag.isValidIfd(ifdId)) { in addTag()
221 ExifTag tag = ifdData.getTag(ExifInterface.getTrueTagKey(ExifInterface.TAG_USER_COMMENT)); in getUserComment()
255 protected List<ExifTag> getAllTags() { in getAllTags()
256 ArrayList<ExifTag> ret = new ArrayList<ExifTag>(); in getAllTags()
259 ExifTag[] tags = d.getAllTags(); in getAllTags()
261 for (ExifTag t : tags) { in getAllTags()
[all …]
DIfdData.java31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
57 protected ExifTag[] getAllTags() { in getAllTags()
58 return mExifTags.values().toArray(new ExifTag[mExifTags.size()]); in getAllTags()
78 protected ExifTag getTag(short tagId) { in getTag()
85 protected ExifTag setTag(ExifTag tag) { in setTag()
137 ExifTag[] tags = data.getAllTags(); in equals()
138 for (ExifTag tag : tags) { in equals()
142 ExifTag tag2 = mExifTags.get(tag.getTagId()); in equals()
DExifModifier.java39 final ExifTag mTag;
41 TagOffset(ExifTag tag, int offset) { in TagOffset()
110 ExifTag oldTag = parser.getTag(); in commit()
111 ExifTag newTag = currIfd.getTag(oldTag.getTagId()); in commit()
147 private void writeTagValue(ExifTag tag, int offset) { in writeTagValue()
154 case ExifTag.TYPE_ASCII: in writeTagValue()
164 case ExifTag.TYPE_LONG: in writeTagValue()
165 case ExifTag.TYPE_UNSIGNED_LONG: in writeTagValue()
170 case ExifTag.TYPE_RATIONAL: in writeTagValue()
171 case ExifTag.TYPE_UNSIGNED_RATIONAL: in writeTagValue()
[all …]
DExifOutputStream.java216 ArrayList<ExifTag> nullTags = stripNullValueTags(mExifData); in writeExifData()
238 for (ExifTag t : nullTags) { in writeExifData()
243 private ArrayList<ExifTag> stripNullValueTags(ExifData data) { in stripNullValueTags()
244 ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>(); in stripNullValueTags()
245 for(ExifTag t : data.getAllTags()) { in stripNullValueTags()
283 ExifTag[] tags = ifd.getAllTags(); in writeIfd()
285 for (ExifTag tag : tags) { in writeIfd()
302 for (ExifTag tag : tags) { in writeIfd()
311 ExifTag[] tags = ifd.getAllTags(); in calculateOffsetOfIfd()
312 for (ExifTag tag : tags) { in calculateOffsetOfIfd()
[all …]
DExifParser.java151 private ExifTag mTag;
154 private ExifTag mStripSizeTag;
155 private ExifTag mJpegSizeTag;
344 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) { in next()
431 protected ExifTag getTag() { in getTag()
512 protected void registerForTagValue(ExifTag tag) { in registerForTagValue()
533 private ExifTag readTag() throws IOException, ExifInvalidFormatException { in readTag()
542 if (!ExifTag.isValidType(dataFormat)) { in readTag()
548 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType, in readTag()
549 ((int) numOfComp) != ExifTag.SIZE_UNDEFINED); in readTag()
[all …]
DExifReader.java48 ExifTag tag = null; in read()
66 if (tag.getDataType() == ExifTag.TYPE_UNDEFINED) { in read()
DExifTag.java31 public class ExifTag { class
127 ExifTag(short tagId, short type, int componentCount, int ifd, in ExifTag() method in ExifTag
966 if (obj instanceof ExifTag) { in equals()
967 ExifTag tag = (ExifTag) obj; in equals()
/frameworks/base/media/java/android/media/
DExifInterface.java796 private static class ExifTag { class in ExifInterface
802 private ExifTag(String name, int number, int format) { in ExifTag() method in ExifInterface.ExifTag
809 private ExifTag(String name, int number, int primaryFormat, int secondaryFormat) { in ExifTag() method in ExifInterface.ExifTag
818 private static final ExifTag[] IFD_TIFF_TAGS = new ExifTag[] {
819 new ExifTag(TAG_IMAGE_WIDTH, 256, IFD_FORMAT_USHORT, IFD_FORMAT_ULONG),
820 new ExifTag(TAG_IMAGE_LENGTH, 257, IFD_FORMAT_USHORT, IFD_FORMAT_ULONG),
821 new ExifTag(TAG_BITS_PER_SAMPLE, 258, IFD_FORMAT_USHORT),
822 new ExifTag(TAG_COMPRESSION, 259, IFD_FORMAT_USHORT),
823 new ExifTag(TAG_PHOTOMETRIC_INTERPRETATION, 262, IFD_FORMAT_USHORT),
824 new ExifTag(TAG_IMAGE_DESCRIPTION, 270, IFD_FORMAT_STRING),
[all …]
/frameworks/base/
Dcompiled-classes-phone2351 android.media.ExifInterface$ExifTag