diff options
author | 2011-12-18 03:50:20 -0800 | |
---|---|---|
committer | 2011-12-18 03:50:20 -0800 | |
commit | d6ba10120c345fc9bc918f74cf4e42d80b826d11 (patch) | |
tree | fb2d6f76fc9871ddc507c8d1ec7579ac40f42ac3 /tests | |
parent | 694e94a270b5df1325f6b9575d0e9bde2b79eeca (diff) | |
parent | 4e1dab8cfaad891fe041ed8d71893186c05cef71 (diff) | |
download | latinime-d6ba10120c345fc9bc918f74cf4e42d80b826d11.tar.gz latinime-d6ba10120c345fc9bc918f74cf4e42d80b826d11.tar.xz latinime-d6ba10120c345fc9bc918f74cf4e42d80b826d11.zip |
am 4e1dab8c: Move KeyboardBuilder and KeyboardParams classes into Keyboard class
* commit '4e1dab8cfaad891fe041ed8d71893186c05cef71':
Move KeyboardBuilder and KeyboardParams classes into Keyboard class
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/SuggestHelper.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestHelper.java b/tests/src/com/android/inputmethod/latin/SuggestHelper.java index 77496db48..cccd1a4a9 100644 --- a/tests/src/com/android/inputmethod/latin/SuggestHelper.java +++ b/tests/src/com/android/inputmethod/latin/SuggestHelper.java @@ -22,8 +22,6 @@ import android.text.TextUtils; import com.android.inputmethod.keyboard.KeyDetector; import com.android.inputmethod.keyboard.Keyboard; import com.android.inputmethod.keyboard.KeyboardId; -import com.android.inputmethod.keyboard.internal.KeyboardBuilder; -import com.android.inputmethod.keyboard.internal.KeyboardParams; import java.io.File; import java.util.Locale; @@ -40,7 +38,7 @@ public class SuggestHelper { // Use null as the locale for Suggest so as to force it to use the internal dictionary // (and not try to find a dictionary provider for a specified locale) mSuggest = new Suggest(context, dictionaryId, null); - mKeyboard = new KeyboardBuilder<KeyboardParams>(context, new KeyboardParams()) + mKeyboard = new Keyboard.Builder<Keyboard.Params>(context, new Keyboard.Params()) .load(ALPHABET_KEYBOARD, keyboardId).build(); mKeyDetector = new KeyDetector(0); init(); @@ -50,7 +48,7 @@ public class SuggestHelper { final long startOffset, final long length, final KeyboardId keyboardId, final Locale locale) { mSuggest = new Suggest(context, dictionaryPath, startOffset, length, null, locale); - mKeyboard = new KeyboardBuilder<KeyboardParams>(context, new KeyboardParams()) + mKeyboard = new Keyboard.Builder<Keyboard.Params>(context, new Keyboard.Params()) .load(ALPHABET_KEYBOARD, keyboardId).build(); mKeyDetector = new KeyDetector(0); init(); |