Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java99 private ImageReader mImageReader; field in Vr2dDisplay
222 ImageReader oldImageReader = mImageReader; in setVirtualDisplayProperties()
223 mImageReader = null; in setVirtualDisplayProperties()
348 if (mImageReader == null) { in startImageReader()
349 mImageReader = ImageReader.newInstance(mVirtualDisplayWidth, mVirtualDisplayHeight, in startImageReader()
355 setSurfaceLocked(mImageReader.getSurface()); in startImageReader()
363 if (mImageReader != null) { in stopImageReader()
364 mImageReader.close(); in stopImageReader()
365 mImageReader = null; in stopImageReader()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java72 private ImageReader mImageReader; field in VirtualDisplayTest
86 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
87 mImageReader.setOnImageAvailableListener(mImageListener, mHandler); in setUp()
88 mSurface = mImageReader.getSurface(); in setUp()
100 mImageReader.close(); in tearDown()
101 mImageReader = null; in tearDown()
407 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.java77 ImageReader mImageReader; field in CameraDeviceBinderTest
177 mImageReader = in createDefaultSurface()
182 mImageReader.setOnImageAvailableListener(new ImageDropperListener(), mHandler); in createDefaultSurface()
183 mSurface = mImageReader.getSurface(); in createDefaultSurface()
254 mImageReader.close(); in tearDown()