Home
last modified time | relevance | path

Searched refs:mPreviewSurface (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java99 protected Surface mPreviewSurface; field in Camera2SurfaceViewTestCase
192 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput()
196 request.addTarget(mPreviewSurface); in configurePreviewOutput()
206 if (mPreviewSurface == null) { in createRequestForPreview()
213 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
601 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()
621 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()
622 assertNotNull("Preview surface is null", mPreviewSurface); in updatePreviewSurface()
623 assertTrue("Preview surface is invalid", mPreviewSurface.isValid()); in updatePreviewSurface()
655 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java48 private Surface mPreviewSurface = null; field in MockVideoProvider
63 mPreviewSurface = surface; in onSetPreviewSurface()
182 return mPreviewSurface; in getPreviewSurface()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DRecordingTest.java527 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording()
528 outputSurfaces.add(mPreviewSurface); in startSlowMotionRecording()
544 requestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
567 recordingRequestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
992 assertNotNull("Preview surface must be non-null!", mPreviewSurface); in prepareVideoSnapshot()
993 requestBuilder.addTarget(mPreviewSurface); in prepareVideoSnapshot()
1104 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startRecording()
1105 outputSurfaces.add(mPreviewSurface); in startRecording()
1120 recordingRequestBuilder.addTarget(mPreviewSurface); in startRecording()
DReprocessCaptureTest.java577 mPreviewSurface = null; in testReprocessMixedBurst()
582 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/numBurst); in testReprocessMixedBurst()
585 startPreview(mPreviewSurface); in testReprocessMixedBurst()
646 mPreviewSurface = null; in testReprocessBurst()
651 setupReprocessableSession(mPreviewSurface, numBurst); in testReprocessBurst()
654 startPreview(mPreviewSurface); in testReprocessBurst()
704 mPreviewSurface = null; in testReprocess()
709 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/1); in testReprocess()
712 startPreview(mPreviewSurface); in testReprocess()
DPerformanceTest.java589 zslBuilder.addTarget(mPreviewSurface); in startZslStreaming()
650 outSurfaces.add(mPreviewSurface); in prepareReprocessCapture()
673 if (mPreviewSurface == null || mReaderSurface == null) { in blockingStartPreview()
680 previewBuilder.addTarget(mPreviewSurface); in blockingStartPreview()
691 if (mPreviewSurface == null || mReaderSurface == null) { in configureReaderAndPreviewOutputs()
697 outputSurfaces.add(mPreviewSurface); in configureReaderAndPreviewOutputs()
DStillCaptureTest.java494 focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener, in takePictureTestByCamera()
649 Camera2Focuser focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener, in touchForFocusTestByCamera()
768 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera()
774 previewBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
775 multiBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
DSurfaceViewPreviewTest.java188 outputSurfaces.add(mPreviewSurface); in preparePerformanceTestByCamera()
196 previewRequest.addTarget(mPreviewSurface); in preparePerformanceTestByCamera()
DBurstCaptureRawTest.java661 previewBuilder.removeTarget(mPreviewSurface); in stopPreviewAndClearSurface()
662 rawBurstBuilder.removeTarget(mPreviewSurface); in stopPreviewAndClearSurface()