aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-09-03 05:28:43 +0900
committerTadashi G. Takaoka <takaoka@google.com>2010-09-03 05:28:43 +0900
commit7083b7486ec62ab06818e1bfbd0694d5f3563473 (patch)
treeda635ae1b1231131680e170ebe6d1f3f8ad3e5ec /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
parentfe72f135b855cbbebe2c1a00650a58736370693c (diff)
downloadlatinime-7083b7486ec62ab06818e1bfbd0694d5f3563473.tar.gz
latinime-7083b7486ec62ab06818e1bfbd0694d5f3563473.tar.xz
latinime-7083b7486ec62ab06818e1bfbd0694d5f3563473.zip
Propagate preview enable attribute to mini-keyboard
Bug: 2959169 Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
index ab1789ffe..805bc2d6b 100644
--- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
+++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
@@ -1054,6 +1054,7 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx
mMiniKeyboardOriginY = y + mMiniKeyboardContainer.getPaddingTop();
mMiniKeyboard.setPopupOffset((x < 0) ? 0 : x, y);
mMiniKeyboard.setShifted(isShifted());
+ mMiniKeyboard.setPreviewEnabled(isPreviewEnabled());
mMiniKeyboardPopup.setContentView(mMiniKeyboardContainer);
mMiniKeyboardPopup.setWidth(mMiniKeyboardContainer.getMeasuredWidth());
mMiniKeyboardPopup.setHeight(mMiniKeyboardContainer.getMeasuredHeight());