Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java99 private ImageReader mImageReader; field in Vr2dDisplay
245 ImageReader oldImageReader = mImageReader; in setVirtualDisplayProperties()
246 mImageReader = null; in setVirtualDisplayProperties()
382 if (mImageReader == null) { in startImageReader()
383 mImageReader = ImageReader.newInstance(mVirtualDisplayWidth, mVirtualDisplayHeight, in startImageReader()
389 setSurfaceLocked(mImageReader.getSurface()); in startImageReader()
397 if (mImageReader != null) { in stopImageReader()
398 mImageReader.close(); in stopImageReader()
399 mImageReader = null; in stopImageReader()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java74 private ImageReader mImageReader; field in VirtualDisplayTest
88 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
89 mImageReader.setOnImageAvailableListener(mImageListener, mHandler); in setUp()
90 mSurface = mImageReader.getSurface(); in setUp()
102 mImageReader.close(); in tearDown()
103 mImageReader = null; in tearDown()
409 if (reader != mImageReader) { in onImageAvailable()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java94 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/
DCameraOps.java88 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java83 ImageReader mImageReader; field in CameraDeviceBinderTest
183 mImageReader = in createDefaultSurface()
188 mImageReader.setOnImageAvailableListener(new ImageDropperListener(), mHandler); in createDefaultSurface()
189 mSurface = mImageReader.getSurface(); in createDefaultSurface()
260 mImageReader.close(); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DScreenDecorWindowTests.java90 private ImageReader mImageReader; field in ScreenDecorWindowTests
99 mImageReader = result.second; in setUp()
117 mImageReader.close(); in tearDown()