diff options
author | Byunghun Jeon <bjeon@codeaurora.org> | 2016-06-08 14:41:47 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-25 21:55:20 -0700 |
commit | 4716484508d92cb10f98103dce3953fa909db66d (patch) | |
tree | 2d91a1daec91ffe8ff174c121ed988446bfbd195 /res/layout/capture_module.xml | |
parent | 3d2937f03ab9ad37cb7f017444c1b83ba890ff22 (diff) | |
download | android_packages_apps_Snap-4716484508d92cb10f98103dce3953fa909db66d.tar.gz android_packages_apps_Snap-4716484508d92cb10f98103dce3953fa909db66d.tar.bz2 android_packages_apps_Snap-4716484508d92cb10f98103dce3953fa909db66d.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.xml | 11 |
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" |