Home
last modified time | relevance | path

Searched refs:IFD_FORMAT_BYTES_PER_FORMAT (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/media/
DExifInterface.java507 private static final int[] IFD_FORMAT_BYTES_PER_FORMAT = new int[] { field in ExifInterface
594 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_USHORT] * values.length]); in createUShort()
608 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_ULONG] * values.length]); in createULong()
622 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_SLONG] * values.length]); in createSLong()
651 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_URATIONAL] * values.length]); in createURational()
666 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_SRATIONAL] * values.length]); in createSRational()
681 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_DOUBLE] * values.length]); in createDouble()
932 return IFD_FORMAT_BYTES_PER_FORMAT[format] * numberOfComponents; in size()
2950 } else if (dataFormat <= 0 || dataFormat >= IFD_FORMAT_BYTES_PER_FORMAT.length) { in readImageFileDirectory()
2953 byteCount = (long) numberOfComponents * IFD_FORMAT_BYTES_PER_FORMAT[dataFormat]; in readImageFileDirectory()
/frameworks/support/exifinterface/src/android/support/media/
DExifInterface.java2891 static final int[] IFD_FORMAT_BYTES_PER_FORMAT = new int[] { field in ExifInterface
2942 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_USHORT] * values.length]); in createUShort()
2956 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_ULONG] * values.length]); in createULong()
2970 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_SLONG] * values.length]); in createSLong()
2999 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_URATIONAL] * values.length]); in createURational()
3014 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_SRATIONAL] * values.length]); in createSRational()
3029 new byte[IFD_FORMAT_BYTES_PER_FORMAT[IFD_FORMAT_DOUBLE] * values.length]); in createDouble()
3288 return IFD_FORMAT_BYTES_PER_FORMAT[format] * numberOfComponents; in size()
5343 } else if (dataFormat <= 0 || dataFormat >= IFD_FORMAT_BYTES_PER_FORMAT.length) {
5352 byteCount = (long) numberOfComponents * IFD_FORMAT_BYTES_PER_FORMAT[dataFormat];
/frameworks/support/exifinterface/tests/src/android/support/media/
DExifInterfaceTest.java850 int dataLength = ExifInterface.IFD_FORMAT_BYTES_PER_FORMAT[dataFormat]; in generateRandomExifTag()