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 06:38:41 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-04 06:38:41 -0700
commitbd02fa84951af5eeb5f1330373211a7d6503d0b9 (patch)
tree756ae8b82c0883d8873b5ac872fe1b4250142319 /tests/src/com/android/inputmethod/latin/SuggestHelper.java
parente55996373f96fa23a9457c94a8827dbbeb80b724 (diff)
parenta19b84dcf65bd70caa0fc72089cfe043b023a898 (diff)
downloadlatinime-bd02fa84951af5eeb5f1330373211a7d6503d0b9.tar.gz
latinime-bd02fa84951af5eeb5f1330373211a7d6503d0b9.tar.xz
latinime-bd02fa84951af5eeb5f1330373211a7d6503d0b9.zip
Merge "Move key hysteresis distance parameter to KeyDetector class"
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();
}