Home
last modified time | relevance | path

Searched refs:dataStream (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/exif/
DExifParser.java754 CountedDataInputStream dataStream = new CountedDataInputStream(inputStream); in seekTiffData() local
755 if (dataStream.readShort() != JpegHeader.SOI) { in seekTiffData()
759 short marker = dataStream.readShort(); in seekTiffData()
762 int length = dataStream.readUnsignedShort(); in seekTiffData()
769 header = dataStream.readInt(); in seekTiffData()
770 headerTail = dataStream.readShort(); in seekTiffData()
773 mTiffStartPosition = dataStream.getReadByteCount(); in seekTiffData()
780 if (length < 2 || (length - 2) != dataStream.skip(length - 2)) { in seekTiffData()
784 marker = dataStream.readShort(); in seekTiffData()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifParser.java756 CountedDataInputStream dataStream = new CountedDataInputStream(inputStream); in seekTiffData() local
757 if (dataStream.readShort() != JpegHeader.SOI) { in seekTiffData()
761 short marker = dataStream.readShort(); in seekTiffData()
764 int length = dataStream.readUnsignedShort(); in seekTiffData()
771 header = dataStream.readInt(); in seekTiffData()
772 headerTail = dataStream.readShort(); in seekTiffData()
775 mTiffStartPosition = dataStream.getReadByteCount(); in seekTiffData()
782 if (length < 2 || (length - 2) != dataStream.skip(length - 2)) { in seekTiffData()
786 marker = dataStream.readShort(); in seekTiffData()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifParser.java754 CountedDataInputStream dataStream = new CountedDataInputStream(inputStream); in seekTiffData() local
755 if (dataStream.readShort() != JpegHeader.SOI) { in seekTiffData()
759 short marker = dataStream.readShort(); in seekTiffData()
762 int length = dataStream.readUnsignedShort(); in seekTiffData()
769 header = dataStream.readInt(); in seekTiffData()
770 headerTail = dataStream.readShort(); in seekTiffData()
773 mTiffStartPosition = dataStream.getReadByteCount(); in seekTiffData()
780 if (length < 2 || (length - 2) != dataStream.skip(length - 2)) { in seekTiffData()
784 marker = dataStream.readShort(); in seekTiffData()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifParser.java721 CountedDataInputStream dataStream = new CountedDataInputStream(inputStream); in seekTiffData() local
722 if (dataStream.readShort() != JpegHeader.SOI) { in seekTiffData()
726 short marker = dataStream.readShort(); in seekTiffData()
728 int length = dataStream.readUnsignedShort(); in seekTiffData()
735 header = dataStream.readInt(); in seekTiffData()
736 headerTail = dataStream.readShort(); in seekTiffData()
744 if (length < 2 || (length - 2) != dataStream.skip(length - 2)) { in seekTiffData()
748 marker = dataStream.readShort(); in seekTiffData()