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

Merge commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7'

* commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7':
  Propagate preview enable attribute to mini-keyboard
main
Tadashi G. Takaoka 2010-09-02 13:35:17 -07:00 committed by Android Git Automerger
commit efabc4eb52
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(); mMiniKeyboardOriginY = y + mMiniKeyboardContainer.getPaddingTop();
mMiniKeyboard.setPopupOffset((x < 0) ? 0 : x, y); mMiniKeyboard.setPopupOffset((x < 0) ? 0 : x, y);
mMiniKeyboard.setShifted(isShifted()); mMiniKeyboard.setShifted(isShifted());
mMiniKeyboard.setPreviewEnabled(isPreviewEnabled());
mMiniKeyboardPopup.setContentView(mMiniKeyboardContainer); mMiniKeyboardPopup.setContentView(mMiniKeyboardContainer);
mMiniKeyboardPopup.setWidth(mMiniKeyboardContainer.getMeasuredWidth()); mMiniKeyboardPopup.setWidth(mMiniKeyboardContainer.getMeasuredWidth());
mMiniKeyboardPopup.setHeight(mMiniKeyboardContainer.getMeasuredHeight()); mMiniKeyboardPopup.setHeight(mMiniKeyboardContainer.getMeasuredHeight());