/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
|
/hardware/qcom/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
|
/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");
|
/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__);
|
/packages/apps/Camera2/src/com/android/camera/ |
Storage.java | 66 public static void writeFile(String path, byte[] jpeg, ExifInterface exif) { 69 exif.writeExif(jpeg, path); 74 writeFile(path, jpeg); 96 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, 99 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, 105 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, 109 writeFile(path, jpeg, exif); 111 jpeg.length, path, width, height, mimeType); 153 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, 156 writeFile(path, jpeg, exif) [all...] |
CameraManager.java | 271 * @param jpeg The callback for jpeg image data, may be null. 282 CameraPictureCallback jpeg);
|
/packages/apps/Gallery2/jni_jpegstream/ |
Android.mk | 3 # Jpeg Streaming native 13 external/jpeg
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
Android.mk | 31 LOCAL_MODULE := mm-jpeg-interface-test
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
Android.mk | 31 LOCAL_MODULE := mm-jpeg-interface-test
|
/device/generic/goldfish/camera/ |
Android.mk | 31 # JPEG conversion libraries and includes. 36 LOCAL_C_INCLUDES += external/jpeg \ 87 LOCAL_C_INCLUDES += external/jpeg \ 94 LOCAL_MODULE := camera.goldfish.jpeg
|
/build/target/product/ |
emulator.mk | 53 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...] |
/external/eigen/bench/btl/data/ |
mk_gnuplot_script.sh | 46 echo set term jpeg large >> $WHAT.gnuplot
|
/frameworks/av/cmds/screenrecord/ |
Android.mk | 30 external/jpeg
|
/frameworks/av/services/camera/libcameraservice/ |
Android.mk | 56 external/jpeg
|
/packages/apps/Camera2/src/com/android/camera/app/ |
PlaceholderManager.java | 168 ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) { 171 session.time, location, orientation, exif, jpeg, width, height, mimeType);
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
MultiTouchView.java | 167 * Draws a JPEG bitmap on the screen. 173 * @param jpeg JPEG bitmap to draw. 175 public void drawJpeg(int x, int y, int w, int h, InputStream jpeg) { 177 final Bitmap bmp = BitmapFactory.decodeStream(jpeg);
|
/frameworks/av/cmds/stagefright/ |
Android.mk | 7 jpeg.cpp \ 18 external/jpeg \
|
/external/chromium_org/build/android/ |
lighttpd_server.py | 178 ".jpg" => "image/jpeg", 179 ".jpeg" => "image/jpeg",
|