summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2011-03-02 13:00:42 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2011-03-02 14:02:23 -0800
commit82623019d21ceb36aaa9711a4267147883442ce3 (patch)
treefc89c4c9ac325b518e26c3403a6c7c7689839121 /res/values
parent923a41bf8bab781e5a0c68f89932e99a5fd09fb8 (diff)
downloadpackages_apps_Settings-82623019d21ceb36aaa9711a4267147883442ce3.zip
packages_apps_Settings-82623019d21ceb36aaa9711a4267147883442ce3.tar.gz
packages_apps_Settings-82623019d21ceb36aaa9711a4267147883442ce3.tar.bz2
Adding system wide long press timeout configurability under accessibility.
bug:3505096 Added an option in the accessibility set Change-Id: Ie36240229ca15a252d5f34051bfe8ac77a101da9
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml18
-rw-r--r--res/values/donottranslate.xml1
-rw-r--r--res/values/strings.xml7
3 files changed, 26 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 4f9eadd..f02c444 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -511,4 +511,22 @@
<item>silent</item>
<item>notsilent</item>
</string-array>
+
+ <!-- Titles for the list of long press timeout options. -->
+ <string-array name="long_press_timeout_selector_titles">
+ <!-- A title for the option for short long-press timeout [CHAR LIMIT=25] -->
+ <item>Short</item>
+ <!-- A title for the option for medium long-press timeout [CHAR LIMIT=25] -->
+ <item>Medium</item>
+ <!-- A title for the option for long long-press timeout [CHAR LIMIT=25] -->
+ <item>Long</item>
+ </string-array>
+
+ <!-- Valeus for the list of long press timeout options. -->
+ <string-array name="long_press_timeout_selector_values" translatable="false">
+ <item>500</item>
+ <item>1000</item>
+ <item>1500</item>
+ </string-array>
+
</resources>
diff --git a/res/values/donottranslate.xml b/res/values/donottranslate.xml
index e6bd9a6..ba4ff2e 100644
--- a/res/values/donottranslate.xml
+++ b/res/values/donottranslate.xml
@@ -33,4 +33,5 @@
<item>@string/input_method_selector_always_show_value</item>
<item>@string/input_method_selector_always_hide_value</item>
</string-array>
+
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index ff04cf7..796239d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2551,6 +2551,13 @@ found in the list of installed applications.</string>
<!-- Accessibility settings: power button behavior summary text -->
<string name="accessibility_power_button_ends_call_summary">During a call, pressing Power ends call instead of turning off screen</string>
+ <!-- Setting interaction category [CHAR LIMIT=25] -->
+ <string name="accessibility_interaction_category">Interaction</string>
+ <!-- Title for setting the long-press timeout [CHAR LIMIT=35] -->
+ <string name="long_press_timeout_selector">Long press timeout</string>
+ <!-- The default value for the long press timeout. -->
+ <string name="long_press_timeout_selector_default_value" translatable="false">500</string>
+
<!-- App Fuel Gauge strings -->
<skip />