diff options
author | 2010-09-06 06:45:10 -0700 | |
---|---|---|
committer | 2010-09-06 06:45:10 -0700 | |
commit | 7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf (patch) | |
tree | d61fc7386ba5bad384e04ffb327c0a0b8d71c399 /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java | |
parent | efe7abe03dce1779ce76e175d0fe9422d2f8eaad (diff) | |
parent | 8d7ffcb2ac3a8cdd051c7e493ff17b6bf1ded9c0 (diff) | |
download | latinime-7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf.tar.gz latinime-7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf.tar.xz latinime-7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf.zip |
am 8d7ffcb2: Disable pop-up preview on mini keyboard
Merge commit '8d7ffcb2ac3a8cdd051c7e493ff17b6bf1ded9c0' into gingerbread-plus-aosp
* commit '8d7ffcb2ac3a8cdd051c7e493ff17b6bf1ded9c0':
Disable pop-up preview on mini keyboard
Diffstat (limited to '')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java index 51bdc2c0c..1e95e8ac4 100644 --- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java +++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java @@ -1073,7 +1073,8 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx mMiniKeyboardOriginY = y + container.getPaddingTop(); mMiniKeyboard.setPopupOffset((x < 0) ? 0 : x, y); mMiniKeyboard.setShifted(isShifted()); - mMiniKeyboard.setPreviewEnabled(isPreviewEnabled()); + // Mini keyboard needs no pop-up key preview displayed. + mMiniKeyboard.setPreviewEnabled(false); mMiniKeyboardPopup.setContentView(container); mMiniKeyboardPopup.setWidth(container.getMeasuredWidth()); mMiniKeyboardPopup.setHeight(container.getMeasuredHeight()); |