Home
last modified time | relevance | path

Searched refs:ExifTag (Results 1 – 12 of 12) 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.java1067 private static class ExifTag { class in ExifInterface
1073 private ExifTag(String name, int number, int format) { in ExifTag() method in ExifInterface.ExifTag
1080 private ExifTag(String name, int number, int primaryFormat, int secondaryFormat) { in ExifTag() method in ExifInterface.ExifTag
1089 private static final ExifTag[] IFD_TIFF_TAGS = new ExifTag[] {
1091 new ExifTag(TAG_NEW_SUBFILE_TYPE, 254, IFD_FORMAT_ULONG),
1092 new ExifTag(TAG_SUBFILE_TYPE, 255, IFD_FORMAT_ULONG),
1093 new ExifTag(TAG_IMAGE_WIDTH, 256, IFD_FORMAT_USHORT, IFD_FORMAT_ULONG),
1094 new ExifTag(TAG_IMAGE_LENGTH, 257, IFD_FORMAT_USHORT, IFD_FORMAT_ULONG),
1095 new ExifTag(TAG_BITS_PER_SAMPLE, 258, IFD_FORMAT_USHORT),
1096 new ExifTag(TAG_COMPRESSION, 259, IFD_FORMAT_USHORT),
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.cpp201 ExifTag tag, ExifFormat format, uint64_t components, unsigned int size);
207 virtual std::unique_ptr<ExifEntry> addEntry(ExifIfd ifd, ExifTag tag);
210 virtual bool setShort(ExifIfd ifd, ExifTag tag, uint16_t value, const std::string& msg);
212 virtual bool setLong(ExifIfd ifd, ExifTag tag, uint32_t value, const std::string& msg);
214 virtual bool setRational(ExifIfd ifd, ExifTag tag, uint32_t numerator,
217 virtual bool setSRational(ExifIfd ifd, ExifTag tag, int32_t numerator,
220 virtual bool setString(ExifIfd ifd, ExifTag tag, ExifFormat format,
480 ExifTag refTag = static_cast<ExifTag>(EXIF_TAG_GPS_ALTITUDE_REF); in setGpsAltitude()
494 ExifTag tag = static_cast<ExifTag>(EXIF_TAG_GPS_ALTITUDE); in setGpsAltitude()
509 const ExifTag refTag = static_cast<ExifTag>(EXIF_TAG_GPS_LATITUDE_REF); in setGpsLatitude()
[all …]
/frameworks/base/config/
Dpreloaded-classes3669 android.media.ExifInterface$ExifTag
Dboot-image-profile.txt43854 Landroid/media/ExifInterface$ExifTag;