From a19b84dcf65bd70caa0fc72089cfe043b023a898 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 4 Jul 2011 19:59:57 +0900 Subject: Move key hysteresis distance parameter to KeyDetector class Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34 --- tests/src/com/android/inputmethod/latin/SuggestHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src') 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(); } -- cgit v1.2.3-83-g751a