summaryrefslogtreecommitdiffstats
path: root/res/xml/capture_preferences.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-25 21:55:20 -0700
commit4716484508d92cb10f98103dce3953fa909db66d (patch)
tree2d91a1daec91ffe8ff174c121ed988446bfbd195 /res/xml/capture_preferences.xml
parent3d2937f03ab9ad37cb7f017444c1b83ba890ff22 (diff)
downloadandroid_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/xml/capture_preferences.xml')
-rw-r--r--res/xml/capture_preferences.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/xml/capture_preferences.xml b/res/xml/capture_preferences.xml
index 697770b04..06f816c7f 100644
--- a/res/xml/capture_preferences.xml
+++ b/res/xml/capture_preferences.xml
@@ -258,4 +258,12 @@
camera:entryValues="@array/pref_camera2_video_time_lapse_frame_interval_entryvalues"
camera:key="pref_camera2_video_time_lapse_frame_interval_key"
camera:title="@string/pref_video_time_lapse_frame_interval_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_facedetection_default"
+ camera:entries="@array/pref_camera2_facedetection_entries"
+ camera:entryValues="@array/pref_camera2_facedetection_entryvalues"
+ camera:key="pref_camera2_facedetection_key"
+ camera:singleIcon="@drawable/ic_settings_facerec"
+ camera:title="@string/pref_camera_facedetection_title"/>
</PreferenceGroup>