Home
last modified time | relevance | path

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

12

/frameworks/volley/src/test/java/com/android/volley/toolbox/
DImageRequestTest.java50 NetworkResponse jpeg = new NetworkResponse(jpegBytes); in parseNetworkResponse_resizing() local
58 verifyResize(jpeg, 512, 250, scalteType, 512, 250); // exactly half in parseNetworkResponse_resizing()
59 verifyResize(jpeg, 511, 249, scalteType, 509, 249); // just under half in parseNetworkResponse_resizing()
60 verifyResize(jpeg, 1080, 500, scalteType, 1024, 500); // larger in parseNetworkResponse_resizing()
61 verifyResize(jpeg, 500, 500, scalteType, 500, 244); // keep same ratio in parseNetworkResponse_resizing()
64 verifyResize(jpeg, 512, 0, scalteType, 512, 250); in parseNetworkResponse_resizing()
65 verifyResize(jpeg, 800, 0, scalteType, 800, 390); in parseNetworkResponse_resizing()
66 verifyResize(jpeg, 1024, 0, scalteType, 1024, 500); in parseNetworkResponse_resizing()
69 verifyResize(jpeg, 0, 250, scalteType, 512, 250); in parseNetworkResponse_resizing()
70 verifyResize(jpeg, 0, 391, scalteType, 800, 391); in parseNetworkResponse_resizing()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java71 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); in getOrientation() local
76 if (has(jpeg, byteSize, 1)) { in getOrientation()
78 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF in getOrientation()
79 && jpeg.get(1) == (byte) 0xD8; in getOrientation()
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
87 final int marker = jpeg.get(offset) & 0xFF; in getOrientation()
102 jpeg.advanceTo(offset - readBackwards); in getOrientation()
107 length = pack(jpeg, offset, 2, false); in getOrientation()
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
115 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); in getOrientation() local
71 if (has(jpeg, byteSize, 1)) { in getOrientation()
73 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF in getOrientation()
74 && jpeg.get(1) == (byte) 0xD8; in getOrientation()
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
82 final int marker = jpeg.get(offset) & 0xFF; in getOrientation()
97 jpeg.advanceTo(offset - readBackwards); in getOrientation()
102 length = pack(jpeg, offset, 2, false); in getOrientation()
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
110 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
[all …]
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java422 byte[] jpeg = new byte[buffer.remaining()]; in run()
423 buffer.get(jpeg); in run()
424 ostream.write(jpeg); in run()
/frameworks/av/cmds/screenrecord/
DAndroid.mk35 external/jpeg
/frameworks/av/cmds/stagefright/
DAndroid.mk7 jpeg.cpp \
18 external/jpeg \
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java724 public void readExif(byte[] jpeg) throws IOException { in readExif() argument
725 readExif(new ByteArrayInputStream(jpeg)); in readExif()
798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument
799 if (jpeg == null || exifOutStream == null) { in writeExif()
803 s.write(jpeg, 0, jpeg.length); in writeExif()
853 public void writeExif(byte[] jpeg, String exifOutFileName) throws FileNotFoundException, in writeExif() argument
855 if (jpeg == null || exifOutFileName == null) { in writeExif()
861 s.write(jpeg, 0, jpeg.length); in writeExif()
/frameworks/av/services/camera/libcameraservice/
DAndroid.mk75 external/jpeg
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java274 PictureCallback jpeg) { in CaptureCallbacks() argument
278 mJpeg = jpeg; in CaptureCallbacks()
326 final PictureCallback jpeg) { in requestTakePicture() argument
327 final CaptureCallbacks callbacks = new CaptureCallbacks(shutter, raw, postView, jpeg); in requestTakePicture()
904 final CameraPictureCallback jpeg) { in takePicture() argument
916 jpeg.onPictureTaken(data, AndroidCameraProxyImpl.this); in takePicture()
DAndroidCamera2AgentImpl.java1132 final CameraPictureCallback jpeg) { in takePicture() argument
1154 if (jpeg != null) { in takePicture()
1161 jpeg.onPictureTaken(pixels, AndroidCamera2ProxyImpl.this); in takePicture()
DCameraAgent.java719 CameraPictureCallback jpeg); in takePicture() argument
/frameworks/base/core/java/android/hardware/
DCamera.java1378 PictureCallback jpeg) { in takePicture() argument
1379 takePicture(shutter, raw, null, jpeg); in takePicture()
1413 PictureCallback postview, PictureCallback jpeg) { in takePicture() argument
1417 mJpegCallback = jpeg; in takePicture()
/frameworks/base/docs/html/training/sharing/
Dsend.jd128 shareIntent.setType(&quot;image/jpeg&quot;);
167 "image/jpeg"}. For a mixture of image types, it should be {@code "image/*"} to match an activity
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dfilters.jd72 данных, с которыми работает ваша операция, например, {@code text/plain} или {@code image/jpeg}.</p>
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dfilters.jd69 …理 URI),應僅指定 {@code android:mimeType} 屬性以宣告應用行為顯示處理的資料類型,例如 {@code text/plain} 或 {@code image/jpeg}。
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dfilters.jd70 …间),您应只指定 {@code android:mimeType} 属性声明您的Activity处理的数据类型,比如 {@code text/plain} 或 {@code image/jpeg}。
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dfilters.jd70 {@code text/plain} {@code image/jpeg} のようなアクティビティが処理するデータのタイプを宣言する {@code android:mimeType} 属性のみを指定…
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dfilters.jd71 {@link android.net.Uri}에 대한 세부사항을 선언할 필요가 없는 경우, {@code text/plain} 또는 {@code image/jpeg}와 같이 액티비티가…
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcontent-provider-creating.jd850 { &quot;image/jpeg&quot;, &quot;image/png&quot;, &quot;image/gif&quot;}
855 ContentResolver.getStreamTypes()} со строкой фильтра <code>*\/jpeg</code>; метод
859 {&quot;image/jpeg&quot;}
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Dcontent-provider-creating.jd850 { &quot;image/jpeg&quot;, &quot;image/png&quot;, &quot;image/gif&quot;}
855 …ContentResolver.getStreamTypes()} 时使用过滤器字符串 <code>*\/jpeg</code>,{@link android.content.ContentPro…
859 {&quot;image/jpeg&quot;}
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcontent-provider-creating.jd850 { &quot;image/jpeg&quot;, &quot;image/png&quot;, &quot;image/gif&quot;}
854 …ContentResolver.getStreamTypes()} をフィルタ文字列 <code>*\/jpeg</code> で呼び出す場合、{@link android.content.Con…
859 {&quot;image/jpeg&quot;}
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcontent-provider-creating.jd850 { &quot;image/jpeg&quot;, &quot;image/png&quot;, &quot;image/gif&quot;}
853 …如果應用程式只想取得 <code>.jpg</code> 檔案,則可以使用篩選器字串 <code>*\/jpeg</code> 呼叫 {@link android.content.ContentR…
859 {&quot;image/jpeg&quot;}
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcontent-provider-creating.jd850 { &quot;image/jpeg&quot;, &quot;image/png&quot;, &quot;image/gif&quot;}
854 필터 문자열 <code>*\/jpeg</code>으로 {@link android.content.ContentResolver#getStreamTypes(Uri, String)
859 {&quot;image/jpeg&quot;}
/frameworks/base/docs/html/guide/topics/manifest/
Ddata-element.jd156 <dd>A MIME media type, such as {@code image/jpeg} or {@code audio/mpeg4-generic}.
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd76 data your activity handles, such as {@code text/plain} or {@code image/jpeg}.</p>

12