Home
last modified time | relevance | path

Searched refs:dataFormat (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/exifinterface/src/main/java/androidx/exifinterface/media/
DExifInterface.java3893 int dataFormat; in setAttribute() local
3895 dataFormat = exifTag.primaryFormat; in setAttribute()
3898 dataFormat = exifTag.secondaryFormat; in setAttribute()
3902 dataFormat = exifTag.primaryFormat; in setAttribute()
3912 switch (dataFormat) { in setAttribute()
3987 Log.w(TAG, "Data format isn't one of expected formats: " + dataFormat); in setAttribute()
5337 int dataFormat = dataInputStream.readUnsignedShort();
5348 tag != null ? tag.name : null, dataFormat, numberOfComponents));
5355 } else if (dataFormat <= 0 || dataFormat >= IFD_FORMAT_BYTES_PER_FORMAT.length) {
5356 Log.w(TAG, "Skip the tag entry since data format is invalid: " + dataFormat);
[all …]
/frameworks/base/media/java/android/media/
DExifInterface.java1542 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()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifParser.java535 short dataFormat = mTiffStream.readShort(); in readTag() local
542 if (!ExifTag.isValidType(dataFormat)) { in readTag()
543 Log.w(TAG, String.format("Tag %04x: Invalid data type %d", tagId, dataFormat)); in readTag()
548 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType, in readTag()
559 if ((offset < mIfd0Position) && (dataFormat == ExifTag.TYPE_UNDEFINED)) { in readTag()
/frameworks/support/exifinterface/src/androidTest/java/androidx/exifinterface/media/
DExifInterfaceTest.java846 int dataFormat = random.nextInt(ExifInterface.IFD_FORMAT_NAMES.length); in generateRandomExifTag() local
848 buffer.putShort((short) dataFormat); in generateRandomExifTag()
851 int dataLength = ExifInterface.IFD_FORMAT_BYTES_PER_FORMAT[dataFormat]; in generateRandomExifTag()
/frameworks/base/services/core/java/com/android/server/
DInputMethodManagerService.java785 final SimpleDateFormat dataFormat = in dump() local
797 pw.println(" time=" + dataFormat.format(new Date(entry.mWallTime)) in dump()