Home
last modified time | relevance | path

Searched refs:ImageReader (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/media/java/android/media/
DImageReader.java56 public class ImageReader implements AutoCloseable { class
123 public static ImageReader newInstance(int width, int height, int format, int maxImages) { in newInstance()
124 return new ImageReader(width, height, format, maxImages); in newInstance()
130 protected ImageReader(int width, int height, int format, int maxImages) { in ImageReader() method in ImageReader
152 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages); in ImageReader()
478 void onImageAvailable(ImageReader reader); in onImageAvailable()
599 WeakReference<ImageReader> weakSelf = (WeakReference<ImageReader>)selfRef; in postEventFromNative()
600 final ImageReader ir = weakSelf.get(); in postEventFromNative()
658 listener.onImageAvailable(ImageReader.this); in handleMessage()
670 ImageReader.this.releaseImage(this); in close()
[all …]
DImageWriter.java303 if (!(image.getOwner() instanceof ImageReader)) { in queueInputImage()
308 ImageReader prevOwner = (ImageReader) image.getOwner(); in queueInputImage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java24 import android.media.ImageReader;
25 import android.media.ImageReader.OnImageAvailableListener;
38 private ImageReader mReader;
57 mReader = spy(ImageReader.newInstance(DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_FORMAT, in setUp()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java31 import android.media.ImageReader;
74 ImageReader mCaptureBuffer;
253 mCaptureBuffer = ImageReader.newInstance(largestSize.getWidth(),
385 final ImageReader.OnImageAvailableListener mImageCaptureListener =
386 new ImageReader.OnImageAvailableListener() {
388 public void onImageAvailable(ImageReader reader) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java41 import android.media.ImageReader;
121 protected ImageReader mReader;
285 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareStillCaptureAndStartPreview()
304 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareStillCaptureAndStartPreview()
326 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareRawCaptureAndStartPreview()
580 ImageReader.OnImageAvailableListener listener) throws Exception { in createImageReader()
583 ImageReader r = makeImageReader(size, format, maxNumImages, listener, in createImageReader()
696 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareCaptureAndStartPreview()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java28 import android.media.ImageReader;
72 private ImageReader mImageReader;
86 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
377 implements ImageReader.OnImageAvailableListener {
404 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java30 import android.media.ImageReader;
94 private ImageReader mImageReader;
147 mImageReader = ImageReader.newInstance(largest.getWidth(), largest.getHeight(), in resume()
182 private final ImageReader.OnImageAvailableListener mOnImageAvailableListener
183 = new ImageReader.OnImageAvailableListener() {
186 public void onImageAvailable(ImageReader reader) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java33 import android.media.ImageReader;
77 ImageReader mImageReader;
82 private class ImageDropperListener implements ImageReader.OnImageAvailableListener {
85 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
168 ImageReader.newInstance(DEFAULT_IMAGE_WIDTH, in createDefaultSurface()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java52 import android.media.ImageReader;
175 public static ImageReader makeImageReader(Size size, int format, int maxNumImages, in makeImageReader()
176 ImageReader.OnImageAvailableListener listener, Handler handler) { in makeImageReader()
177 ImageReader reader; in makeImageReader()
178 reader = ImageReader.newInstance(size.getWidth(), size.getHeight(), format, in makeImageReader()
206 public static void closeImageReader(ImageReader reader) { in closeImageReader()
229 public static class ImageDropperListener implements ImageReader.OnImageAvailableListener {
231 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
246 public static class ImageVerifierListener implements ImageReader.OnImageAvailableListener {
256 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java39 import android.media.ImageReader;
525ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareVideoPreview()
546ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareCapturePreview()
DCamera2StillCaptureTest.java35 import android.media.ImageReader;
397 ImageReader rawReader = null; in fullRawCaptureTestByCamera()
398 ImageReader jpegReader = null; in fullRawCaptureTestByCamera()
DCamera2ReprocessCaptureTest.java32 import android.media.ImageReader;
81 private ImageReader mFirstImageReader;
83 private ImageReader mSecondImageReader;
856 private ImageReader getReprocessOutputImageReader() { in getReprocessOutputImageReader()
DCamera2RecordingTest.java35 import android.media.ImageReader;
742 ImageReader.OnImageAvailableListener imageListener) in prepareVideoSnapshot()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java37 import android.media.ImageReader;
176 implements ImageReader.OnImageAvailableListener {};
200 private ImageReader mCaptureReader;
743 mCaptureReader = ImageReader.newInstance( in setPreviewTexture()
1152 public void onImageAvailable(ImageReader reader) { in takePicture()
/frameworks/base/docs/html/about/versions/
Dandroid-4.4.jd45 <li><a href="#ImageReader">Surface image reader</a></li>
295 <h3 id="ImageReader">Surface image reader</h3>
297ImageReader} API provides you direct access to image buffers as they are rendered into a {@link an…
299ImageReader.OnImageAvailableListener} receives a call to {@link android.media.ImageReader.OnImageA…
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java347 if (klass == android.media.ImageReader.class) { in isOutputSupportedFor()
/frameworks/base/docs/html/about/versions/marshmallow/
Dandroid-6.0.jd514 <p>The {@link android.media.ImageReader} class now supports
516 maintain a circular image queue of {@link android.media.ImageReader} output images, select one or
/frameworks/base/
Dcompiled-classes-phone2387 android.media.ImageReader
2388 android.media.ImageReader$ListenerHandler
2389 android.media.ImageReader$OnImageAvailableListener
2390 android.media.ImageReader$SurfaceImage
2391 android.media.ImageReader$SurfaceImage$SurfacePlane
Dpreloaded-classes1428 android.media.ImageReader
1429 android.media.ImageReader$SurfaceImage
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14422 public class ImageReader implements java.lang.AutoCloseable {
14431 method public static android.media.ImageReader newInstance(int, int, int, int);
14432 …method public void setOnImageAvailableListener(android.media.ImageReader.OnImageAvailableListener,…
14435 public static abstract interface ImageReader.OnImageAvailableListener {
14436 method public abstract void onImageAvailable(android.media.ImageReader);
/frameworks/base/api/
Dcurrent.txt20188 public class ImageReader implements java.lang.AutoCloseable {
20197 method public static android.media.ImageReader newInstance(int, int, int, int);
20198 …method public void setOnImageAvailableListener(android.media.ImageReader.OnImageAvailableListener,…
20201 public static abstract interface ImageReader.OnImageAvailableListener {
20202 method public abstract void onImageAvailable(android.media.ImageReader);
Dtest-current.txt20257 public class ImageReader implements java.lang.AutoCloseable {
20266 method public static android.media.ImageReader newInstance(int, int, int, int);
20267 …method public void setOnImageAvailableListener(android.media.ImageReader.OnImageAvailableListener,…
20270 public static abstract interface ImageReader.OnImageAvailableListener {
20271 method public abstract void onImageAvailable(android.media.ImageReader);
Dsystem-current.txt21708 public class ImageReader implements java.lang.AutoCloseable {
21717 method public static android.media.ImageReader newInstance(int, int, int, int);
21718 …method public void setOnImageAvailableListener(android.media.ImageReader.OnImageAvailableListener,…
21721 public static abstract interface ImageReader.OnImageAvailableListener {
21722 method public abstract void onImageAvailable(android.media.ImageReader);