summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2017-09-22 13:44:33 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-03-06 19:04:50 -0800
commitcfdc874eb6e23e101bd32d10183e419894e405f2 (patch)
treeb191f1925aad82cff3b954ee778aabf974d84403 /res/values
parent56bbfb648af37902139f26eb7647fd294cd01862 (diff)
downloadandroid_packages_apps_Snap-cfdc874eb6e23e101bd32d10183e419894e405f2.tar.gz
android_packages_apps_Snap-cfdc874eb6e23e101bd32d10183e419894e405f2.tar.bz2
android_packages_apps_Snap-cfdc874eb6e23e101bd32d10183e419894e405f2.zip
SnapdragonCamera:DeepPortrait
Add deepportrait feature in SnapdragonCamera. Change-Id: I5fd223cacfb2526efffbf3f13f7c33cafd8ac99d
Diffstat (limited to 'res/values')
-rwxr-xr-xres/values/camera2arrays.xml11
-rwxr-xr-xres/values/qcomstrings.xml6
2 files changed, 16 insertions, 1 deletions
diff --git a/res/values/camera2arrays.xml b/res/values/camera2arrays.xml
index 8723ecd66..80a0151b4 100755
--- a/res/values/camera2arrays.xml
+++ b/res/values/camera2arrays.xml
@@ -159,6 +159,7 @@
<item>104</item>
<item>109</item>
<item>110</item>
+ <item>111</item>
</string-array>
<!-- Camera Preferences Scene Mode dialog box entries -->
@@ -187,6 +188,7 @@
<item>@string/pref_camera_scenemode_entry_panorama</item>
<item>@string/pref_camera_scenemode_entry_promode</item>
<item>@string/pref_camera_scenemode_entry_deepzoom</item>
+ <item>@string/pref_camera_scenemode_entry_deepportrait</item>
</string-array>
<array name="pref_camera2_scenemode_thumbnails" translatable="false">
@@ -214,6 +216,7 @@
<item>@drawable/scene_panorama</item>
<item>@drawable/promode</item>
<item>@drawable/sharp_photo</item>
+ <item>@drawable/deep_portrait</item>
</array>
<array name="pref_camera2_scenemode_black_thumbnails" translatable="false">
@@ -241,6 +244,7 @@
<item>@drawable/ic_scene_mode_black_panorama</item>
<item>@drawable/ic_scene_mode_black_dual_camera</item>
<item>@drawable/ic_scene_mode_black_sharp_photo</item>
+ <item>@drawable/deep_portrait_black</item>
</array>
<!-- Camera Preferences Scene Mode dialog box entries -->
@@ -269,6 +273,7 @@
<item>@string/pref_camera2_scene_mode_panorama_instructional_content</item>
<item>@string/pref_camera2_scene_mode_pro_instructional_content</item>
<item>@string/pref_camera2_scene_mode_deepzoom_instructional_content</item>
+ <item>@string/pref_camera2_scene_mode_deepportrait_instructional_content</item>
</string-array>
<string-array name="pref_camera2_whitebalance_entryvalues" translatable="false">
@@ -1176,4 +1181,10 @@ for time lapse recording -->
<item>@string/pref_camera2_video_hdr_entry_value_disable</item>
<item>@string/pref_camera2_video_hdr_entry_value_enable</item>
</string-array>
+
+ <string-array name="pref_camera2_deepportrait_entryvalues" translatable="false">
+ <item>@string/pref_camera2_deepportrait_entry_value_disable</item>
+ <item>@string/pref_camera2_deepportrait_entry_value_enable</item>
+ </string-array>
+
</resources>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 7074df50d..215669f16 100755
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -1087,7 +1087,7 @@
<string name="pref_camera2_scene_mode_blur_buster_instructional_content" translatable="true">BlurBuster reduces blur from shaky hands.It can be helpful when taking photos in difficult places.</string>
<string name="pref_camera2_scene_mode_pro_instructional_content" translatable="true">With Pro Mode, you can manually control settings for ISO,Exposure, White Balance, and Focus. You will have easy access to all of these advanced settings</string>
<string name="pref_camera2_scene_mode_deepzoom_instructional_content" translatable="true">With DeepZoom Mode, you can use the 2X or 4X to take picture, then you can get the deepzoom`s picture </string>
-
+ <string name="pref_camera2_scene_mode_deepportrait_instructional_content" translatable="true">With DeepPortrait, you can take selfies, with a blurred background. You can use the slider to adjust the amount of the blur</string>
<string name="pref_camera2_not_show_again">Do not show again</string>
<string name="pref_camera2_scene_mode_instructional_ok" translatable="true">OK</string>
@@ -1253,5 +1253,9 @@
<string name="pref_camera2_video_hdr_entry_disable" translatable="true">disable</string>
<string name="pref_camera2_video_hdr_entry_value_enable" translatable="false">1</string>
<string name="pref_camera2_video_hdr_entry_value_disable" translatable="false">0</string>
+
+ <string name="pref_camera2_deepportrait_entry_value_disable" translatable="false">off</string>
+ <string name="pref_camera2_deepportrait_entry_value_enable" translatable="false">on</string>
+ <string name="pref_camera_scenemode_entry_deepportrait" translatable="false">Deepportrait</string>
</resources>