diff options
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/cm_arrays.xml | 7 | ||||
-rw-r--r-- | res/values/cm_colors.xml | 2 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 16 | ||||
-rwxr-xr-x | res/values/config.xml | 36 |
4 files changed, 61 insertions, 0 deletions
diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml index 2e4dac8..80b4ace 100644 --- a/res/values/cm_arrays.xml +++ b/res/values/cm_arrays.xml @@ -261,4 +261,11 @@ per-device overlay. Required to build on non-hardware tunable devices --> <string-array name="gamma_descriptors" translatable="false"> </string-array> + + <!-- Values for screen color --> + <string-array name="screen_color_setting"> + <item>Standard</item> + <item>Vivid</item> + <item>Custom</item> + </string-array> </resources> diff --git a/res/values/cm_colors.xml b/res/values/cm_colors.xml index 8542f5c..3d09dac 100644 --- a/res/values/cm_colors.xml +++ b/res/values/cm_colors.xml @@ -61,4 +61,6 @@ limitations under the License. <!-- Personal Dictionary Add Icon --> <drawable name="ic_menu_add_word">@drawable/ic_menu_add_dark</drawable> + <color name="screencolor_background">#50000000</color> + <drawable name="transparent_background">#00000000</drawable> </resources> diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 58e94f6..c751d86 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -470,4 +470,20 @@ <string name="display_rotation_180_title">180 degrees</string> <string name="display_rotation_270_title">270 degrees</string> + <!-- Display settings. Screen color. --> + <string name="screencolor">Screen color</string> + <string name="screencolor_summary">Tune screen Hue, Saturation, Contrast and Intensity</string> + <string name="custom_screencolor">Custom screen color</string> + <string name="screencolor_save">Save</string> + <string name="screencolor_cancel">Cancel</string> + <string name="previous_str">Previous</string> + <string name="new_str">New</string> + <string name="restore_preview">View default picture</string> + <string name="selectnewfile_menu">View new picture from Gallery</string> + <string name="selectfile_menu">View picture from Gallery</string> + <string name="restore_default_str">Reset</string> + <string name="hue_str">Hue: <xliff:g id="hue_value">%1$s</xliff:g></string> + <string name="saturation_str">Saturation: <xliff:g id="saturation_value">%1$s</xliff:g></string> + <string name="contrast_str">Contrast: <xliff:g id="contrast_value">%1$s</xliff:g></string> + <string name="intensity_str">Intensity: <xliff:g id="intensity_str_value">%1$s</xliff:g></string> </resources> diff --git a/res/values/config.xml b/res/values/config.xml index 62e7e67..a02e775 100755 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -43,4 +43,40 @@ <!-- Config to enable/disable ppp number in APN editor --> <bool name="config_ppp_enabled">false</bool> + + <!-- This used to define screen color's Hue progress bar minimum value --> + <integer name="minimum_hue_value" translatable="false">0</integer> + + <!-- This is used to define screen color's Hue progress bar maximum value--> + <integer name="maximum_hue_value" translatable="false">360</integer> + + <!-- This is used to define screen color's Hue progress bar default value--> + <integer name="default_hue_value" translatable="false">180</integer> + + <!-- This is used to define screen color's saturation progress bar minimum value--> + <integer name="minimum_saturation_value" translatable="false">0</integer> + + <!-- This is used to define screen color's saturation progress bar maximum value--> + <integer name="maximum_saturation_value" translatable="false">360</integer> + + <!-- This is used to define screen color's saturation progress bar default value--> + <integer name="default_saturation_value" translatable="false">180</integer> + + <!-- This is used to define screen color's intensity progress bar minimum value--> + <integer name="minimum_intensity_value" translatable="false">0</integer> + + <!-- This is used to define screen color's intensity progress bar maximum value--> + <integer name="maximum_intensity_value" translatable="false">400</integer> + + <!-- This is used to define screen color's intensity progress bar default value--> + <integer name="default_intensity_value" translatable="false">200</integer> + + <!-- This is used to define screen color's contrast progress bar minimum value--> + <integer name="minimum_contrast_value" translatable="false">0</integer> + + <!-- This is used to define screen color's contrast progress bar default value--> + <integer name="default_contrast_value" translatable="false">180</integer> + + <!-- This is used to define screen color's contrast progress bar maximum value--> + <integer name="maximum_contrast_value" translatable="false">360</integer> </resources> |