aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/SuggestHelper.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-07-04 19:59:57 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-07-04 22:32:21 +0900
commita19b84dcf65bd70caa0fc72089cfe043b023a898 (patch)
tree22000ca2fda581e07c03c827a27f55e84009dc1f /tests/src/com/android/inputmethod/latin/SuggestHelper.java
parent5f6816fa8bf259f0340a3d12c551d1532f647d66 (diff)
downloadlatinime-a19b84dcf65bd70caa0fc72089cfe043b023a898.tar.gz
latinime-a19b84dcf65bd70caa0fc72089cfe043b023a898.tar.xz
latinime-a19b84dcf65bd70caa0fc72089cfe043b023a898.zip
Move key hysteresis distance parameter to KeyDetector class
Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/SuggestHelper.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/SuggestHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestHelper.java b/tests/src/com/android/inputmethod/latin/SuggestHelper.java
index 87ea011fa..07d0e5d75 100644
--- a/tests/src/com/android/inputmethod/latin/SuggestHelper.java
+++ b/tests/src/com/android/inputmethod/latin/SuggestHelper.java
@@ -37,7 +37,7 @@ public class SuggestHelper {
// (and not try to find a dictionary provider for a specified locale)
mSuggest = new Suggest(context, dictionaryId, null);
mKeyboard = new LatinKeyboard(context, keyboardId, keyboardId.mWidth);
- mKeyDetector = new KeyDetector();
+ mKeyDetector = new KeyDetector(0);
init();
}
@@ -45,7 +45,7 @@ public class SuggestHelper {
KeyboardId keyboardId) {
mSuggest = new Suggest(context, dictionaryPath, startOffset, length, null);
mKeyboard = new LatinKeyboard(context, keyboardId, keyboardId.mWidth);
- mKeyDetector = new KeyDetector();
+ mKeyDetector = new KeyDetector(0);
init();
}