aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-07-30 04:56:42 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-07-30 04:56:42 -0700
commited754b99915bfad79db615771dc73a60a089d3e2 (patch)
tree53dd834f4a7b3f1c1aeb889d34e2beac39e3496e /java/src/com/android/inputmethod/latin
parent213ff17429ed51e0c5010101e0d28adc597d9434 (diff)
parentca57f5ba40b587a7a7f8a023aca65e1b2127b2a6 (diff)
downloadlatinime-ed754b99915bfad79db615771dc73a60a089d3e2.tar.gz
latinime-ed754b99915bfad79db615771dc73a60a089d3e2.tar.xz
latinime-ed754b99915bfad79db615771dc73a60a089d3e2.zip
am ca57f5ba: Move gesture preview parameters to KeyboardView attributes
* commit 'ca57f5ba40b587a7a7f8a023aca65e1b2127b2a6': Move gesture preview parameters to KeyboardView attributes
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;
}