Lines Matching refs:dataFormat
1536 int dataFormat; in setAttribute() local
1538 dataFormat = exifTag.primaryFormat; in setAttribute()
1541 dataFormat = exifTag.secondaryFormat; in setAttribute()
1545 dataFormat = exifTag.primaryFormat; in setAttribute()
1555 switch (dataFormat) { in setAttribute()
1630 Log.w(TAG, "Data format isn't one of expected formats: " + dataFormat); in setAttribute()
2757 int dataFormat = dataInputStream.readUnsignedShort(); in readImageFileDirectory() local
2768 tag != null ? tag.name : null, dataFormat, numberOfComponents)); in readImageFileDirectory()
2775 } else if (dataFormat <= 0 || dataFormat >= IFD_FORMAT_BYTES_PER_FORMAT.length) { in readImageFileDirectory()
2776 Log.w(TAG, "Skip the tag entry since data format is invalid: " + dataFormat); in readImageFileDirectory()
2778 byteCount = (long) numberOfComponents * IFD_FORMAT_BYTES_PER_FORMAT[dataFormat]; in readImageFileDirectory()
2845 switch (dataFormat) { in readImageFileDirectory()
2884 ExifAttribute attribute = new ExifAttribute(dataFormat, numberOfComponents, bytes); in readImageFileDirectory()
3415 Pair<Integer, Integer> dataFormat = guessDataFormat(entryValues[0]); in guessDataFormat() local
3416 if (dataFormat.first == IFD_FORMAT_STRING) { in guessDataFormat()
3417 return dataFormat; in guessDataFormat()
3422 if (guessDataFormat.first == dataFormat.first in guessDataFormat()
3423 || guessDataFormat.second == dataFormat.first) { in guessDataFormat()
3424 first = dataFormat.first; in guessDataFormat()
3426 if (dataFormat.second != -1 && (guessDataFormat.first == dataFormat.second in guessDataFormat()
3427 || guessDataFormat.second == dataFormat.second)) { in guessDataFormat()
3428 second = dataFormat.second; in guessDataFormat()
3434 dataFormat = new Pair<>(second, -1); in guessDataFormat()
3438 dataFormat = new Pair<>(first, -1); in guessDataFormat()
3442 return dataFormat; in guessDataFormat()