Searched refs:jpeg (Results 1 - 10 of 10) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java46 int tag = pack(jpeg, offset, 4, false);
47 count = pack(jpeg, offset - 2, 2, littleEndian);
57 has(jpeg, byteSize, offset + length - 1)
66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false);
71 if (has(jpeg, byteSize, 1)) {
73 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF
74 && jpeg.get(1) == (byte) 0xD8;
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
82 final int marker = jpeg
198 has(final InputStreamBuffer jpeg, final long byteSize, final int index) argument
208 getOrientation(final byte[] jpeg) argument
[all...]
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DImageRequestTest.java39 NetworkResponse jpeg = new NetworkResponse(jpegBytes);
42 verifyResize(jpeg, 512, 250, 512, 250); // exactly half
43 verifyResize(jpeg, 511, 249, 509, 249); // just under half
44 verifyResize(jpeg, 1080, 500, 1024, 500); // larger
45 verifyResize(jpeg, 500, 500, 500, 244); // keep same ratio
48 verifyResize(jpeg, 512, 0, 512, 250);
49 verifyResize(jpeg, 800, 0, 800, 390);
50 verifyResize(jpeg, 1024, 0, 1024, 500);
53 verifyResize(jpeg, 0, 250, 512, 250);
54 verifyResize(jpeg,
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DBurstCapture.cpp94 sp<JpegCompressor> jpeg = new JpegCompressor(); local
95 jpeg->start(buffers, 1);
97 bool success = jpeg->waitForDone(10 * 1e9);
/frameworks/av/cmds/screenrecord/
H A DAndroid.mk30 external/jpeg
/frameworks/av/services/camera/libcameraservice/
H A DAndroid.mk56 external/jpeg
/frameworks/av/cmds/stagefright/
H A DAndroid.mk7 jpeg.cpp \
18 external/jpeg \
/frameworks/base/media/tests/omxjpegdecoder/
H A DAndroid.mk36 $(TOP)/external/jpeg \
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java49 * This class provides methods and constants for reading and writing jpeg file
54 * to a valid jpeg image as exif metadata.
721 * @param jpeg a byte array containing a jpeg compressed image.
724 public void readExif(byte[] jpeg) throws IOException { argument
725 readExif(new ByteArrayInputStream(jpeg));
732 * @param inStream an InputStream containing a jpeg compressed image.
752 * @param inFileName a string representing the filepath to jpeg file.
790 * Writes the tags from this ExifInterface object into a jpeg image,
793 * @param jpeg
798 writeExif(byte[] jpeg, OutputStream exifOutStream) argument
853 writeExif(byte[] jpeg, String exifOutFileName) argument
[all...]
/frameworks/base/core/jni/
H A DAndroid.mk173 external/jpeg \
/frameworks/base/core/java/android/hardware/
H A DCamera.java1183 * Equivalent to takePicture(shutter, raw, null, jpeg).
1188 PictureCallback jpeg) {
1189 takePicture(shutter, raw, null, jpeg);
1202 * image is available (NOTE: not all hardware supports this). The jpeg
1220 * @param jpeg the callback for JPEG image data, or null
1223 PictureCallback postview, PictureCallback jpeg) {
1227 mJpegCallback = jpeg;
1831 private static final String KEY_JPEG_THUMBNAIL_SIZE = "jpeg-thumbnail-size";
1832 private static final String KEY_JPEG_THUMBNAIL_WIDTH = "jpeg-thumbnail-width";
1833 private static final String KEY_JPEG_THUMBNAIL_HEIGHT = "jpeg
1187 takePicture(ShutterCallback shutter, PictureCallback raw, PictureCallback jpeg) argument
1222 takePicture(ShutterCallback shutter, PictureCallback raw, PictureCallback postview, PictureCallback jpeg) argument
[all...]

Completed in 302 milliseconds