Home
last modified time | relevance | path

Searched refs:ifdId (Results 1 – 16 of 16) 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/Messaging/src/com/android/messaging/util/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.java128 protected IfdData getIfdData(int ifdId) { in getIfdData() argument
129 if (ExifTag.isValidIfd(ifdId)) { in getIfdData()
130 return mIfdDatas[ifdId]; in getIfdData()
147 protected IfdData getOrCreateIfdData(int ifdId) { in getOrCreateIfdData() argument
148 IfdData ifdData = mIfdDatas[ifdId]; in getOrCreateIfdData()
150 ifdData = new IfdData(ifdId); in getOrCreateIfdData()
151 mIfdDatas[ifdId] = ifdData; in getOrCreateIfdData()
181 protected ExifTag addTag(ExifTag tag, int ifdId) { in addTag() argument
182 if (tag != null && ExifTag.isValidIfd(ifdId)) { in addTag()
183 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/Camera2/src/com/android/camera/exif/
DExifInterface.java350 public static int defineTag(int ifdId, short tagId) { in defineTag() argument
351 return (tagId & 0x0000ffff) | (ifdId << 16); in defineTag()
1146 public List<ExifTag> getTagsForIfdId(int ifdId) { in getTagsForIfdId() argument
1147 return mData.getAllTagsForIfd(ifdId); in getTagsForIfdId()
1155 public ExifTag getTag(int tagId, int ifdId) { in getTag() argument
1156 if (!ExifTag.isValidIfd(ifdId)) { in getTag()
1159 return mData.getTag(getTrueTagKey(tagId), ifdId); in getTag()
1170 int ifdId = getDefinedTagDefaultIfd(tagId); in getTag() local
1171 return getTag(tagId, ifdId); in getTag()
1179 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/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifData.java39 IfdData getIfdData(int ifdId) { in getIfdData() argument
40 if (ExifTag.isValidIfd(ifdId)) { in getIfdData()
41 return ifdDatas[ifdId]; in getIfdData()
70 private ExifTag addTag(ExifTag tag, int ifdId) { in addTag() argument
71 if (tag != null && ExifTag.isValidIfd(ifdId)) { in addTag()
72 IfdData ifdData = getOrCreateIfdData(ifdId); in addTag()
81 private IfdData getOrCreateIfdData(int ifdId) { in getOrCreateIfdData() argument
82 IfdData ifdData = ifdDatas[ifdId]; in getOrCreateIfdData()
84 ifdData = new IfdData(ifdId); in getOrCreateIfdData()
85 ifdDatas[ifdId] = ifdData; in getOrCreateIfdData()
DExifInterface.java123 private static int defineTag(int ifdId, short tagId) { in defineTag() argument
124 return (tagId & 0x0000ffff) | (ifdId << 16); in defineTag()
214 private Integer getTagIntValue(int tagId, int ifdId) { in getTagIntValue() argument
215 int[] l = getTagIntValues(tagId, ifdId); in getTagIntValue()
222 private int[] getTagIntValues(int tagId, int ifdId) { in getTagIntValues() argument
223 ExifTag t = getTag(tagId, ifdId); in getTagIntValues()
231 public ExifTag getTag(int tagId, int ifdId) { in getTag() argument
232 if (!ExifTag.isValidIfd(ifdId)) { in getTag()
235 return data.getTag(getTrueTagKey(tagId), ifdId); in getTag()
239 int ifdId = getDefinedTagDefaultIfd(tagId); in getTagIntValue() local
[all …]
DIfdData.java31 private final int ifdId; field in IfdData
49 IfdData(int ifdId) { in IfdData() argument
50 this.ifdId = ifdId; in IfdData()
72 return ifdId; in getId()
82 tag.setIfd(ifdId); in setTag()
105 if (data.getId() == ifdId && data.getTagCount() == getTagCount()) { in equals()
124 return Objects.hash(ifdId, exifTags); in hashCode()
DExifTag.java99 static boolean isValidIfd(int ifdId) { in isValidIfd() argument
100 return ifdId == IfdId.TYPE_IFD_0 in isValidIfd()
101 || ifdId == IfdId.TYPE_IFD_1 in isValidIfd()
102 || ifdId == IfdId.TYPE_IFD_EXIF in isValidIfd()
103 || ifdId == IfdId.TYPE_IFD_INTEROPERABILITY in isValidIfd()
104 || ifdId == IfdId.TYPE_IFD_GPS; in isValidIfd()
158 void setIfd(int ifdId) { in setIfd() argument
159 ifd = ifdId; in setIfd()