/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 60 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 …]
|
D | ImageWriter.java | 365 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/ |
D | SurfaceUtilsTest.java | 21 import android.media.ImageReader; 31 ImageReader reader = ImageReader.newInstance(640, 480, ImageFormat.YUV_420_888, 1); in testInvalidSurfaceException()
|
D | ImageReaderTest.java | 24 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/ |
D | MyLittleTextureView.java | 31 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/ |
D | CameraTooActivity.java | 31 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/ |
D | NavigationBarButtonTest.java | 26 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/ |
D | ScreenDecorWindowTests.java | 51 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/ |
D | Camera2SurfaceViewTestCase.java | 43 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/ |
D | Vr2dDisplay.java | 14 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/ |
D | VirtualDisplayTest.java | 26 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/ |
D | CameraOps.java | 30 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/ |
D | CameraOps.java | 30 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/ |
D | CameraDeviceBinderTest.java | 42 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/ |
D | preloaded-classes-extra | 5 android.media.ImageReader
|
D | preloaded-classes | 2273 android.media.ImageReader$SurfaceImage$SurfacePlane 2274 android.media.ImageReader$SurfaceImage 2275 android.media.ImageReader
|
D | hiddenapi-greylist-max-o.txt | 36385 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/ |
D | CameraTestUtils.java | 44 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/ |
D | Camera2SwitchPreviewTest.java | 39 import android.media.ImageReader; 526 … ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareVideoPreview() 547 … ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareCapturePreview()
|
D | Camera2StillCaptureTest.java | 38 import android.media.ImageReader; 397 ImageReader rawReader = null; in fullRawCaptureTestByCamera() 398 ImageReader jpegReader = null; in fullRawCaptureTestByCamera()
|
D | Camera2ReprocessCaptureTest.java | 32 import android.media.ImageReader; 81 private ImageReader mFirstImageReader; 83 private ImageReader mSecondImageReader; 856 private ImageReader getReprocessOutputImageReader() { in getReprocessOutputImageReader()
|
D | Camera2RecordingTest.java | 41 import android.media.ImageReader; 750 ImageReader.OnImageAvailableListener imageListener) in prepareVideoSnapshot()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2AgentImpl.java | 37 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/ |
D | StreamConfigurationMap.java | 496 if (klass == android.media.ImageReader.class) { in isOutputSupportedFor()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 14422 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);
|