Propagate preview enable attribute to mini-keyboard
Bug: 2959169 Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51main
parent
fe72f135b8
commit
7083b7486e
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue