diff options
author | 2012-09-23 21:19:55 -0700 | |
---|---|---|
committer | 2012-09-23 21:19:55 -0700 | |
commit | 1e974deaa61c5ed1a8e64fb623ddd0b6af09bc3e (patch) | |
tree | f8532e92efa213b7d4fe2429067d132e1e641408 /java/res | |
parent | 5274a4a6306fba09a4354f1cb31398bd469b1bda (diff) | |
parent | 9f09c6fbc81ed40a41c0a23bd5913214ec7f6a9b (diff) | |
download | latinime-1e974deaa61c5ed1a8e64fb623ddd0b6af09bc3e.tar.gz latinime-1e974deaa61c5ed1a8e64fb623ddd0b6af09bc3e.tar.xz latinime-1e974deaa61c5ed1a8e64fb623ddd0b6af09bc3e.zip |
Merge "Disable gesture input while fast typing" into jb-mr1-dev
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/values/attrs.xml | 2 | ||||
-rw-r--r-- | java/res/values/config.xml | 1 | ||||
-rw-r--r-- | java/res/values/styles.xml | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 7e8c77e13..acc5df2e5 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -125,6 +125,8 @@ <attr name="longPressShiftKeyTimeout" format="integer" /> <!-- Ignore special key timeout while typing in millisecond. --> <attr name="ignoreAltCodeKeyTimeout" format="integer" /> + <!-- Disable gesture input while fast typing timer in millisecond. --> + <attr name="disableGestureWhileFastTypingTimeout" format="integer" /> <!-- More keys keyboard will shown at touched point. --> <attr name="showMoreKeysKeyboardAtTouchedPoint" format="boolean" /> </declare-styleable> diff --git a/java/res/values/config.xml b/java/res/values/config.xml index 8e2d43e4e..1f6adffbb 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -66,6 +66,7 @@ <!-- 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> <integer name="config_ignore_alt_code_key_timeout">350</integer> + <integer name="config_disable_gesture_while_fast_typing_timeout">350</integer> <!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if false --> <bool name="config_show_more_keys_keyboard_at_touched_point">false</bool> diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index ed92440ef..d52039221 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -89,6 +89,7 @@ <item name="longPressKeyTimeout">@integer/config_long_press_key_timeout</item> <item name="longPressShiftKeyTimeout">@integer/config_long_press_shift_key_timeout</item> <item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item> + <item name="disableGestureWhileFastTypingTimeout">@integer/config_disable_gesture_while_fast_typing_timeout</item> <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item> <item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item> <item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item> |