aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Wang <andywang@google.com>2014-12-02 13:01:11 +0900
committerAndy Wang <andywang@google.com>2014-12-05 16:21:20 +0900
commit8584db1461d286f8eb966c40eb0bc76e8c9df76a (patch)
tree702f83d695aa9d3e4e4ee319d66ad8453c08b022 /tests
parentd21db3cf617ce3f3d05bfb7d555338994d3c8c3c (diff)
downloadlatinime-8584db1461d286f8eb966c40eb0bc76e8c9df76a.tar.gz
latinime-8584db1461d286f8eb966c40eb0bc76e8c9df76a.tar.xz
latinime-8584db1461d286f8eb966c40eb0bc76e8c9df76a.zip
Add keyboard margin options to place the keyboard dynamically.
Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/inputmethod/keyboard/KeyboardLayoutSetTestsBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/keyboard/KeyboardLayoutSetTestsBase.java b/tests/src/com/android/inputmethod/keyboard/KeyboardLayoutSetTestsBase.java
index 7f828111d..88550802c 100644
--- a/tests/src/com/android/inputmethod/keyboard/KeyboardLayoutSetTestsBase.java
+++ b/tests/src/com/android/inputmethod/keyboard/KeyboardLayoutSetTestsBase.java
@@ -155,7 +155,7 @@ public abstract class KeyboardLayoutSetTestsBase extends AndroidTestCase {
final boolean languageSwitchKeyEnabled, final boolean splitLayoutEnabled) {
final Context context = getContext();
final Resources res = context.getResources();
- final int keyboardWidth = ResourceUtils.getDefaultKeyboardWidth(res);
+ final int keyboardWidth = ResourceUtils.getKeyboardFrameWidth(res);
final int keyboardHeight = ResourceUtils.getDefaultKeyboardHeight(res);
final Builder builder = new Builder(context, editorInfo);
builder.setKeyboardGeometry(keyboardWidth, keyboardHeight)