diff options
author | 2011-04-15 13:05:58 +0900 | |
---|---|---|
committer | 2011-04-15 18:35:08 +0900 | |
commit | dc90d0a15f662cdece97bc2c0ddbd95e703af730 (patch) | |
tree | 83cdb33b0ae32d6ac6fe77217ed1f716afc24121 /tests/src/com/android/inputmethod/latin/SuggestHelper.java | |
parent | ffca763050ab2c237569bbac71d35d6b83a8a56b (diff) | |
download | latinime-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.java | 5 |
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(); } |