am 7083b748: Propagate preview enable attribute to mini-keyboard

Merge commit '7083b7486ec62ab06818e1bfbd0694d5f3563473' into gingerbread-plus-aosp

* commit '7083b7486ec62ab06818e1bfbd0694d5f3563473':
  Propagate preview enable attribute to mini-keyboard
main
Tadashi G. Takaoka 2010-09-02 13:32:39 -07:00 committed by Android Git Automerger
commit 2fb112f142
1 changed files with 1 additions and 0 deletions

View File

@ -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());