/frameworks/ex/photoviewer/src/com/android/ex/photo/util/ |
D | Exif.java | 25 public static int getOrientation(byte[] jpeg) { in getOrientation() argument 26 if (jpeg == null) { in getOrientation() 34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { in getOrientation() 35 int marker = jpeg[offset] & 0xFF; in getOrientation() 53 length = pack(jpeg, offset, 2, false); in getOrientation() 54 if (length < 2 || offset + length > jpeg.length) { in getOrientation() 61 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation() 62 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation() 76 int tag = pack(jpeg, offset, 4, false); in getOrientation() 84 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | Exif.java | 25 public static int getOrientation(byte[] jpeg) { in getOrientation() argument 26 if (jpeg == null) { in getOrientation() 34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { in getOrientation() 35 int marker = jpeg[offset] & 0xFF; in getOrientation() 53 length = pack(jpeg, offset, 2, false); in getOrientation() 54 if (length < 2 || offset + length > jpeg.length) { in getOrientation() 61 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation() 62 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation() 76 int tag = pack(jpeg, offset, 4, false); in getOrientation() 84 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation() [all …]
|
/frameworks/support/volley/tests/src/com/android/volley/toolbox/ |
D | ImageRequestTest.java | 39 NetworkResponse jpeg = new NetworkResponse(jpegBytes); in testParseNetworkResponse_resizing() local 42 verifyResize(jpeg, 512, 250, 512, 250); // exactly half in testParseNetworkResponse_resizing() 43 verifyResize(jpeg, 511, 249, 509, 249); // just under half in testParseNetworkResponse_resizing() 44 verifyResize(jpeg, 1080, 500, 1024, 500); // larger in testParseNetworkResponse_resizing() 45 verifyResize(jpeg, 500, 500, 500, 244); // keep same ratio in testParseNetworkResponse_resizing() 48 verifyResize(jpeg, 512, 0, 512, 250); in testParseNetworkResponse_resizing() 49 verifyResize(jpeg, 800, 0, 800, 390); in testParseNetworkResponse_resizing() 50 verifyResize(jpeg, 1024, 0, 1024, 500); in testParseNetworkResponse_resizing() 53 verifyResize(jpeg, 0, 250, 512, 250); in testParseNetworkResponse_resizing() 54 verifyResize(jpeg, 0, 391, 800, 391); in testParseNetworkResponse_resizing() [all …]
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
D | BurstCapture.cpp | 93 sp<JpegCompressor> jpeg = new JpegCompressor(); in jpegEncode() local 94 status_t res = jpeg->start(buffers, 1); in jpegEncode() 96 bool success = jpeg->waitForDone(10 * 1e9); in jpegEncode()
|
/frameworks/av/cmds/stagefright/ |
D | Android.mk | 7 jpeg.cpp \ 18 external/jpeg \
|
/frameworks/av/services/camera/libcameraservice/ |
D | Android.mk | 41 external/jpeg
|
/frameworks/base/media/tests/omxjpegdecoder/ |
D | Android.mk | 35 $(TOP)/external/jpeg \
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 1039 PictureCallback jpeg) { in takePicture() argument 1040 takePicture(shutter, raw, null, jpeg); in takePicture() 1074 PictureCallback postview, PictureCallback jpeg) { in takePicture() argument 1078 mJpegCallback = jpeg; in takePicture()
|
/frameworks/base/core/jni/ |
D | Android.mk | 176 external/jpeg \
|
/frameworks/base/docs/html/training/sharing/ |
D | send.jd | 128 shareIntent.setType("image/jpeg"); 175 "image/jpeg"}. For a mixture of image types, it should be {@code "image/*"} to match an activity
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | data-element.jd | 84 <dd>A MIME media type, such as {@code image/jpeg} or {@code audio/mpeg4-generic}.
|
/frameworks/base/docs/html/training/basics/intents/ |
D | filters.jd | 77 data your activity handles, such as {@code text/plain} or {@code image/jpeg}.</p>
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-provider-creating.jd | 851 { "image/jpeg", "image/png", "image/gif"} 856 ContentResolver.getStreamTypes()} with the filter string <code>*\/jpeg</code>, and 860 {"image/jpeg"}
|
/frameworks/base/docs/html-intl/ja/guide/topics/ |
D | fundamentals.jd | 271 <data android:mimeType="image/jpeg" />
|
/frameworks/base/docs/html/intl/ja/guide/topics/ |
D | fundamentals.jd | 271 <data android:mimeType="image/jpeg" />
|