/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifParser.java | 324 mIfdType = ((IfdEvent) event).ifd; in next() 593 int ifd = tag.getIfd(); in checkOffsetOrImageTag() local 594 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) { in checkOffsetOrImageTag() 599 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) { in checkOffsetOrImageTag() 604 && checkAllowed(ifd, ExifInterface.TAG_INTEROPERABILITY_IFD)) { in checkOffsetOrImageTag() 609 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)) { in checkOffsetOrImageTag() 614 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH)) { in checkOffsetOrImageTag() 618 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) { in checkOffsetOrImageTag() 633 && checkAllowed(ifd, ExifInterface.TAG_STRIP_BYTE_COUNTS) in checkOffsetOrImageTag() 639 private boolean checkAllowed(int ifd, int tagId) { in checkAllowed() argument [all …]
|
D | ExifData.java | 160 protected ExifTag getTag(short tag, int ifd) { in getTag() argument 161 IfdData ifdData = mIfdDatas[ifd]; in getTag() 171 int ifd = tag.getIfd(); in addTag() local 172 return addTag(tag, ifd); in addTag() 278 protected List<ExifTag> getAllTagsForIfd(int ifd) { in getAllTagsForIfd() argument 279 IfdData d = mIfdDatas[ifd]; in getAllTagsForIfd()
|
D | ExifOutputStream.java | 285 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) in writeIfd() argument 287 ExifTag[] tags = ifd.getAllTags(); in writeIfd() 305 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); in writeIfd() 313 private int calculateOffsetOfIfd(IfdData ifd, int offset) { in calculateOffsetOfIfd() argument 314 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; in calculateOffsetOfIfd() 315 ExifTag[] tags = ifd.getAllTags(); in calculateOffsetOfIfd()
|
D | ExifModifier.java | 129 for (IfdData ifd : ifdDatas) { in commit() 130 if (ifd != null && ifd.getTagCount() > 0) { in commit()
|
D | ExifInterface.java | 1701 int ifd = tag.getIfd(); in getTagDefinitionForTag() local 1702 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd); in getTagDefinitionForTag() 1705 protected int getTagDefinitionForTag(short tagId, short type, int count, int ifd) { in getTagDefinitionForTag() argument 1719 if (j == ifd) { in getTagDefinitionForTag() 2412 protected static boolean isIfdAllowed(int info, int ifd) { in isIfdAllowed() argument 2416 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) { in isIfdAllowed()
|
D | ExifTag.java | 127 ExifTag(short tagId, short type, int componentCount, int ifd, in ExifTag() argument 133 mIfd = ifd; in ExifTag()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifParser.java | 323 mIfdType = ((IfdEvent) event).ifd; in next() 591 int ifd = tag.getIfd(); in checkOffsetOrImageTag() local 592 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) { in checkOffsetOrImageTag() 597 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) { in checkOffsetOrImageTag() 602 && checkAllowed(ifd, ExifInterface.TAG_INTEROPERABILITY_IFD)) { in checkOffsetOrImageTag() 607 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)) { in checkOffsetOrImageTag() 612 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH)) { in checkOffsetOrImageTag() 616 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) { in checkOffsetOrImageTag() 631 && checkAllowed(ifd, ExifInterface.TAG_STRIP_BYTE_COUNTS) in checkOffsetOrImageTag() 637 private boolean checkAllowed(int ifd, int tagId) { in checkAllowed() argument [all …]
|
D | ExifData.java | 159 protected ExifTag getTag(short tag, int ifd) { in getTag() argument 160 IfdData ifdData = mIfdDatas[ifd]; in getTag() 170 int ifd = tag.getIfd(); in addTag() local 171 return addTag(tag, ifd); in addTag() 277 protected List<ExifTag> getAllTagsForIfd(int ifd) { in getAllTagsForIfd() argument 278 IfdData d = mIfdDatas[ifd]; in getAllTagsForIfd()
|
D | ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) in writeIfd() argument 283 ExifTag[] tags = ifd.getAllTags(); in writeIfd() 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); in writeIfd() 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { in calculateOffsetOfIfd() argument 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; in calculateOffsetOfIfd() 311 ExifTag[] tags = ifd.getAllTags(); in calculateOffsetOfIfd()
|
D | ExifModifier.java | 129 for (IfdData ifd : ifdDatas) { in commit() 130 if (ifd != null && ifd.getTagCount() > 0) { in commit()
|
D | ExifInterface.java | 1701 int ifd = tag.getIfd(); in getTagDefinitionForTag() local 1702 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd); in getTagDefinitionForTag() 1705 protected int getTagDefinitionForTag(short tagId, short type, int count, int ifd) { in getTagDefinitionForTag() argument 1719 if (j == ifd) { in getTagDefinitionForTag() 2371 protected static boolean isIfdAllowed(int info, int ifd) { in isIfdAllowed() argument 2375 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) { in isIfdAllowed()
|
D | ExifTag.java | 127 ExifTag(short tagId, short type, int componentCount, int ifd, in ExifTag() argument 133 mIfd = ifd; in ExifTag()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifParser.java | 323 mIfdType = ((IfdEvent) event).ifd; in next() 591 int ifd = tag.getIfd(); in checkOffsetOrImageTag() local 592 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) { in checkOffsetOrImageTag() 597 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) { in checkOffsetOrImageTag() 602 && checkAllowed(ifd, ExifInterface.TAG_INTEROPERABILITY_IFD)) { in checkOffsetOrImageTag() 607 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)) { in checkOffsetOrImageTag() 612 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH)) { in checkOffsetOrImageTag() 616 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) { in checkOffsetOrImageTag() 631 && checkAllowed(ifd, ExifInterface.TAG_STRIP_BYTE_COUNTS) in checkOffsetOrImageTag() 637 private boolean checkAllowed(int ifd, int tagId) { in checkAllowed() argument [all …]
|
D | ExifData.java | 159 protected ExifTag getTag(short tag, int ifd) { in getTag() argument 160 IfdData ifdData = mIfdDatas[ifd]; in getTag() 170 int ifd = tag.getIfd(); in addTag() local 171 return addTag(tag, ifd); in addTag() 273 protected List<ExifTag> getAllTagsForIfd(int ifd) { in getAllTagsForIfd() argument 274 IfdData d = mIfdDatas[ifd]; in getAllTagsForIfd()
|
D | ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) in writeIfd() argument 283 ExifTag[] tags = ifd.getAllTags(); in writeIfd() 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); in writeIfd() 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { in calculateOffsetOfIfd() argument 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; in calculateOffsetOfIfd() 311 ExifTag[] tags = ifd.getAllTags(); in calculateOffsetOfIfd()
|
D | ExifModifier.java | 128 for (IfdData ifd : ifdDatas) { in commit() 129 if (ifd != null && ifd.getTagCount() > 0) { in commit()
|
D | ExifInterface.java | 1680 int ifd = tag.getIfd(); in getTagDefinitionForTag() local 1681 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd); in getTagDefinitionForTag() 1684 protected int getTagDefinitionForTag(short tagId, short type, int count, int ifd) { in getTagDefinitionForTag() argument 1698 if (j == ifd) { in getTagDefinitionForTag() 2350 protected static boolean isIfdAllowed(int info, int ifd) { in isIfdAllowed() argument 2354 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) { in isIfdAllowed()
|
D | ExifTag.java | 127 ExifTag(short tagId, short type, int componentCount, int ifd, in ExifTag() argument 133 mIfd = ifd; in ExifTag()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
D | ExifParser.java | 323 mIfdType = ((IfdEvent) event).ifd; in next() 591 int ifd = tag.getIfd(); in checkOffsetOrImageTag() local 592 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) { in checkOffsetOrImageTag() 597 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) { in checkOffsetOrImageTag() 602 && checkAllowed(ifd, ExifInterface.TAG_INTEROPERABILITY_IFD)) { in checkOffsetOrImageTag() 607 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)) { in checkOffsetOrImageTag() 612 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH)) { in checkOffsetOrImageTag() 616 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) { in checkOffsetOrImageTag() 631 && checkAllowed(ifd, ExifInterface.TAG_STRIP_BYTE_COUNTS) in checkOffsetOrImageTag() 637 private boolean checkAllowed(int ifd, int tagId) { in checkAllowed() argument [all …]
|
D | ExifData.java | 159 protected ExifTag getTag(short tag, int ifd) { in getTag() argument 160 IfdData ifdData = mIfdDatas[ifd]; in getTag() 170 int ifd = tag.getIfd(); in addTag() local 171 return addTag(tag, ifd); in addTag() 277 protected List<ExifTag> getAllTagsForIfd(int ifd) { in getAllTagsForIfd() argument 278 IfdData d = mIfdDatas[ifd]; in getAllTagsForIfd()
|
D | ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) in writeIfd() argument 283 ExifTag[] tags = ifd.getAllTags(); in writeIfd() 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); in writeIfd() 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { in calculateOffsetOfIfd() argument 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; in calculateOffsetOfIfd() 311 ExifTag[] tags = ifd.getAllTags(); in calculateOffsetOfIfd()
|
D | ExifModifier.java | 128 for (IfdData ifd : ifdDatas) { in commit() 129 if (ifd != null && ifd.getTagCount() > 0) { in commit()
|
D | ExifInterface.java | 1701 int ifd = tag.getIfd(); in getTagDefinitionForTag() local 1702 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd); in getTagDefinitionForTag() 1705 protected int getTagDefinitionForTag(short tagId, short type, int count, int ifd) { in getTagDefinitionForTag() argument 1719 if (j == ifd) { in getTagDefinitionForTag() 2371 protected static boolean isIfdAllowed(int info, int ifd) { in isIfdAllowed() argument 2375 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) { in isIfdAllowed()
|
D | ExifTag.java | 127 ExifTag(short tagId, short type, int componentCount, int ifd, in ExifTag() argument 133 mIfd = ifd; in ExifTag()
|
/packages/apps/Camera2/tests/exiftool_parser/ |
D | parser.py | 48 ifd = s[2][l + 3:].split()[0] variable 51 ifds.append(ifd) 55 ifds[-1] = ifd
|