diff options
author | 2011-12-13 17:30:51 +0900 | |
---|---|---|
committer | 2011-12-14 16:28:31 +0900 | |
commit | f86109ca563df283b336c62853533c54134dfc56 (patch) | |
tree | 7a5ddd9831e636b699165390fdf39c6ee1adf898 /tests/src/com/android/inputmethod/latin/SuggestTestsBase.java | |
parent | cfe264bfee15344282f4a2f42cfc7ee905f0eba8 (diff) | |
download | latinime-f86109ca563df283b336c62853533c54134dfc56.tar.gz latinime-f86109ca563df283b336c62853533c54134dfc56.tar.xz latinime-f86109ca563df283b336c62853533c54134dfc56.zip |
Utilize KeyboardSet XML definitions
This change introduces KeyboardSet and SubKeyboard XML definitions to
represent a set of keyboard layouts.
Bug: 5002108
Bug: 5679585
Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/SuggestTestsBase.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/SuggestTestsBase.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java index 058a3e7c0..7029dde6b 100644 --- a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java +++ b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java @@ -50,10 +50,9 @@ public class SuggestTestsBase extends AndroidTestCase { + "orientation=" + orientation); return null; } - return new KeyboardId(locale.toString() + " keyboard", - com.android.inputmethod.latin.R.xml.kbd_qwerty, locale, orientation, width, - KeyboardId.MODE_TEXT, new EditorInfo(), false, KeyboardId.F2KEY_MODE_NONE, - false, false, false); + return new KeyboardId(com.android.inputmethod.latin.R.xml.kbd_qwerty, + KeyboardId.ELEMENT_ALPHABET, locale, orientation, width, KeyboardId.MODE_TEXT, + new EditorInfo(), false, KeyboardId.F2KEY_MODE_NONE, false, false, false); } protected InputStream openTestRawResource(int resIdInTest) { |