Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DImageReader.java60 public class ImageReader implements AutoCloseable { class
127 public static @NonNull ImageReader newInstance( in newInstance()
134 return new ImageReader(width, height, format, maxImages, in newInstance()
221 public static @NonNull ImageReader newInstance( in newInstance()
234 return new ImageReader(width, height, format, maxImages, usage); in newInstance()
240 protected ImageReader(int width, int height, int format, int maxImages, long usage) { in ImageReader() method in ImageReader
592 void onImageAvailable(ImageReader reader); in onImageAvailable()
739 WeakReference<ImageReader> weakSelf = (WeakReference<ImageReader>)selfRef; in postEventFromNative()
740 final ImageReader ir = weakSelf.get(); in postEventFromNative()
798 listener.onImageAvailable(ImageReader.this); in handleMessage()
[all …]
DImageWriter.java365 if (!(image.getOwner() instanceof ImageReader)) { in queueInputImage()
370 ImageReader prevOwner = (ImageReader) image.getOwner(); in queueInputImage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DSurfaceUtilsTest.java21 import android.media.ImageReader;
31 ImageReader reader = ImageReader.newInstance(640, 480, ImageFormat.YUV_420_888, 1); in testInvalidSurfaceException()
DImageReaderTest.java24 import android.media.ImageReader;
25 import android.media.ImageReader.OnImageAvailableListener;
38 private ImageReader mReader;
58 mReader = spy(ImageReader.newInstance(DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_FORMAT, in setUp()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMyLittleTextureView.java31 import android.media.ImageReader;
47 ImageReader reader = ImageReader.newInstance(100, 100, PixelFormat.RGBA_8888, 3, in onCreate()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java26 import android.media.ImageReader;
54 private ImageReader mReader;
76 mReader = ImageReader.newInstance(displayInfo.logicalWidth, in createVirtualDisplay()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java51 import android.media.ImageReader;
92 private ImageReader mImageReader;
99 final Pair<VirtualDisplay, ImageReader> result = createDisplay(); in setUp()
339 private Pair<VirtualDisplay, ImageReader> createDisplay() { in createDisplay()
347 final ImageReader imageReader = ImageReader.newInstance( in createDisplay()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java43 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/services/core/java/com/android/server/vr/
DVr2dDisplay.java14 import android.media.ImageReader;
95 private ImageReader mImageReader;
242 ImageReader oldImageReader = mImageReader; in setVirtualDisplayProperties()
382 mImageReader = ImageReader.newInstance(mVirtualDisplayWidth, mVirtualDisplayHeight, in startImageReader()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java26 import android.media.ImageReader;
73 private ImageReader mImageReader;
87 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
378 implements ImageReader.OnImageAvailableListener {
405 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
/frameworks/rs/tests/java_api/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/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java30 import android.media.ImageReader;
88 private ImageReader mImageReader;
161 mImageReader = ImageReader.newInstance(big.getWidth(), big.getHeight(), in resume()
196 private final ImageReader.OnImageAvailableListener mOnImageAvailableListener
197 = new ImageReader.OnImageAvailableListener() {
200 public void onImageAvailable(ImageReader reader) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java42 import android.media.ImageReader;
83 ImageReader mImageReader;
88 private class ImageDropperListener implements ImageReader.OnImageAvailableListener {
91 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
184 ImageReader.newInstance(DEFAULT_IMAGE_WIDTH, in createDefaultSurface()
/frameworks/base/config/
Dpreloaded-classes-extra5 android.media.ImageReader
Dpreloaded-classes2273 android.media.ImageReader$SurfaceImage$SurfacePlane
2274 android.media.ImageReader$SurfaceImage
2275 android.media.ImageReader
Dhiddenapi-greylist-max-o.txt36385 Landroid/media/ImageReader$SurfaceImage$SurfacePlane;->clearBuffer()V
36386 Landroid/media/ImageReader$SurfaceImage$SurfacePlane;->mBuffer:Ljava/nio/ByteBuffer;
36387 Landroid/media/ImageReader$SurfaceImage$SurfacePlane;->mPixelStride:I
36388 Landroid/media/ImageReader$SurfaceImage$SurfacePlane;->mRowStride:I
36389 Landroid/media/ImageReader$SurfaceImage;->clearSurfacePlanes()V
36390 Landroid/media/ImageReader$SurfaceImage;->getNativeContext()J
36391 Landroid/media/ImageReader$SurfaceImage;->getOwner()Landroid/media/ImageReader;
36392 Landroid/media/ImageReader$SurfaceImage;->getReader()Landroid/media/ImageReader;
36393 Landroid/media/ImageReader$SurfaceImage;->getScalingMode()I
36394 Landroid/media/ImageReader$SurfaceImage;->getTransform()I
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java44 import android.media.ImageReader;
180 public static ImageReader makeImageReader(Size size, int format, int maxNumImages, in makeImageReader()
181 ImageReader.OnImageAvailableListener listener, Handler handler) { in makeImageReader()
182 ImageReader reader; in makeImageReader()
183 reader = ImageReader.newInstance(size.getWidth(), size.getHeight(), format, in makeImageReader()
211 public static void closeImageReader(ImageReader reader) { in closeImageReader()
234 public static class ImageDropperListener implements ImageReader.OnImageAvailableListener {
236 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
251 public static class ImageVerifierListener implements ImageReader.OnImageAvailableListener {
261 public void onImageAvailable(ImageReader reader) { in onImageAvailable()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java39 import android.media.ImageReader;
526ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareVideoPreview()
547ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareCapturePreview()
DCamera2StillCaptureTest.java38 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.java41 import android.media.ImageReader;
750 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/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java496 if (klass == android.media.ImageReader.class) { in isOutputSupportedFor()
/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);

12