aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-06-22 08:51:36 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-06-22 08:51:36 -0700
commit3edc97b275749d4d28a9dd3b0f57c8c4e7baf2cd (patch)
treef75ec7f6ad014ebf7b5757b56243c524ad1bd428 /tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
parenta7eed902f1b0d6871d416412b3c6f91163fa2578 (diff)
parenta93d27d6b87c29cb6292d1dd1223a4e42cca07d9 (diff)
downloadlatinime-3edc97b275749d4d28a9dd3b0f57c8c4e7baf2cd.tar.gz
latinime-3edc97b275749d4d28a9dd3b0f57c8c4e7baf2cd.tar.xz
latinime-3edc97b275749d4d28a9dd3b0f57c8c4e7baf2cd.zip
Merge "Remove colorScheme attribute from KeyboardView"
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/SuggestTestsBase.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/SuggestTestsBase.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
index 28766c21f..bb2a6fe40 100644
--- a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
+++ b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
@@ -16,15 +16,14 @@
package com.android.inputmethod.latin;
-import com.android.inputmethod.keyboard.KeyboardId;
-import com.android.inputmethod.keyboard.KeyboardView;
-
import android.content.res.AssetFileDescriptor;
import android.content.res.Configuration;
import android.test.AndroidTestCase;
import android.text.TextUtils;
import android.view.inputmethod.EditorInfo;
+import com.android.inputmethod.keyboard.KeyboardId;
+
import java.io.File;
import java.io.InputStream;
import java.util.Locale;
@@ -41,8 +40,8 @@ public class SuggestTestsBase extends AndroidTestCase {
protected KeyboardId createKeyboardId(Locale locale) {
final int displayWidth = getContext().getResources().getDisplayMetrics().widthPixels;
return new KeyboardId(locale.toString() + " keyboard",
- com.android.inputmethod.latin.R.xml.kbd_qwerty, KeyboardView.COLOR_SCHEME_WHITE,
- locale, Configuration.ORIENTATION_LANDSCAPE, displayWidth, KeyboardId.MODE_TEXT,
+ com.android.inputmethod.latin.R.xml.kbd_qwerty, locale,
+ Configuration.ORIENTATION_LANDSCAPE, displayWidth, KeyboardId.MODE_TEXT,
new EditorInfo(), false, false, false, false);
}