aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-07-30 16:06:19 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-07-30 20:10:48 +0900
commitca57f5ba40b587a7a7f8a023aca65e1b2127b2a6 (patch)
tree1e38ced59fac7824f785d1f00a11a07bb51f1703 /java/src/com/android/inputmethod/latin
parent6b9677d84ba199780b0e8282bf89b04cb618f868 (diff)
downloadlatinime-ca57f5ba40b587a7a7f8a023aca65e1b2127b2a6.tar.gz
latinime-ca57f5ba40b587a7a7f8a023aca65e1b2127b2a6.tar.xz
latinime-ca57f5ba40b587a7a7f8a023aca65e1b2127b2a6.zip
Move gesture preview parameters to KeyboardView attributes
Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 22213be5e..95d75ebb7 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1363,9 +1363,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
mWordComposer.setBatchInputPointers(batchPointers);
final SuggestedWords suggestedWords = getSuggestedWords();
showSuggestionStrip(suggestedWords, null);
- final String gesturePreviewText = (suggestedWords.size() > 0)
+ final String gestureFloatingPreviewText = (suggestedWords.size() > 0)
? suggestedWords.getWord(0) : null;
- mKeyboardSwitcher.getKeyboardView().showGesturePreviewText(gesturePreviewText);
+ mKeyboardSwitcher.getKeyboardView()
+ .showGestureFloatingPreviewText(gestureFloatingPreviewText);
}
@Override
@@ -1373,7 +1374,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
mWordComposer.setBatchInputPointers(batchPointers);
final SuggestedWords suggestedWords = getSuggestedWords();
showSuggestionStrip(suggestedWords, null);
- mKeyboardSwitcher.getKeyboardView().showGesturePreviewText(null);
+ mKeyboardSwitcher.getKeyboardView().showGestureFloatingPreviewText(null);
if (suggestedWords == null || suggestedWords.size() == 0) {
return;
}