/frameworks/base/tests/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() 386 if (mImageReader == null) { in startImageReader() 387 mImageReader = ImageReader.newInstance(mVirtualDisplayWidth, mVirtualDisplayHeight, in startImageReader() 393 setSurfaceLocked(mImageReader.getSurface()); in startImageReader() 401 if (mImageReader != null) { in stopImageReader() 402 mImageReader.close(); in stopImageReader() 403 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 | 76 private ImageReader mImageReader; field in TaskStackChangedListenerTest 88 mImageReader.close(); in tearDown() 98 mImageReader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, in createVirtualDisplay() 104 mImageReader.getSurface(), flags); in createVirtualDisplay() 105 mVirtualDisplay.setSurface(mImageReader.getSurface()); in createVirtualDisplay()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 83 ImageReader mImageReader; field in CameraDeviceBinderTest 183 mImageReader = in createDefaultSurface() 188 mImageReader.setOnImageAvailableListener(new ImageDropperListener(), mHandler); in createDefaultSurface() 189 mSurface = mImageReader.getSurface(); in createDefaultSurface() 263 mImageReader.close(); in tearDown()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 149 private ImageReader mImageReader; field in RenderSessionImpl 522 if (mNewRenderSize || mImageReader == null || disableBitmapCaching) { in renderAndBuildResult() 552 if (mImageReader == null) { in renderAndBuildResult() 553 …mImageReader = ImageReader.newInstance(mImage.getWidth(), mImage.getHeight(), PixelFormat.RGBA_888… in renderAndBuildResult() 554 mRenderer.setSurface(mImageReader.getSurface()); in renderAndBuildResult() 555 mNativeImage = mImageReader.acquireNextImage(); in renderAndBuildResult() 1261 if (mImageReader != null) { in disposeImageSurface() 1262 mImageReader.close(); in disposeImageSurface() 1263 mImageReader = null; in disposeImageSurface()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraExtensionSessionImpl.java | 1231 private final ImageReader mImageReader; field in CameraExtensionSessionImpl.CameraOutputImageCallback 1238 mImageReader = imageReader; in CameraOutputImageCallback() 1297 listener.onImageAvailable(mImageReader, entry.first); in registerListener() 1301 onImageAvailable(mImageReader); in registerListener()
|