Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java435 SimpleImageListener imageListeners[] = new SimpleImageListener[IMG_READER_COUNT]; in testSharedSurfaceImageReaderSwitch() local
465 imageListeners[i] = new SimpleImageListener(); in testSharedSurfaceImageReaderSwitch()
468 imageReaders[i].setOnImageAvailableListener(imageListeners[i], mHandler); in testSharedSurfaceImageReaderSwitch()
480 imageListeners[i].waitForAnyImageAvailable(PREVIEW_TIME_MS); in testSharedSurfaceImageReaderSwitch()
551 SimpleImageListener imageListeners[] = new SimpleImageListener[YUV_IMG_READER_COUNT]; in testSharedSurfaceYUVImageReaderSwitch() local
557 imageListeners[i] = new SimpleImageListener(); in testSharedSurfaceYUVImageReaderSwitch()
560 imageReaders[i].setOnImageAvailableListener(imageListeners[i], mHandler); in testSharedSurfaceYUVImageReaderSwitch()
600 imageListeners[i].waitForAnyImageAvailable(PREVIEW_TIME_MS); in testSharedSurfaceYUVImageReaderSwitch()
607 imageListeners[0].waitForAnyImageAvailable(PREVIEW_TIME_MS); in testSharedSurfaceYUVImageReaderSwitch()
612 imageListeners[0].waitForAnyImageAvailable(PREVIEW_TIME_MS); in testSharedSurfaceYUVImageReaderSwitch()
DPerformanceTest.java362 SimpleImageListener[] imageListeners = new SimpleImageListener[formats.length]; in testSingleCaptureForFormat() local
367 imageListeners[j] = new SimpleImageListener(); in testSingleCaptureForFormat()
372 previewResultListener, NUM_MAX_IMAGES, imageListeners, in testSingleCaptureForFormat()
400 imageListeners[j].waitForImageAvailable( in testSingleCaptureForFormat()
402 imageTimes[j] = imageListeners[j].getTimeReceivedImage(); in testSingleCaptureForFormat()
1156 int maxNumImages, ImageReader.OnImageAvailableListener[] imageListeners, in prepareStillCaptureAndStartPreview() argument
1160 if ((captureSizes == null) || (formats == null) || (imageListeners == null) && in prepareStillCaptureAndStartPreview()
1162 (formats.length != imageListeners.length)) { in prepareStillCaptureAndStartPreview()
1179 imageListeners[i], mHandler); in prepareStillCaptureAndStartPreview()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java597 int maxNumImages, ImageReader.OnImageAvailableListener[] imageListeners, in prepareStillCaptureAndStartPreview() argument
601 if ((captureSizes == null) || (formats == null) || (imageListeners == null) && in prepareStillCaptureAndStartPreview()
603 (formats.length != imageListeners.length)) { in prepareStillCaptureAndStartPreview()
620 imageListeners[i], mHandler); in prepareStillCaptureAndStartPreview()