summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-06-08 14:41:47 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-06-29 10:32:03 -0700
commit3edd94c1f1fae0e89359a41abbb61858cafa4125 (patch)
treebcd72ee664f44b07873828926b8f3184c4d77341 /res/layout
parentf16a9497a188f42c5a5ad4f9710a6c44f79a0e28 (diff)
downloadandroid_packages_apps_Snap-3edd94c1f1fae0e89359a41abbb61858cafa4125.zip
android_packages_apps_Snap-3edd94c1f1fae0e89359a41abbb61858cafa4125.tar.gz
android_packages_apps_Snap-3edd94c1f1fae0e89359a41abbb61858cafa4125.tar.bz2
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')
-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 3b4f025..07594ce 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"