aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-02-20 12:54:14 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-02-20 18:46:48 +0900
commit4b13b4f94215368c6387b2564bdaf2cbcbe4c130 (patch)
treefc4d36132f8b5d21e93611cad997d11ad9525173 /tests
parent810a9ff9d432d0422c4c0569ebfb18415fc2cd60 (diff)
downloadlatinime-4b13b4f94215368c6387b2564bdaf2cbcbe4c130.tar.gz
latinime-4b13b4f94215368c6387b2564bdaf2cbcbe4c130.tar.xz
latinime-4b13b4f94215368c6387b2564bdaf2cbcbe4c130.zip
Add "passwordInput" attribute to case tag of Keyboard
This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/inputmethod/latin/SuggestTestsBase.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
index 365cea865..4500c2aee 100644
--- a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
+++ b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
@@ -23,6 +23,7 @@ import android.content.res.AssetFileDescriptor;
import android.content.res.Configuration;
import android.test.AndroidTestCase;
import android.text.TextUtils;
+import android.view.inputmethod.EditorInfo;
import java.io.File;
import java.io.InputStream;
@@ -30,9 +31,9 @@ import java.util.Locale;
public class SuggestTestsBase extends AndroidTestCase {
protected static final KeyboardId US_KEYBOARD_ID = new KeyboardId("en_US qwerty keyboard",
- com.android.inputmethod.latin.R.xml.kbd_qwerty, Locale.US,
- Configuration.ORIENTATION_LANDSCAPE, KeyboardId.MODE_TEXT,
- KeyboardView.COLOR_SCHEME_WHITE, false, false, false, 0, false);
+ com.android.inputmethod.latin.R.xml.kbd_qwerty, KeyboardView.COLOR_SCHEME_WHITE,
+ Locale.US, Configuration.ORIENTATION_LANDSCAPE, KeyboardId.MODE_TEXT,
+ new EditorInfo(), false, false, false, false);
protected File mTestPackageFile;