am 2eb5eb4d
: am be2fef4d
: Merge "Fix backing view height calculation in landscape orientation" into jb-dev
* commit '2eb5eb4d447cb326b4c10cff2cae64df4e431ffd': Fix backing view height calculation in landscape orientation
This commit is contained in:
commit
876711930d
1 changed files with 3 additions and 1 deletions
|
@ -982,7 +982,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
final KeyboardView inputView = mKeyboardSwitcher.getKeyboardView();
|
final KeyboardView inputView = mKeyboardSwitcher.getKeyboardView();
|
||||||
if (inputView == null || mSuggestionsContainer == null)
|
if (inputView == null || mSuggestionsContainer == null)
|
||||||
return;
|
return;
|
||||||
final int backingHeight = getAdjustedBackingViewHeight();
|
final int adjustedBackingHeight = getAdjustedBackingViewHeight();
|
||||||
|
final boolean backingGone = (mKeyPreviewBackingView.getVisibility() == View.GONE);
|
||||||
|
final int backingHeight = backingGone ? 0 : adjustedBackingHeight;
|
||||||
// In fullscreen mode, the height of the extract area managed by InputMethodService should
|
// In fullscreen mode, the height of the extract area managed by InputMethodService should
|
||||||
// be considered.
|
// be considered.
|
||||||
// See {@link android.inputmethodservice.InputMethodService#onComputeInsets}.
|
// See {@link android.inputmethodservice.InputMethodService#onComputeInsets}.
|
||||||
|
|
Loading…
Reference in a new issue