HomeSort by relevance Sort by last modified time
    Searched refs:IfdId (Results 1 - 14 of 14) sorted by null

  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
IfdId.java 22 public interface IfdId {
IfdData.java 34 IfdId.TYPE_IFD_0, IfdId.TYPE_IFD_1, IfdId.TYPE_IFD_EXIF,
35 IfdId.TYPE_IFD_INTEROPERABILITY, IfdId.TYPE_IFD_GPS
40 * @see IfdId#TYPE_IFD_0
41 * @see IfdId#TYPE_IFD_1
42 * @see IfdId#TYPE_IFD_EXIF
43 * @see IfdId#TYPE_IFD_GPS
44 * @see IfdId#TYPE_IFD_INTEROPERABILIT
    [all...]
ExifInterface.java 75 defineTag(IfdId.TYPE_IFD_0, (short) 0x0100);
77 defineTag(IfdId.TYPE_IFD_0, (short) 0x0101); // Image height
79 defineTag(IfdId.TYPE_IFD_0, (short) 0x0102);
81 defineTag(IfdId.TYPE_IFD_0, (short) 0x0103);
83 defineTag(IfdId.TYPE_IFD_0, (short) 0x0106);
85 defineTag(IfdId.TYPE_IFD_0, (short) 0x010E);
87 defineTag(IfdId.TYPE_IFD_0, (short) 0x010F);
89 defineTag(IfdId.TYPE_IFD_0, (short) 0x0110);
91 defineTag(IfdId.TYPE_IFD_0, (short) 0x0111);
93 defineTag(IfdId.TYPE_IFD_0, (short) 0x0112)
    [all...]
ExifParser.java 183 case IfdId.TYPE_IFD_0:
185 case IfdId.TYPE_IFD_1:
187 case IfdId.TYPE_IFD_EXIF:
189 case IfdId.TYPE_IFD_GPS:
191 case IfdId.TYPE_IFD_INTEROPERABILITY:
223 mIfdType = IfdId.TYPE_IFD_0;
224 if (isIfdRequested(IfdId.TYPE_IFD_0) || needToParseOffsetsInCurrentIfd()) {
225 registerIfd(IfdId.TYPE_IFD_0, offset);
288 if (mIfdType == IfdId.TYPE_IFD_0) {
290 if (isIfdRequested(IfdId.TYPE_IFD_1) || isThumbnailRequested())
    [all...]
ExifModifier.java 76 mTagToModified.getIfdData(IfdId.TYPE_IFD_0),
77 mTagToModified.getIfdData(IfdId.TYPE_IFD_1),
78 mTagToModified.getIfdData(IfdId.TYPE_IFD_EXIF),
79 mTagToModified.getIfdData(IfdId.TYPE_IFD_INTEROPERABILITY),
80 mTagToModified.getIfdData(IfdId.TYPE_IFD_GPS)
83 if (ifdDatas[IfdId.TYPE_IFD_0] != null) {
86 if (ifdDatas[IfdId.TYPE_IFD_1] != null) {
89 if (ifdDatas[IfdId.TYPE_IFD_EXIF] != null) {
92 if (ifdDatas[IfdId.TYPE_IFD_GPS] != null) {
95 if (ifdDatas[IfdId.TYPE_IFD_INTEROPERABILITY] != null)
    [all...]
ExifOutputStream.java 265 writeIfd(mExifData.getIfdData(IfdId.TYPE_IFD_0), dataOutputStream);
266 writeIfd(mExifData.getIfdData(IfdId.TYPE_IFD_EXIF), dataOutputStream);
267 IfdData interoperabilityIfd = mExifData.getIfdData(IfdId.TYPE_IFD_INTEROPERABILITY);
271 IfdData gpsIfd = mExifData.getIfdData(IfdId.TYPE_IFD_GPS);
275 IfdData ifd1 = mExifData.getIfdData(IfdId.TYPE_IFD_1);
277 writeIfd(mExifData.getIfdData(IfdId.TYPE_IFD_1), dataOutputStream);
323 IfdData ifd0 = mExifData.getIfdData(IfdId.TYPE_IFD_0);
325 ifd0 = new IfdData(IfdId.TYPE_IFD_0);
336 IfdData exifIfd = mExifData.getIfdData(IfdId.TYPE_IFD_EXIF);
338 exifIfd = new IfdData(IfdId.TYPE_IFD_EXIF)
    [all...]
ExifData.java 46 private final IfdData[] mIfdDatas = new IfdData[IfdId.TYPE_IFD_COUNT];
127 protected IfdData getIfdData(int ifdId) {
128 if (ExifTag.isValidIfd(ifdId)) {
129 return mIfdDatas[ifdId];
146 protected IfdData getOrCreateIfdData(int ifdId) {
147 IfdData ifdData = mIfdDatas[ifdId];
149 ifdData = new IfdData(ifdId);
150 mIfdDatas[ifdId] = ifdData;
180 protected ExifTag addTag(ExifTag tag, int ifdId) {
181 if (tag != null && ExifTag.isValidIfd(ifdId)) {
    [all...]
ExifTag.java 110 public static boolean isValidIfd(int ifdId) {
111 return ifdId == IfdId.TYPE_IFD_0 || ifdId == IfdId.TYPE_IFD_1
112 || ifdId == IfdId.TYPE_IFD_EXIF || ifdId == IfdId.TYPE_IFD_INTEROPERABILITY
113 || ifdId == IfdId.TYPE_IFD_GPS
    [all...]
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
ExifXmlReader.java 53 new ArrayList<Map<Short, List<String>>>(IfdId.TYPE_IFD_COUNT);
54 for (int i = 0; i < IfdId.TYPE_IFD_COUNT; i++) {
72 int ifdId = getIfdIdFromString(parser.getAttributeValue(null, ATTR_IFD));
81 if (ifdId < 0) {
84 List<String> tagData = exifData.get(ifdId).get(id);
87 exifData.get(ifdId).put(id, tagData);
103 return IfdId.TYPE_IFD_0;
105 return IfdId.TYPE_IFD_EXIF;
107 return IfdId.TYPE_IFD_GPS;
109 return IfdId.TYPE_IFD_1
    [all...]
ExifInterfaceTest.java 75 int tagDef = mInterface.getTagDefinition((short) 0x0100, IfdId.TYPE_IFD_0);
79 assertTrue(getImageTitle(), allowed.length == 2 && allowed[0] == IfdId.TYPE_IFD_0
80 && allowed[1] == IfdId.TYPE_IFD_1);
250 int tag1 = ExifInterface.defineTag(IfdId.TYPE_IFD_1, (short) 42);
251 int tag2 = ExifInterface.defineTag(IfdId.TYPE_IFD_INTEROPERABILITY, (short) 43);
256 assertTrue(mInterface.setTagDefinition((short) 42, IfdId.TYPE_IFD_1,
258 IfdId.TYPE_IFD_1
261 assertTrue(mInterface.setTagDefinition((short) 43, IfdId.TYPE_IFD_INTEROPERABILITY,
263 IfdId.TYPE_IFD_GPS, IfdId.TYPE_IFD_INTEROPERABILIT
    [all...]
ExifParserTest.java 142 parseOneIfd(IfdId.TYPE_IFD_EXIF, ExifParser.OPTION_IFD_EXIF);
146 parseOneIfd(IfdId.TYPE_IFD_0, ExifParser.OPTION_IFD_0);
150 parseOneIfd(IfdId.TYPE_IFD_1, ExifParser.OPTION_IFD_1);
154 parseOneIfd(IfdId.TYPE_IFD_INTEROPERABILITY, ExifParser.OPTION_IFD_INTEROPERABILITY);
159 if (mGroundTruth.get(IfdId.TYPE_IFD_0).get(ExifInterface.TAG_MODEL) == null) {
171 assertEquals(getImageTitle(), IfdId.TYPE_IFD_0, parser.getCurrentIfd());
ExifReaderTest.java 50 for (int i = 0; i < IfdId.TYPE_IFD_COUNT; i++) {
60 Map<Short, List<String>> ifd1Truth = mGroundTruth.get(IfdId.TYPE_IFD_1);
66 IfdData ifd1 = exifData.getIfdData(IfdId.TYPE_IFD_1);
ExifDataTest.java 148 List<ExifTag> ifdTags = exifData.getAllTagsForIfd(IfdId.TYPE_IFD_INTEROPERABILITY);
ExifModifierTest.java 141 for (int i = 0; i < IfdId.TYPE_IFD_COUNT; i++) {

Completed in 317 milliseconds