Home
last modified time | relevance | path

Searched refs:getTagId (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
DExifModifierTest.java91 mTestTags.put(mVersionTag.getTagId(), mVersionTag); in setUp()
92 mTestTags.put(mGpsVersionTag.getTagId(), mGpsVersionTag); in setUp()
93 mTestTags.put(mModelTag.getTagId(), mModelTag); in setUp()
94 mTestTags.put(mDateTimeTag.getTagId(), mDateTimeTag); in setUp()
95 mTestTags.put(mCompressionTag.getTagId(), mCompressionTag); in setUp()
96 mTestTags.put(mThumbnailFormatTag.getTagId(), mThumbnailFormatTag); in setUp()
97 mTestTags.put(mLongitudeTag.getTagId(), mLongitudeTag); in setUp()
98 mTestTags.put(mShutterTag.getTagId(), mShutterTag); in setUp()
122 results.put(tag.getTagId(), result); in testModify()
127 List<String> value = mGroundTruth.get(tag.getIfd()).get(tag.getTagId()); in testModify()
[all …]
DExifInterfaceTest.java179 short tid = t.getTagId(); in testInterfaceModify()
210 short tid = t.getTagId(); in testInterfaceModify()
349 int tid = t.getTagId(); in testInterfaceDefines()
475 List<String> truth = mGroundTruth.get(tag.getIfd()).get(tag.getTagId()); in checkTagAgainstXml()
478 fail(String.format("Unknown Tag %02x", tag.getTagId()) + ", " + getImageTitle()); in checkTagAgainstXml()
486 assertTrue(String.format("Tag %02x", tag.getTagId()) + ", " + getImageTitle() in checkTagAgainstXml()
502 if (!ExifInterface.sBannedDefines.contains(tag.getTagId())) { in checkTagAgainstHash()
511 assertTrue(getImageTitle(), tag.getTagId() == t.getTagId()); in checkTagAgainstHash()
DExifParserTest.java82 List<String> truth = mGroundTruth.get(tag.getIfd()).get(tag.getTagId()); in checkTag()
85 fail(String.format("Unknown Tag %02x", tag.getTagId()) + ", " + getImageTitle()); in checkTag()
94 assertTrue(String.format("Tag %02x", tag.getTagId()) + ", " + getImageTitle() in checkTag()
175 if (tag.getTagId() == ExifInterface.TAG_MODEL) { in testOnlyReadSomeTag()
187 assertEquals(getImageTitle(), ExifInterface.TAG_MODEL, tag.getTagId()); in testOnlyReadSomeTag()
212 if (tag.getTagId() == ExifInterface.TAG_COMPRESSION) { in testReadThumbnail()
DExifReaderTest.java152 List<String> truth = ifdValue.get(tag.getTagId()); in checkIfd()
153 assertNotNull(String.format("Tag %x, ", tag.getTagId()) + getImageTitle(), truth); in checkIfd()
157 assertTrue(String.format("Tag %x, ", tag.getTagId()) + getImageTitle(), in checkIfd()
DUtil.java64 short tagId = tag.getTagId(); in tagUndefinedTypeValueToString()
97 short id = tag.getTagId(); in tagValueToString()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DIfdData.java87 return mExifTags.put(tag.getTagId(), tag); in setTag()
139 if (ExifInterface.isOffsetTag(tag.getTagId())) { in equals()
142 ExifTag tag2 = mExifTags.get(tag.getTagId()); in equals()
DExifOutputStream.java246 if (t.getValue() == null && !ExifInterface.isOffsetTag(t.getTagId())) { in stripNullValueTags()
247 data.removeTag(t.getTagId(), t.getIfd()); in stripNullValueTags()
286 dataOutputStream.writeShort(tag.getTagId()); in writeIfd()
DExifModifier.java112 ExifTag newTag = currIfd.getTag(oldTag.getTagId()); in commit()
119 currIfd.removeTag(oldTag.getTagId()); in commit()
DExifTag.java173 public short getTagId() { in getTagId() method in ExifTag
DExifParser.java590 short tid = tag.getTagId(); in checkOffsetOrImageTag()
DExifInterface.java1702 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd); in getTagDefinitionForTag()
/packages/apps/Camera/src/com/android/camera/
DExif.java44 if (tag.getTagId() == ExifTag.TAG_ORIENTATION && in getOrientation()