aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/SuggestHelper.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-04-15 13:05:58 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-04-15 18:35:08 +0900
commitdc90d0a15f662cdece97bc2c0ddbd95e703af730 (patch)
tree83cdb33b0ae32d6ac6fe77217ed1f716afc24121 /tests/src/com/android/inputmethod/latin/SuggestHelper.java
parentffca763050ab2c237569bbac71d35d6b83a8a56b (diff)
downloadlatinime-dc90d0a15f662cdece97bc2c0ddbd95e703af730.tar.gz
latinime-dc90d0a15f662cdece97bc2c0ddbd95e703af730.tar.xz
latinime-dc90d0a15f662cdece97bc2c0ddbd95e703af730.zip
Refactoring keyboard drawing code and KeyDetector
Change-Id: I55009bf38b1422301223bd90463f837562559dc5
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/SuggestHelper.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/SuggestHelper.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestHelper.java b/tests/src/com/android/inputmethod/latin/SuggestHelper.java
index 5d1ab706a..4a357a6f2 100644
--- a/tests/src/com/android/inputmethod/latin/SuggestHelper.java
+++ b/tests/src/com/android/inputmethod/latin/SuggestHelper.java
@@ -20,7 +20,6 @@ import com.android.inputmethod.keyboard.Key;
import com.android.inputmethod.keyboard.KeyDetector;
import com.android.inputmethod.keyboard.KeyboardId;
import com.android.inputmethod.keyboard.LatinKeyboard;
-import com.android.inputmethod.keyboard.ProximityKeyDetector;
import android.content.Context;
import android.text.TextUtils;
@@ -38,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);
- mKeyDetector = new ProximityKeyDetector();
+ mKeyDetector = new KeyDetector();
init();
}
@@ -46,7 +45,7 @@ public class SuggestHelper {
KeyboardId keyboardId) {
mSuggest = new Suggest(dictionaryPath, startOffset, length, null);
mKeyboard = new LatinKeyboard(context, keyboardId);
- mKeyDetector = new ProximityKeyDetector();
+ mKeyDetector = new KeyDetector();
init();
}