Home
last modified time | relevance | path

Searched refs:cameraPreview (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java111 private CameraPreview cameraPreview; field in CameraManager
194 if (preview == cameraPreview) { in setSurface()
216 cameraPreview = preview; in setSurface()
433 cameraPreview.setFocusable(false); in takePicture()
473 DialerExecutorComponent.get(cameraPreview.getContext()) in takePicture()
477 width, height, heightPercent, bytes, cameraPreview.getContext())) in takePicture()
602 if (cameraPreview == null || this.camera == null) { in tryShowPreview()
628 cameraPreview.setSize(previewSize, cameraInfo.orientation); in tryShowPreview()
638 cameraPreview.startPreview(this.camera); in tryShowPreview()
651 orientationHandler = new OrientationHandler(cameraPreview.getContext()); in tryShowPreview()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraMediaChooserView.java85 final HardwareCameraPreview cameraPreview = in onDraw()
87 if (cameraPreview == null) { in onDraw()
90 final ViewGroup parent = ((ViewGroup) cameraPreview.getParent()); in onDraw()
91 final int index = parent.indexOfChild(cameraPreview); in onDraw()
96 parent.removeView(cameraPreview); in onDraw()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/cameraui/
DCameraMediaChooserView.java90 final HardwareCameraPreview cameraPreview = in onDraw()
92 if (cameraPreview == null) { in onDraw()
95 final ViewGroup parent = ((ViewGroup) cameraPreview.getParent()); in onDraw()
96 final int index = parent.indexOfChild(cameraPreview); in onDraw()
101 parent.removeView(cameraPreview); in onDraw()