diff options
author | 2011-04-22 23:20:22 +0900 | |
---|---|---|
committer | 2011-04-22 23:21:05 +0900 | |
commit | d0f3f907898290f4b4553c02b5d0bc7b7a3a6a75 (patch) | |
tree | e20eb84a4842b97e8288902fa5c1ee4315c4e3f1 /java/src | |
parent | 19576c33cd58bbf65716ca3c1bc112460b3f45aa (diff) | |
download | latinime-d0f3f907898290f4b4553c02b5d0bc7b7a3a6a75.tar.gz latinime-d0f3f907898290f4b4553c02b5d0bc7b7a3a6a75.tar.xz latinime-d0f3f907898290f4b4553c02b5d0bc7b7a3a6a75.zip |
Narrower the language switch threshold to key width x 1.25
Change-Id: I4ea9553bce34bc3783f03d1615c34b6abb153077
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/LatinKeyboard.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java b/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java index 86b7f7e82..a1d0607bf 100644 --- a/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java +++ b/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java @@ -131,8 +131,8 @@ public class LatinKeyboard extends Keyboard { mSpaceAutoCorrectionIndicator = res.getDrawable(R.drawable.sym_keyboard_space_led); mButtonArrowLeftIcon = res.getDrawable(R.drawable.sym_keyboard_language_arrows_left); mButtonArrowRightIcon = res.getDrawable(R.drawable.sym_keyboard_language_arrows_right); - // The threshold is "key width" x 1.5 - mSpacebarLanguageSwitchThreshold = (getMostCommonKeyWidth() * 3) / 2; + // The threshold is "key width" x 1.25 + mSpacebarLanguageSwitchThreshold = (getMostCommonKeyWidth() * 5) / 4; } public void setSpacebarTextFadeFactor(float fadeFactor, LatinKeyboardView view) { |