aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-10-16 13:26:45 -0700
committerTadashi G. Takaoka <takaoka@google.com>2012-10-16 14:24:30 -0700
commitbdc8b9e42b90e1fdf8e15d7ee5c0d319934fec0a (patch)
treee9cf5cdb49e9f26bcf46152079957faf14950e5e /java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java
parentc1bcb8ee104fd256cfda2d11b38336c9b3b3a0d3 (diff)
downloadlatinime-bdc8b9e42b90e1fdf8e15d7ee5c0d319934fec0a.tar.gz
latinime-bdc8b9e42b90e1fdf8e15d7ee5c0d319934fec0a.tar.xz
latinime-bdc8b9e42b90e1fdf8e15d7ee5c0d319934fec0a.zip
Fix more suggestions text width calculation
Bug: 7345983 Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java
index 9b9a35478..03a2e73d1 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestionsView.java
@@ -105,6 +105,10 @@ public final class MoreSuggestionsView extends KeyboardView implements MoreKeysP
}
}
+ public void updateKeyboardGeometry(final int keyHeight) {
+ mKeyDrawParams.updateParams(keyHeight, mKeyVisualAttributes);
+ }
+
@Override
public void setKeyboard(Keyboard keyboard) {
super.setKeyboard(keyboard);