Home
last modified time | relevance | path

Searched refs:jpeg (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); in getOrientation() local
71 if (has(jpeg, byteSize, 1)) { in getOrientation()
73 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF in getOrientation()
74 && jpeg.get(1) == (byte) 0xD8; in getOrientation()
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
82 final int marker = jpeg.get(offset) & 0xFF; in getOrientation()
97 jpeg.advanceTo(offset - readBackwards); in getOrientation()
102 length = pack(jpeg, offset, 2, false); in getOrientation()
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
110 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java71 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); in getOrientation() local
76 if (has(jpeg, byteSize, 1)) { in getOrientation()
78 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF in getOrientation()
79 && jpeg.get(1) == (byte) 0xD8; in getOrientation()
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
87 final int marker = jpeg.get(offset) & 0xFF; in getOrientation()
102 jpeg.advanceTo(offset - readBackwards); in getOrientation()
107 length = pack(jpeg, offset, 2, false); in getOrientation()
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
115 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
[all …]
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java422 byte[] jpeg = new byte[buffer.remaining()]; in run()
423 buffer.get(jpeg); in run()
424 ostream.write(jpeg); in run()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java724 public void readExif(byte[] jpeg) throws IOException { in readExif() argument
725 readExif(new ByteArrayInputStream(jpeg)); in readExif()
798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument
799 if (jpeg == null || exifOutStream == null) { in writeExif()
803 s.write(jpeg, 0, jpeg.length); in writeExif()
853 public void writeExif(byte[] jpeg, String exifOutFileName) throws FileNotFoundException, in writeExif() argument
855 if (jpeg == null || exifOutFileName == null) { in writeExif()
861 s.write(jpeg, 0, jpeg.length); in writeExif()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java274 PictureCallback jpeg) { in CaptureCallbacks() argument
278 mJpeg = jpeg; in CaptureCallbacks()
326 final PictureCallback jpeg) { in requestTakePicture() argument
327 final CaptureCallbacks callbacks = new CaptureCallbacks(shutter, raw, postView, jpeg); in requestTakePicture()
904 final CameraPictureCallback jpeg) { in takePicture() argument
916 jpeg.onPictureTaken(data, AndroidCameraProxyImpl.this); in takePicture()
DAndroidCamera2AgentImpl.java1132 final CameraPictureCallback jpeg) { in takePicture() argument
1154 if (jpeg != null) { in takePicture()
1161 jpeg.onPictureTaken(pixels, AndroidCamera2ProxyImpl.this); in takePicture()
DCameraAgent.java719 CameraPictureCallback jpeg); in takePicture() argument
/frameworks/av/cmds/stagefright/
DAndroid.mk8 jpeg.cpp \
/frameworks/native/cmds/installd/
Dinstalld.rc44 mkdir /config/sdcardfs/extensions/1057/jpeg
/frameworks/base/mime/java-res/
Dandroid.mime.types138 image/jpeg jpg
/frameworks/base/core/java/android/hardware/
DCamera.java1511 PictureCallback jpeg) { in takePicture() argument
1512 takePicture(shutter, raw, null, jpeg); in takePicture()
1549 PictureCallback postview, PictureCallback jpeg) { in takePicture() argument
1553 mJpegCallback = jpeg; in takePicture()