Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java123 protected Surface mPreviewSurface; field in Camera2SurfaceViewTestCase
235 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput()
239 request.addTarget(mPreviewSurface); in configurePreviewOutput()
249 if (mPreviewSurface == null) { in createRequestForPreview()
256 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
656 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()
676 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()
677 assertNotNull("Preview surface is null", mPreviewSurface); in updatePreviewSurface()
678 assertTrue("Preview surface is invalid", mPreviewSurface.isValid()); in updatePreviewSurface()
710 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview()
[all …]
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DCameraView.java50 private Surface mPreviewSurface; field in CameraView
78 mPreviewSurface = holder.getSurface(); in CameraView()
84 mPreviewSurface = null; in CameraView()
161 if (mProcessor == null || mPreviewSurface == null) return; in setupProcessor()
162 mProcessor.setOutputSurface(mPreviewSurface); in setupProcessor()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java198 private Surface mPreviewSurface; field in AndroidCamera2AgentImpl.Camera2Handler
271 if (mPreviewSurface != null) { in handleMessage()
272 mPreviewSurface.release(); in handleMessage()
273 mPreviewSurface = null; in handleMessage()
314 CameraDevice.TEMPLATE_PREVIEW, mPreviewSurface), in handleMessage()
450 mPreviewSurface), in handleMessage()
479 mPreviewSurface), in handleMessage()
629 mPreviewSurface), in handleMessage()
701 CameraDevice.TEMPLATE_PREVIEW, mPreviewSurface), in applyToRequest()
735 if (mPreviewSurface != null) { in setPreviewTexture()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java529 outputSurfaces.add(mPreviewSurface); in prepareVideoPreview()
535 previewRequest.addTarget(mPreviewSurface); in prepareVideoPreview()
536 recordingRequest.addTarget(mPreviewSurface); in prepareVideoPreview()
564 outputSurfaces.add(mPreviewSurface); in prepareCapturePreview()
570 previewRequest.addTarget(mPreviewSurface); in prepareCapturePreview()
571 stillRequest.addTarget(mPreviewSurface); in prepareCapturePreview()
DCamera2RecordingTest.java310 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording()
311 outputSurfaces.add(mPreviewSurface); in startSlowMotionRecording()
327 requestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
350 recordingRequestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
747 assertNotNull("Preview surface must be non-null!", mPreviewSurface); in prepareVideoSnapshot()
748 requestBuilder.addTarget(mPreviewSurface); in prepareVideoSnapshot()
863 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startRecording()
864 outputSurfaces.add(mPreviewSurface); in startRecording()
883 recordingRequestBuilder.addTarget(mPreviewSurface); in startRecording()
DCamera2ReprocessCaptureTest.java328 mPreviewSurface = null; in testReprocessMixedBurst()
333 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/numBurst); in testReprocessMixedBurst()
336 startPreview(mPreviewSurface); in testReprocessMixedBurst()
397 mPreviewSurface = null; in testReprocessBurst()
402 setupReprocessableSession(mPreviewSurface, numBurst); in testReprocessBurst()
405 startPreview(mPreviewSurface); in testReprocessBurst()
455 mPreviewSurface = null; in testReprocess()
460 setupReprocessableSession(mPreviewSurface, /*numImageWriterImages*/1); in testReprocess()
463 startPreview(mPreviewSurface); in testReprocess()
DCamera2StillCaptureTest.java232 focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener, in takePictureTestByCamera()
412 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera()
418 previewBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
419 multiBuilder.addTarget(mPreviewSurface); in fullRawCaptureTestByCamera()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h200 sp<IBinder> mPreviewSurface; variable
DCamera2Client.cpp530 if (binder == mPreviewSurface) { in setPreviewWindowL()
566 mPreviewSurface = binder; in setPreviewWindowL()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h80 sp<IGraphicBufferProducer> mPreviewSurface; member
DStagefrightRecorder.cpp238 mPreviewSurface = surface; in setPreviewSurface()
1445 videoSize, mFrameRate, mPreviewSurface, in setupCameraSource()
1452 mPreviewSurface); in setupCameraSource()