summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/qcomarrays.xml13
-rw-r--r--res/values/qcomstrings.xml16
-rw-r--r--res/values/strings.xml6
-rw-r--r--res/xml/video_preferences.xml6
4 files changed, 41 insertions, 0 deletions
diff --git a/res/values/qcomarrays.xml b/res/values/qcomarrays.xml
index 02686864e..f21e52bb4 100644
--- a/res/values/qcomarrays.xml
+++ b/res/values/qcomarrays.xml
@@ -453,6 +453,19 @@
<item>@string/pref_camera_hfr_value_hsr_120</item>
</string-array>
+ <!-- Video Preferences Noise Reduction dialog box entries -->
+ <string-array name="pref_camera_noise_reduction_entries">
+ <item>@string/pref_camera_noise_reduction_entry_off</item>
+ <item>@string/pref_camera_noise_reduction_entry_fast</item>
+ <item>@string/pref_camera_noise_reduction_entry_high_quality</item>
+ </string-array>
+ <!-- Do not localize entryvalues -->
+ <string-array name="pref_camera_noise_reduction_entryvalues">
+ <item>@string/pref_camera_noise_reduction_value_off</item>
+ <item>@string/pref_camera_noise_reduction_value_fast</item>
+ <item>@string/pref_camera_noise_reduction_value_high_quality</item>
+ </string-array>
+
<!-- Video Preferences See More dialog box entries -->
<string-array name="pref_camera_see_more_entries">
<item>@string/pref_camera_see_more_entry_off</item>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index eace72dad..23ee4427d 100644
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -393,6 +393,22 @@
<string name="pref_camera_hfr_value_hsr_90">hsr90</string>
<string name="pref_camera_hfr_value_hsr_120">hsr120</string>
+ <!-- Default noise reduction setting. Do not translate. -->
+ <string name="pref_camera_noise_reduction_default">off</string>
+
+ <!-- Settings screen, Select See More title -->
+ <string name="pref_camera_noise_reduction_title">Noise Reduction</string>
+
+ <!-- Settings screen, see more radio button choices -->
+ <string name="pref_camera_noise_reduction_entry_off">Off</string>
+ <string name="pref_camera_noise_reduction_entry_fast">Fast</string>
+ <string name="pref_camera_noise_reduction_entry_high_quality">High Quality</string>
+
+ <!-- see more entry values. Do not translate. -->
+ <string name="pref_camera_noise_reduction_value_off">off</string>
+ <string name="pref_camera_noise_reduction_value_fast">fast</string>
+ <string name="pref_camera_noise_reduction_value_high_quality">high-quality</string>
+
<!-- Default see more setting. Do not translate. -->
<string name="pref_camera_see_more_default">off</string>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d4c0162df..1a2b8879f 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -438,6 +438,12 @@
<!-- Toast after 2k4k video is enabled to inform SeeMore has been disabled -->
<string name="video_quality_4k_disable_SeeMore">SeeMore cannot be enabled during 4k video.</string>
+ <!-- Toast after High Quality Noise Reduction has been enabled to show CDS is disabled -->
+ <string name="disable_CDS_during_HighQualityNoiseReduction">High Quality Noise Reduction will disable CDS.</string>
+
+ <!-- Toast after High Quality Noise Reduction has been enabled to show TNR is disabled -->
+ <string name="disable_TNR_during_HighQualityNoiseReduction">High Quality Noise Reduction will disable TNR.</string>
+
<!-- Toast after SeeMore has been enabled to show CDS is disabled -->
<string name="disable_CDS_during_SeeMore">SeeMore will disable CDS.</string>
diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml
index 99786ce26..cec9442a3 100644
--- a/res/xml/video_preferences.xml
+++ b/res/xml/video_preferences.xml
@@ -133,6 +133,12 @@
camera:entries="@array/pref_camera_hfr_entries"
camera:entryValues="@array/pref_camera_hfr_entryvalues"/>
<ListPreference
+ camera:key="pref_camera_noise_reduction_key"
+ camera:defaultValue="@string/pref_camera_noise_reduction_default"
+ camera:title="@string/pref_camera_noise_reduction_title"
+ camera:entries="@array/pref_camera_noise_reduction_entries"
+ camera:entryValues="@array/pref_camera_noise_reduction_entryvalues"/>
+ <ListPreference
camera:key="pref_camera_see_more_key"
camera:defaultValue="@string/pref_camera_see_more_default"
camera:title="@string/pref_camera_see_more_title"