Home
last modified time | relevance | path

Searched refs:mPreviewSurface (Results 1 – 12 of 12) 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/tests/java_api/CannyLive/src/com/android/example/cannylive/
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/rs/tests/java_api/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.java530 outputSurfaces.add(mPreviewSurface); in prepareVideoPreview()
536 previewRequest.addTarget(mPreviewSurface); in prepareVideoPreview()
537 recordingRequest.addTarget(mPreviewSurface); in prepareVideoPreview()
565 outputSurfaces.add(mPreviewSurface); in prepareCapturePreview()
571 previewRequest.addTarget(mPreviewSurface); in prepareCapturePreview()
572 stillRequest.addTarget(mPreviewSurface); in prepareCapturePreview()
DCamera2RecordingTest.java314 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording()
315 outputSurfaces.add(mPreviewSurface); in startSlowMotionRecording()
331 requestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
354 recordingRequestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
755 assertNotNull("Preview surface must be non-null!", mPreviewSurface); in prepareVideoSnapshot()
756 requestBuilder.addTarget(mPreviewSurface); in prepareVideoSnapshot()
871 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startRecording()
872 outputSurfaces.add(mPreviewSurface); in startRecording()
890 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.h203 sp<IBinder> mPreviewSurface; variable
DCamera2Client.cpp553 if (binder == mPreviewSurface) { in setPreviewWindowL()
589 mPreviewSurface = binder; in setPreviewWindowL()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h88 sp<IGraphicBufferProducer> mPreviewSurface; member
DStagefrightRecorder.cpp361 mPreviewSurface = surface; in setPreviewSurface()
1628 videoSize, mFrameRate, mPreviewSurface, in setupCameraSource()
1635 mPreviewSurface); in setupCameraSource()