/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | PenStylusActivity.kt | 42 private val mImageReader: ImageReader constant in com.android.test.hwui.PenStylusActivity.SingleBufferedCanvas 46 mImageReader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, 1, 50 mSurface = mImageReader.surface 52 val image = mImageReader.acquireNextImage() 70 mImageReader.acquireNextImage().close() in unlockCanvas() 82 mImageReader.close() in close()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 96 private ImageReader mImageReader; field in Vr2dDisplay 243 ImageReader oldImageReader = mImageReader; in setVirtualDisplayProperties() 244 mImageReader = null; in setVirtualDisplayProperties() 385 if (mImageReader == null) { in startImageReader() 386 mImageReader = ImageReader.newInstance(mVirtualDisplayWidth, mVirtualDisplayHeight, in startImageReader() 392 setSurfaceLocked(mImageReader.getSurface()); in startImageReader() 400 if (mImageReader != null) { in stopImageReader() 401 mImageReader.close(); in stopImageReader() 402 mImageReader = null; in stopImageReader()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 80 private ImageReader mImageReader; field in VirtualDisplayTest 94 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp() 95 mImageReader.setOnImageAvailableListener(mImageListener, mHandler); in setUp() 96 mSurface = mImageReader.getSurface(); in setUp() 108 mImageReader.close(); in tearDown() 109 mImageReader = null; in tearDown() 456 if (reader != mImageReader) { in onImageAvailable()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 94 private ImageReader mImageReader; field in CameraOps 147 mImageReader = ImageReader.newInstance(largest.getWidth(), largest.getHeight(), in resume() 149 mImageReader.setOnImageAvailableListener( in resume() 344 surfaceList.add(mImageReader.getSurface()); 494 Log.v(TAG, " Target " + mImageReader.getWidth() + "," + mImageReader.getHeight()); 496 captureBuilder.addTarget(mImageReader.getSurface());
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 88 private ImageReader mImageReader; field in CameraOps 161 mImageReader = ImageReader.newInstance(big.getWidth(), big.getHeight(), in resume() 163 mImageReader.setOnImageAvailableListener( in resume() 379 surfaceList.add(mImageReader.getSurface()); in setSurface() 530 Log.v(TAG, "S>> Target " + mImageReader.getWidth() + "," + mImageReader.getHeight()); in captureStillPicture() 532 captureBuilder.addTarget(mImageReader.getSurface()); in captureStillPicture()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskStackChangedListenerTest.java | 81 private ImageReader mImageReader; field in TaskStackChangedListenerTest 99 mImageReader.close(); in tearDown() 122 mImageReader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, in createVirtualDisplay() 128 mImageReader.getSurface(), flags); in createVirtualDisplay() 129 mVirtualDisplay.setSurface(mImageReader.getSurface()); in createVirtualDisplay()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 86 ImageReader mImageReader; field in CameraDeviceBinderTest 186 mImageReader = in createDefaultSurface() 191 mImageReader.setOnImageAvailableListener(new ImageDropperListener(), mHandler); in createDefaultSurface() 192 mSurface = mImageReader.getSurface(); in createDefaultSurface() 266 mImageReader.close(); in tearDown()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraExtensionJpegProcessor.java | 302 private ImageReader mImageReader; field in CameraExtensionJpegProcessor.YuvCallback 306 mImageReader = imageReader; in YuvCallback() 315 yuvImage = mImageReader.acquireNextImage(); in onImageAvailable()
|
D | CameraExtensionSessionImpl.java | 1440 private final ImageReader mImageReader; field in CameraExtensionSessionImpl.CameraOutputImageCallback 1448 mImageReader = imageReader; in CameraOutputImageCallback() 1519 listener.onImageAvailable(mImageReader, entry.first); in registerListener() 1523 onImageAvailable(mImageReader); in registerListener()
|