Home
last modified time | relevance | path

Searched refs:mPreviewSurface (Results 1 – 14 of 14) 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/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceEnrollClient.java81 @Nullable private final Surface mPreviewSurface; field in FaceEnrollClient
124 mPreviewSurface = previewSurface; in FaceEnrollClient()
270 options.surfacePreview = mPreviewSurface; in doEnroll()
315 if (mPreviewSurface != null) { in obtainSurfaceHandlesIfNeeded()
320 mOsPreviewHandle = FaceService.acquireSurfaceHandle(mPreviewSurface); in obtainSurfaceHandlesIfNeeded()
335 if (mPreviewSurface != null && mHwPreviewHandle == null) { in releaseSurfaceHandlesIfNeeded()
352 if (mPreviewSurface != null) { in releaseSurfaceHandlesIfNeeded()
361 mPreviewSurface.release(); in releaseSurfaceHandlesIfNeeded()
/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/base/core/java/android/hardware/camera2/extension/
DSessionProcessor.java367 OutputSurface mPreviewSurface; field in SessionProcessor.SessionProcessorImpl
376 mPreviewSurface = previewSurface; in initSession()
403 if ((mPreviewSurface != null) && (mPreviewSurface.surface != null)) { in deInitSession()
404 mPreviewSurface.surface.release(); in deInitSession()
/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.java493 outputSurfaces.add(mPreviewSurface); in prepareVideoPreview()
499 previewRequest.addTarget(mPreviewSurface); in prepareVideoPreview()
500 recordingRequest.addTarget(mPreviewSurface); in prepareVideoPreview()
528 outputSurfaces.add(mPreviewSurface); in prepareCapturePreview()
534 previewRequest.addTarget(mPreviewSurface); in prepareCapturePreview()
535 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.h224 sp<IBinder> mPreviewSurface; variable
DCamera2Client.cpp603 if (binder == mPreviewSurface) { in setPreviewWindowL()
639 mPreviewSurface = binder; in setPreviewWindowL()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h103 sp<IGraphicBufferProducer> mPreviewSurface; member
DStagefrightRecorder.cpp404 mPreviewSurface = surface; in setPreviewSurface()
1936 videoSize, mFrameRate, mPreviewSurface, in setupCameraSource()
1943 mPreviewSurface); in setupCameraSource()