diff options
author | Jay Wang <jaywang@codeaurora.org> | 2016-02-25 14:23:02 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-25 21:55:20 -0700 |
commit | ec8173bc779d50a81aefead62798090bab2b254e (patch) | |
tree | 4d62d6beb7c302baf6f1b64e1e00e18198ae9ff7 /res | |
parent | d9a3ac812c46f5dcc21754edbc6df484ea4b1231 (diff) | |
download | android_packages_apps_Snap-ec8173bc779d50a81aefead62798090bab2b254e.tar.gz android_packages_apps_Snap-ec8173bc779d50a81aefead62798090bab2b254e.tar.bz2 android_packages_apps_Snap-ec8173bc779d50a81aefead62798090bab2b254e.zip |
SnapdragonCamera: Add face detection icon to video
Add video face detection to developer option
CRs-Fixed: 978207
Change-Id: I9308573a5a1004fc3803a955bc96f495ecbfc6c7
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/video_module.xml | 10 | ||||
-rw-r--r-- | res/xml/video_preferences.xml | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml index 561539e08..c6a9d7e80 100644 --- a/res/layout/video_module.xml +++ b/res/layout/video_module.xml @@ -28,6 +28,16 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> </FrameLayout> + <FrameLayout + android:layout_width="match_parent" + android:layout_height="match_parent"> + <ViewStub android:id="@+id/face_view_stub" + android:inflatedId="@+id/face_view" + android:layout="@layout/face_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone"/> + </FrameLayout> <View android:id="@+id/preview_cover" android:layout_width="match_parent" diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml index dc3790162..00b55c6e6 100644 --- a/res/xml/video_preferences.xml +++ b/res/xml/video_preferences.xml @@ -124,6 +124,13 @@ camera:singleIcon="@drawable/ic_settings_filter" camera:entryValues="@array/pref_camera_coloreffect_entryvalues" /> <IconListPreference + camera:key="pref_camera_facedetection_key" + camera:defaultValue="@string/pref_camera_facedetection_default" + camera:title="@string/pref_camera_facedetection_title" + camera:entries="@array/pref_camera_facedetection_entries" + camera:singleIcon="@drawable/ic_settings_facerec" + camera:entryValues="@array/pref_camera_facedetection_entryvalues" /> + <IconListPreference camera:key="pref_camera_hfr_key" camera:defaultValue="@string/pref_camera_hfr_default" camera:title="@string/pref_camera_hfr_title" |