summaryrefslogtreecommitdiffstats
path: root/res/layout/capture_module.xml
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-06-08 14:41:47 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-21 18:46:32 -0700
commitc456f576b25812e11c6205149b234937ba9c1b5b (patch)
treecc436a34aa196ef2baee8b634850b8de33f4b4ce /res/layout/capture_module.xml
parent3d1baa4bbfe7b889e955228ee09ce0eb92fe4e49 (diff)
downloadandroid_packages_apps_Snap-c456f576b25812e11c6205149b234937ba9c1b5b.tar.gz
android_packages_apps_Snap-c456f576b25812e11c6205149b234937ba9c1b5b.tar.bz2
android_packages_apps_Snap-c456f576b25812e11c6205149b234937ba9c1b5b.zip
SnapdragonCamera: Add face detection to camera2
Add face detection to camera2. Receive face data from camera2 and use faceView UI to draw it Change-Id: Id9c49ab6dd73de316398c57981cc0b9df0400b45 CRs-Fixed: 1025797
Diffstat (limited to 'res/layout/capture_module.xml')
-rw-r--r--res/layout/capture_module.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml
index 3b4f025bf..07594cef3 100644
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -51,6 +51,17 @@
android:layout_height="match_parent"
android:background="@android:color/black" />
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <com.android.camera.ui.Camera2FaceView
+ android:id="@+id/face_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone"/>
+ </FrameLayout>
+
<com.android.camera.ui.RenderOverlay
android:id="@+id/render_overlay"
android:layout_width="match_parent"