/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
Exif.java | 51 int tag = pack(jpeg, offset, 4, false); 52 count = pack(jpeg, offset - 2, 2, littleEndian); 62 has(jpeg, byteSize, offset + length - 1) 71 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); local 76 if (has(jpeg, byteSize, 1)) { 77 // JPEG image files begin with FF D8. Only JPEG images have EXIF data. 78 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF 79 && jpeg.get(1) == (byte) 0xD8; 86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
Exif.java | 46 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); local 71 if (has(jpeg, byteSize, 1)) { 72 // JPEG image files begin with FF D8. Only JPEG images have EXIF data. 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) [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Exif.java | 24 public static int getOrientation(byte[] jpeg) { 25 if (jpeg == null) { 33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { 34 int marker = jpeg[offset] & 0xFF; 52 length = pack(jpeg, offset, 2, false); 53 if (length < 2 || offset + length > jpeg.length) { 60 pack(jpeg, offset + 2, 4, false) == 0x45786966 && 61 pack(jpeg, offset + 6, 2, false) == 0) { 75 int tag = pack(jpeg, offset, 4, false) [all...] |
Storage.java | 53 Location location, int orientation, byte[] jpeg, int width, int height) { 59 out.write(jpeg); 75 values.put(ImageColumns.MIME_TYPE, "image/jpeg"); 78 values.put(ImageColumns.SIZE, jpeg.length);
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
ImageRequestTest.java | 39 NetworkResponse jpeg = new NetworkResponse(jpegBytes); local 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, 0, 391, 800, 391) [all...] |
/device/asus/flo/camera/QCamera2/stack/ |
Android.mk | 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk 4 include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
|
/device/lge/hammerhead/camera/QCamera2/stack/ |
Android.mk | 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk 4 include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
|
/device/moto/shamu/camera/QCamera2/stack/ |
Android.mk | 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk 4 include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
|
/device/lge/mako/camera/QCamera/stack/ |
Android.mk | 4 #include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
|
/device/moto/shamu/camera/QCamera/stack/ |
Android.mk | 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
|
/packages/apps/Camera/src/com/android/camera/ |
Exif.java | 33 public static int getOrientation(byte[] jpeg) { 34 if (jpeg == null) return 0; 36 InputStream is = new ByteArrayInputStream(jpeg);
|
Storage.java | 80 long date, Location location, int orientation, byte[] jpeg, 84 writeFile(path, jpeg); 86 jpeg.length, path, width, height); 98 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/ |
Android.mk | 37 # (BEGIN) Need to remove later once dependency on jpeg removed
40 $(TARGET_OUT_HEADERS)/mm-still/jpeg \
43 # (END) Need to remove later once dependency on jpeg removed
56 # (BEGIN) Need to remove later once dependency on jpeg removed
58 # (END) Need to remove later once dependency on jpeg removed
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
BurstCapture.cpp | 94 sp<JpegCompressor> jpeg = new JpegCompressor(); local 95 jpeg->start(buffers, 1); 97 bool success = jpeg->waitForDone(10 * 1e9); 102 ALOGE("%s: JPEG encode timed out", __FUNCTION__);
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/ |
Android.mk | 18 $(TARGET_OUT_HEADERS)/mm-still/jpeg \ 33 LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libmmstillomx libimage-jpeg-enc-omx-comp
|
/packages/apps/Camera2/jni/ |
Android.mk | 27 LOCAL_C_INCLUDES += external/jpeg
|
/packages/apps/Gallery2/jni_jpegstream/ |
Android.mk | 3 # Jpeg Streaming native 13 external/jpeg
|
/packages/apps/Camera2/src/com/android/camera/ |
Storage.java | 66 * Save the image with default JPEG MIME type and add it to the MediaStore. 74 * @param jpeg The JPEG data. 81 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, 84 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, 190 * @param jpeg the bytes of the placeholder image 195 public static Uri addPlaceholder(byte[] jpeg, int width, int height) { 202 replacePlaceholder(uri, jpeg, width, height); 209 * @param jpeg the bytes of the placeholder image 214 public static void replacePlaceholder(Uri uri, byte[] jpeg, int width, int height) [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/ |
Android.mk | 35 $(TARGET_OUT_INTERMEDIATES)/include/mm-still/jpeg \ 38 $(LOCAL_PATH)/../mm-jpeg-interface/inc \
|
/packages/apps/Camera2/src/com/android/camera/session/ |
PlaceholderManager.java | 99 * @param jpeg the bytes of the image 106 ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) { 109 session.time, location, orientation, exif, jpeg, width, height, mimeType); 115 * This changes the temporary placeholder jpeg without writing it to the media store 118 * @param jpeg the new placeholder bytes 123 byte[] jpeg, int width, int height) { 126 jpeg, width, height);
|
/build/target/product/ |
emulator.mk | 40 camera.goldfish.jpeg \
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
Android.mk | 31 LOCAL_MODULE := mm-jpeg-interface-test
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
Android.mk | 31 LOCAL_MODULE := mm-jpeg-interface-test
|
/device/generic/goldfish/camera/ |
Android.mk | 32 # JPEG conversion libraries and includes. 37 LOCAL_C_INCLUDES += external/jpeg \ 89 LOCAL_C_INCLUDES += external/jpeg \ 96 LOCAL_MODULE := camera.goldfish.jpeg
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoramaActivity.java | 623 MosaicJpeg jpeg = generateFinalMosaic(false); 625 if (jpeg != null && jpeg.isValid) { 627 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length); [all...] |