Home
last modified time | relevance | path

Searched refs:ifdId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java347 public static int defineTag(int ifdId, short tagId) { in defineTag() argument
348 return (tagId & 0x0000ffff) | (ifdId << 16); in defineTag()
1167 public List<ExifTag> getTagsForIfdId(int ifdId) { in getTagsForIfdId() argument
1168 return mData.getAllTagsForIfd(ifdId); in getTagsForIfdId()
1176 public ExifTag getTag(int tagId, int ifdId) { in getTag() argument
1177 if (!ExifTag.isValidIfd(ifdId)) { in getTag()
1180 return mData.getTag(getTrueTagKey(tagId), ifdId); in getTag()
1191 int ifdId = getDefinedTagDefaultIfd(tagId); in getTag() local
1192 return getTag(tagId, ifdId); in getTag()
1200 public Object getTagValue(int tagId, int ifdId) { in getTagValue() argument
[all …]
DExifData.java127 protected IfdData getIfdData(int ifdId) { in getIfdData() argument
128 if (ExifTag.isValidIfd(ifdId)) { in getIfdData()
129 return mIfdDatas[ifdId]; in getIfdData()
146 protected IfdData getOrCreateIfdData(int ifdId) { in getOrCreateIfdData() argument
147 IfdData ifdData = mIfdDatas[ifdId]; in getOrCreateIfdData()
149 ifdData = new IfdData(ifdId); in getOrCreateIfdData()
150 mIfdDatas[ifdId] = ifdData; in getOrCreateIfdData()
180 protected ExifTag addTag(ExifTag tag, int ifdId) { in addTag() argument
181 if (tag != null && ExifTag.isValidIfd(ifdId)) { in addTag()
182 IfdData ifdData = getOrCreateIfdData(ifdId); in addTag()
[all …]
DExifTag.java110 public static boolean isValidIfd(int ifdId) { in isValidIfd() argument
111 return ifdId == IfdId.TYPE_IFD_0 || ifdId == IfdId.TYPE_IFD_1 in isValidIfd()
112 || ifdId == IfdId.TYPE_IFD_EXIF || ifdId == IfdId.TYPE_IFD_INTEROPERABILITY in isValidIfd()
113 || ifdId == IfdId.TYPE_IFD_GPS; in isValidIfd()
166 protected void setIfd(int ifdId) { in setIfd() argument
167 mIfd = ifdId; in setIfd()
DIfdData.java46 IfdData(int ifdId) { in IfdData() argument
47 mIfdId = ifdId; in IfdData()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
DExifXmlReader.java72 int ifdId = getIfdIdFromString(parser.getAttributeValue(null, ATTR_IFD)); in readXml() local
81 if (ifdId < 0) { in readXml()
84 List<String> tagData = exifData.get(ifdId).get(id); in readXml()
87 exifData.get(ifdId).put(id, tagData); in readXml()