/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 123 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/ |
D | CameraView.java | 50 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/ |
D | AndroidCamera2AgentImpl.java | 198 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/ |
D | Camera2SwitchPreviewTest.java | 529 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()
|
D | Camera2RecordingTest.java | 310 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()
|
D | Camera2ReprocessCaptureTest.java | 328 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()
|
D | Camera2StillCaptureTest.java | 232 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/ |
D | Camera2Client.h | 200 sp<IBinder> mPreviewSurface; variable
|
D | Camera2Client.cpp | 530 if (binder == mPreviewSurface) { in setPreviewWindowL() 566 mPreviewSurface = binder; in setPreviewWindowL()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.h | 80 sp<IGraphicBufferProducer> mPreviewSurface; member
|
D | StagefrightRecorder.cpp | 238 mPreviewSurface = surface; in setPreviewSurface() 1445 videoSize, mFrameRate, mPreviewSurface, in setupCameraSource() 1452 mPreviewSurface); in setupCameraSource()
|