aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-05-20 00:42:13 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-20 00:42:13 -0700
commit29a4b1ac88b06ced0ceb0b36ec4aedb7692447f7 (patch)
tree0e1675dbbdb91bd84e1b4dfa54b8640dbdb1f8cc /java/src/com/android/inputmethod/latin/LatinIME.java
parent5d7f9da99ffae1589269566ebe19ae73c8324fc9 (diff)
parente896d31bb92146379c8b7c0050ee05eec0830317 (diff)
downloadlatinime-29a4b1ac88b06ced0ceb0b36ec4aedb7692447f7.tar.gz
latinime-29a4b1ac88b06ced0ceb0b36ec4aedb7692447f7.tar.xz
latinime-29a4b1ac88b06ced0ceb0b36ec4aedb7692447f7.zip
Merge "Reload keyboard after SoftInputWindow size changed"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 18f743883..15d63e11f 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -624,6 +624,13 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
}
@Override
+ public void onWindowHidden() {
+ super.onWindowHidden();
+ KeyboardView inputView = mKeyboardSwitcher.getInputView();
+ if (inputView != null) inputView.closing();
+ }
+
+ @Override
public void onFinishInput() {
super.onFinishInput();
@@ -809,7 +816,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (isExtractViewShown()) {
// No need to have extra space to show the key preview.
mCandidateViewContainer.setMinimumHeight(0);
- super.setCandidatesViewShown(shown);
+ super.setCandidatesViewShown(shouldShowCandidates);
} else {
// We must control the visibility of the suggestion strip in order to avoid clipped
// key previews, even when we don't show the suggestion strip.