aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-07-17 17:34:57 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-17 17:34:57 -0700
commitfa9f4d1badee67ceb581391dfab2202e4ccb99c0 (patch)
tree1952b063e2eb2c73214a7f068f3131d45cb1272c /java/res
parentf0d6058b9ecf7b26f2418edc66041c3e0af928e1 (diff)
parent98b5c982b93cbfc74b221af30079ecb69dd4e0a1 (diff)
downloadlatinime-fa9f4d1badee67ceb581391dfab2202e4ccb99c0.tar.gz
latinime-fa9f4d1badee67ceb581391dfab2202e4ccb99c0.tar.xz
latinime-fa9f4d1badee67ceb581391dfab2202e4ccb99c0.zip
Merge "Trigger IME switcher by long-pressing space key"
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values-sw600dp/config.xml2
-rw-r--r--java/res/values-sw768dp/config.xml2
-rw-r--r--java/res/values/config.xml3
3 files changed, 7 insertions, 0 deletions
diff --git a/java/res/values-sw600dp/config.xml b/java/res/values-sw600dp/config.xml
index 011054df3..260f360c3 100644
--- a/java/res/values-sw600dp/config.xml
+++ b/java/res/values-sw600dp/config.xml
@@ -36,6 +36,8 @@
<bool name="config_show_mini_keyboard_at_touched_point">true</bool>
<!-- The language is never displayed if == 0, always displayed if < 0 -->
<integer name="config_delay_before_fadeout_language_on_spacebar">1200</integer>
+ <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
+ <integer name="config_long_press_space_key_timeout">0</integer>
<!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
<string name="config_default_keyboard_theme_id" translatable="false">5</string>
<string name="config_text_size_of_language_on_spacebar" translatable="false">medium</string>
diff --git a/java/res/values-sw768dp/config.xml b/java/res/values-sw768dp/config.xml
index 2828f9d1b..82605686a 100644
--- a/java/res/values-sw768dp/config.xml
+++ b/java/res/values-sw768dp/config.xml
@@ -35,6 +35,8 @@
<!-- Showing mini keyboard, just above the touched point if true, aligned to the key if false -->
<bool name="config_show_mini_keyboard_at_touched_point">true</bool>
<integer name="config_delay_update_suggestions">180</integer>
+ <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
+ <integer name="config_long_press_space_key_timeout">0</integer>
<!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
<string name="config_default_keyboard_theme_id" translatable="false">5</string>
<string name="config_text_size_of_language_on_spacebar" translatable="false">medium</string>
diff --git a/java/res/values/config.xml b/java/res/values/config.xml
index 86eeae74a..bc64eb2e6 100644
--- a/java/res/values/config.xml
+++ b/java/res/values/config.xml
@@ -60,7 +60,10 @@
<integer name="config_keyboard_grid_width">32</integer>
<integer name="config_keyboard_grid_height">16</integer>
<integer name="config_long_press_key_timeout">400</integer>
+ <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 -->
<integer name="config_long_press_shift_key_timeout">1200</integer>
+ <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
+ <integer name="config_long_press_space_key_timeout">1200</integer>
<integer name="config_touch_noise_threshold_millis">40</integer>
<integer name="config_double_spaces_turn_into_period_timeout">1100</integer>
<dimen name="config_touch_noise_threshold_distance">2.0mm</dimen>