Home
last modified time | relevance | path

Searched refs:exifTag (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/exifinterface/src/android/support/media/
DExifInterface.java1461 final ExifTag exifTag = sExifTagMapsForWriting[i].get(tag); in setAttribute() local
1462 if (exifTag != null) { in setAttribute()
1469 if (exifTag.primaryFormat == guess.first || exifTag.primaryFormat == guess.second) { in setAttribute()
1470 dataFormat = exifTag.primaryFormat; in setAttribute()
1471 } else if (exifTag.secondaryFormat != -1 && (exifTag.secondaryFormat == guess.first in setAttribute()
1472 || exifTag.secondaryFormat == guess.second)) { in setAttribute()
1473 dataFormat = exifTag.secondaryFormat; in setAttribute()
1474 } else if (exifTag.primaryFormat == IFD_FORMAT_BYTE in setAttribute()
1475 || exifTag.primaryFormat == IFD_FORMAT_UNDEFINED in setAttribute()
1476 || exifTag.primaryFormat == IFD_FORMAT_STRING) { in setAttribute()
[all …]
/frameworks/base/media/java/android/media/
DExifInterface.java1534 final ExifTag exifTag = (ExifTag) obj; in setAttribute() local
1537 if (exifTag.primaryFormat == guess.first || exifTag.primaryFormat == guess.second) { in setAttribute()
1538 dataFormat = exifTag.primaryFormat; in setAttribute()
1539 } else if (exifTag.secondaryFormat != -1 && (exifTag.secondaryFormat == guess.first in setAttribute()
1540 || exifTag.secondaryFormat == guess.second)) { in setAttribute()
1541 dataFormat = exifTag.secondaryFormat; in setAttribute()
1542 } else if (exifTag.primaryFormat == IFD_FORMAT_BYTE in setAttribute()
1543 || exifTag.primaryFormat == IFD_FORMAT_UNDEFINED in setAttribute()
1544 || exifTag.primaryFormat == IFD_FORMAT_STRING) { in setAttribute()
1545 dataFormat = exifTag.primaryFormat; in setAttribute()
[all …]