diff options
author | 2011-05-17 19:02:32 +0900 | |
---|---|---|
committer | 2011-05-20 16:23:20 +0900 | |
commit | e896d31bb92146379c8b7c0050ee05eec0830317 (patch) | |
tree | a98f8482aae746e203e6b418fe016e45bd3357f1 /tests/src/com/android/inputmethod/latin/SuggestHelper.java | |
parent | a205d23ffdec7e89933c5052ddf325af344f4af0 (diff) | |
download | latinime-e896d31bb92146379c8b7c0050ee05eec0830317.tar.gz latinime-e896d31bb92146379c8b7c0050ee05eec0830317.tar.xz latinime-e896d31bb92146379c8b7c0050ee05eec0830317.zip |
Reload keyboard after SoftInputWindow size changed
Bug: 4450008
Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/SuggestHelper.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/SuggestHelper.java | 4 |
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 8a11ff955..87ea011fa 100644 --- a/tests/src/com/android/inputmethod/latin/SuggestHelper.java +++ b/tests/src/com/android/inputmethod/latin/SuggestHelper.java @@ -36,7 +36,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 LatinKeyboard(context, keyboardId); + mKeyboard = new LatinKeyboard(context, keyboardId, keyboardId.mWidth); mKeyDetector = new KeyDetector(); init(); } @@ -44,7 +44,7 @@ public class SuggestHelper { protected SuggestHelper(Context context, File dictionaryPath, long startOffset, long length, KeyboardId keyboardId) { mSuggest = new Suggest(context, dictionaryPath, startOffset, length, null); - mKeyboard = new LatinKeyboard(context, keyboardId); + mKeyboard = new LatinKeyboard(context, keyboardId, keyboardId.mWidth); mKeyDetector = new KeyDetector(); init(); } |