Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DNativeCameraDeviceTest.java64 testCameraDeviceSessionOpenAndCloseNative(mPreviewSurface, mOverrideCameraId)); in testCameraDeviceSessionOpenAndClose()
72 testCameraDeviceSimplePreviewNative(mPreviewSurface, mOverrideCameraId)); in testCameraDeviceSimplePreview()
80 testCameraDeviceSimplePreviewNative2(mPreviewSurface, in testCameraDeviceSimplePreviewWithV2Callbacks()
89 testCameraDevicePreviewWithSessionParametersNative(mPreviewSurface, in testCameraDevicePreviewWithSessionParameters()
102 testCameraDeviceSharedOutputUpdate(mPreviewSurface, outputSurface, in testCameraDeviceSharedOutputUpdate()
112 testCameraDeviceLogicalPhysicalStreamingNative(mPreviewSurface, mOverrideCameraId)); in testCameraDeviceLogicalPhysicalStreaming()
121 testCameraDeviceLogicalPhysicalStreamingNative2(mPreviewSurface, in testCameraDeviceLogicalPhysicalStreamingWithV2Callbacks()
131 testCameraDeviceLogicalPhysicalSettingsNative(mPreviewSurface, mOverrideCameraId)); in testCameraDeviceLogicalPhysicalSettings()
140 testCameraDeviceLogicalPhysicalSettingsNative2(mPreviewSurface, mOverrideCameraId)); in testCameraDeviceLogicalPhysicalSettingsWithV2Callbacks()
149 testCameraDevicePrepareSurface(mPreviewSurface, mOverrideCameraId)); in testCameraDevicePrepareSurface()
DSurfaceViewPreviewTest.java237 outputSurfaces.add(mPreviewSurface); in preparePerformanceTestByCamera()
245 previewRequest.addTarget(mPreviewSurface); in preparePerformanceTestByCamera()
358 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
370 previewRequest.addTarget(mPreviewSurface); in surfaceEqualityTestByCamera()
394 outputSurfaces.add(mPreviewSurface); in surfaceEqualityTestByCamera()
403 previewRequest.addTarget(mPreviewSurface); in surfaceEqualityTestByCamera()
535 surfaceViewOutput.addSurface(mPreviewSurface); in testDeferredSurfacesByCamera()
546 surfaceViewOutput.addSurface(mPreviewSurface); in testDeferredSurfacesByCamera()
577 request.addTarget(mPreviewSurface); in testDeferredSurfacesByCamera()
803 OutputConfiguration previewConfig = new OutputConfiguration(mPreviewSurface); in surfaceSetTestByCamera()
[all …]
DOfflineSessionTest.java163 if (mSession.supportsOfflineProcessing(mPreviewSurface)) { in testInvalidOutput()
165 offlineSurfaces.add(mPreviewSurface); in testInvalidOutput()
597 outputSurfaces.add(mPreviewSurface); in camera2OfflineSessionTest()
610 previewRequest.addTarget(mPreviewSurface); in camera2OfflineSessionTest()
811 outConfig = new OutputConfiguration(1 /*surfaceGroupId*/, mPreviewSurface); in camera2UnsupportedOfflineOutputTest()
813 outConfig = new OutputConfiguration(mPreviewSurface); in camera2UnsupportedOfflineOutputTest()
826 session.supportsOfflineProcessing(mPreviewSurface)); in camera2UnsupportedOfflineOutputTest()
829 previewRequest.addTarget(mPreviewSurface); in camera2UnsupportedOfflineOutputTest()
836 offlineSurfaces.add(mPreviewSurface); in camera2UnsupportedOfflineOutputTest()
DNativeStillCaptureTest.java51 testStillCaptureNative(mDebugFileNameBase, mPreviewSurface, mOverrideCameraId)); in testStillCapture()
DSurfaceViewExtensionPreviewTest.java73 outputConfigs.add(new OutputConfiguration(mPreviewSurface)); in testExtensionPreview()
95 captureBuilder.addTarget(mPreviewSurface); in testExtensionPreview()
DRecordingTest.java582 mPreviewSurface.isValid() && recordingSurface.isValid()); in testBasic10BitRecording()
584 outputSurfaces.add(mPreviewSurface); in testBasic10BitRecording()
595 recordingRequestBuilder.addTarget(mPreviewSurface); in testBasic10BitRecording()
762 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in testAbandonedHighSpeedRequest()
764 outputSurfaces.add(mPreviewSurface); in testAbandonedHighSpeedRequest()
774 requestBuilder.addTarget(mPreviewSurface); in testAbandonedHighSpeedRequest()
1403 assertTrue("Preview surface should be valid", mPreviewSurface.isValid()); in startConstrainedPreview()
1404 outputSurfaces.add(mPreviewSurface); in startConstrainedPreview()
1411 requestBuilder.addTarget(mPreviewSurface); in startConstrainedPreview()
1431 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording()
[all …]
DPerformanceTest.java123 private Surface mPreviewSurface; field in PerformanceTest
1651 zslBuilder.addTarget(mPreviewSurface);
1713 outSurfaces.add(mPreviewSurface);
1784 outputSurfaces.add(mPreviewSurface);
1792 previewBuilder.addTarget(mPreviewSurface);
1794 stillBuilder.addTarget(mPreviewSurface);
1907 outputSurfaces.add(mPreviewSurface);
1916 previewBuilder.addTarget(mPreviewSurface);
1917 stillBuilder.addTarget(mPreviewSurface);
1934 if ((mPreviewSurfaceTexture != null ) || (mPreviewSurface != null)) {
[all …]
DReprocessCaptureTest.java719 mPreviewSurface = null; in testReprocessMixedBurst()
724 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/numBurst); in testReprocessMixedBurst()
727 startPreview(mPreviewSurface); in testReprocessMixedBurst()
788 mPreviewSurface = null; in testReprocessBurst()
793 setupReprocessableSession(mPreviewSurface, numBurst); in testReprocessBurst()
796 startPreview(mPreviewSurface); in testReprocessBurst()
846 mPreviewSurface = null; in testReprocess()
851 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/1); in testReprocess()
854 startPreview(mPreviewSurface); in testReprocess()
DStillCaptureTest.java249 OutputConfiguration previewConfig = new OutputConfiguration(mPreviewSurface); in stillJpegRTestByCamera()
257 previewBuilder.addTarget(mPreviewSurface); in stillJpegRTestByCamera()
929 focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener, in takePictureTestByCamera()
1095 Camera2Focuser focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener, in touchForFocusTestByCamera()
1233 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera()
1239 previewBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
1240 multiBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
DBurstCaptureRawTest.java671 previewBuilder.removeTarget(mPreviewSurface); in stopPreviewAndClearSurface()
672 rawBurstBuilder.removeTarget(mPreviewSurface); in stopPreviewAndClearSurface()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java111 protected Surface mPreviewSurface; field in Camera2SurfaceViewTestCase
217 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput()
221 request.addTarget(mPreviewSurface); in configurePreviewOutput()
231 if (mPreviewSurface == null) { in createRequestForPreview()
238 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
606 outputSurfaces.add(mPreviewSurface); in prepareStillCaptureAndStartPreview()
617 previewRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
618 stillRequest.addTarget(mPreviewSurface); in prepareStillCaptureAndStartPreview()
677 if (size.equals(mPreviewSize) && mPreviewSurface != null && mPreviewSurface.isValid()) { in updatePreviewSurface()
698 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java49 private Surface mPreviewSurface = null; field in MockVideoProvider
65 mPreviewSurface = surface; in onSetPreviewSurface()
211 return mPreviewSurface; in getPreviewSurface()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DCameraMuteToggleActivity.java81 private Surface mPreviewSurface; field in CameraMuteToggleActivity
189 mPreviewSurface = new Surface(mPreviewTexture); in onSurfaceTextureAvailable()
369 mPreviewRequestBuilder.addTarget(mPreviewSurface); in startPreview()
373 mStillCaptureRequestBuilder.addTarget(mPreviewSurface); in startPreview()
378 outputSurfaces.add(mPreviewSurface); in startPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java105 private Surface mPreviewSurface; field in CameraBokehActivity
464 mPreviewSurface = new Surface(mPreviewTexture); in onSurfaceTextureAvailable()
894 mPreviewRequestBuilder.addTarget(mPreviewSurface); in startPreview()
899 mStillCaptureRequestBuilder.addTarget(mPreviewSurface); in startPreview()
904 outputSurfaces.add(mPreviewSurface); in startPreview()