Home
last modified time | relevance | path

Searched refs:mImageReader (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java46 private ImageReader mImageReader; field in SurfacePixelValidator2
113 mImageReader = ImageReader.newInstance(mWidth, mHeight, HardwareBuffer.RGBA_8888, 1, in SurfacePixelValidator2()
116 mImageReader.setOnImageAvailableListener(mOnImageAvailable, in SurfacePixelValidator2()
121 return mImageReader.getSurface(); in getSurface()
141 mImageReader.close(); in finish()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_CameraGpuCtsActivity.cpp95 : mImageReader(kTestImageWidth, kTestImageHeight, kTestImageFormat, kTestImageUsage, in CameraFrameRenderer()
114 int ret = mImageReader.initImageReader(); in initRenderer()
120 ret = mCamera.initCamera(mImageReader.getNativeWindow()); in initRenderer()
197 ret = mImageReader.getBufferFromCurrentImage(&buffer); in drawFrame()
278 ImageReaderHelper mImageReader; member in __anon3c2945ab0111::CameraFrameRenderer
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java73 private ImageReader mImageReader; field in VirtualDisplayTest
93 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
94 mImageReader.setOnImageAvailableListener(mImageListener, mCheckHandler); in setUp()
95 mSurface = mImageReader.getSurface(); in setUp()
106 mImageReader.close(); in tearDown()
107 mImageReader = null; in tearDown()
354 if (reader != mImageReader) { in onImageAvailable()