Lines Matching refs:dataFormat
1542 int dataFormat; in setAttribute() local
1544 dataFormat = exifTag.primaryFormat; in setAttribute()
1547 dataFormat = exifTag.secondaryFormat; in setAttribute()
1551 dataFormat = exifTag.primaryFormat; in setAttribute()
1561 switch (dataFormat) { in setAttribute()
1636 Log.w(TAG, "Data format isn't one of expected formats: " + dataFormat); in setAttribute()
2975 int dataFormat = dataInputStream.readUnsignedShort(); in readImageFileDirectory() local
2986 tag != null ? tag.name : null, dataFormat, numberOfComponents)); in readImageFileDirectory()
2993 } else if (dataFormat <= 0 || dataFormat >= IFD_FORMAT_BYTES_PER_FORMAT.length) { in readImageFileDirectory()
2994 Log.w(TAG, "Skip the tag entry since data format is invalid: " + dataFormat); in readImageFileDirectory()
2996 byteCount = (long) numberOfComponents * IFD_FORMAT_BYTES_PER_FORMAT[dataFormat]; in readImageFileDirectory()
3063 switch (dataFormat) { in readImageFileDirectory()
3113 ExifAttribute attribute = new ExifAttribute(dataFormat, numberOfComponents, bytes); in readImageFileDirectory()
3664 Pair<Integer, Integer> dataFormat = guessDataFormat(entryValues[0]); in guessDataFormat() local
3665 if (dataFormat.first == IFD_FORMAT_STRING) { in guessDataFormat()
3666 return dataFormat; in guessDataFormat()
3671 if (guessDataFormat.first == dataFormat.first in guessDataFormat()
3672 || guessDataFormat.second == dataFormat.first) { in guessDataFormat()
3673 first = dataFormat.first; in guessDataFormat()
3675 if (dataFormat.second != -1 && (guessDataFormat.first == dataFormat.second in guessDataFormat()
3676 || guessDataFormat.second == dataFormat.second)) { in guessDataFormat()
3677 second = dataFormat.second; in guessDataFormat()
3683 dataFormat = new Pair<>(second, -1); in guessDataFormat()
3687 dataFormat = new Pair<>(first, -1); in guessDataFormat()
3691 return dataFormat; in guessDataFormat()