Home
last modified time | relevance | path

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

/frameworks/ex/photoviewer/src/com/android/ex/photo/util/
DExif.java25 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/
DExif.java25 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/
DImageRequestTest.java39 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/
DBurstCapture.cpp93 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/
DAndroid.mk7 jpeg.cpp \
18 external/jpeg \
/frameworks/av/services/camera/libcameraservice/
DAndroid.mk41 external/jpeg
/frameworks/base/media/tests/omxjpegdecoder/
DAndroid.mk35 $(TOP)/external/jpeg \
/frameworks/base/core/java/android/hardware/
DCamera.java1039 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/
DAndroid.mk176 external/jpeg \
/frameworks/base/docs/html/training/sharing/
Dsend.jd128 shareIntent.setType(&quot;image/jpeg&quot;);
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/
Ddata-element.jd84 <dd>A MIME media type, such as {@code image/jpeg} or {@code audio/mpeg4-generic}.
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd77 data your activity handles, such as {@code text/plain} or {@code image/jpeg}.</p>
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-creating.jd851 { &quot;image/jpeg&quot;, &quot;image/png&quot;, &quot;image/gif&quot;}
856 ContentResolver.getStreamTypes()} with the filter string <code>*\/jpeg</code>, and
860 {&quot;image/jpeg&quot;}
/frameworks/base/docs/html-intl/ja/guide/topics/
Dfundamentals.jd271 &lt;data android:mimeType="image/jpeg" /&gt;
/frameworks/base/docs/html/intl/ja/guide/topics/
Dfundamentals.jd271 &lt;data android:mimeType="image/jpeg" /&gt;