aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-01-22 14:32:47 +0900
committerTadashi G. Takaoka <takaoka@google.com>2013-01-22 17:34:36 +0900
commita729377395967f7652d93992cbcf50cd2ff522d1 (patch)
treef2bd1aa3f07aefbc008034a4e0f3560117acef05 /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parent4cb853191ca4e515c2291779aa6b21975d5711d6 (diff)
downloadlatinime-a729377395967f7652d93992cbcf50cd2ff522d1.tar.gz
latinime-a729377395967f7652d93992cbcf50cd2ff522d1.tar.xz
latinime-a729377395967f7652d93992cbcf50cd2ff522d1.zip
Cache MoreKeysKeyboard instead of container view of it
This change also cleans up MoreKeysPanel related stuff. Bug: 8047165 Change-Id: I4f2211e00c7d08469a7413568db039c1c597fb3c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 92b96e754..bc51d5d62 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -676,12 +676,11 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
new MoreKeysPanel.Controller() {
@Override
public boolean onDismissMoreKeysPanel() {
- mMainKeyboardView.dimEntireKeyboard(false /* dimmed */);
return mMainKeyboardView.onDismissMoreKeysPanel();
}
@Override
- public void onShowMoreKeysPanel(MoreKeysPanel panel) {
+ public void onShowMoreKeysPanel(final MoreKeysPanel panel) {
mMainKeyboardView.onShowMoreKeysPanel(panel);
}
@@ -728,7 +727,6 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
mMoreSuggestionsMode = MORE_SUGGESTIONS_CHECKING_MODAL_OR_SLIDING;
mOriginX = mLastX;
mOriginY = mLastY;
- mMainKeyboardView.dimEntireKeyboard(true /* dimmed */);
for (int i = 0; i < params.mSuggestionsCountInStrip; i++) {
mWords.get(i).setPressed(false);
}