aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-28 01:45:40 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-28 01:45:40 -0800
commit1fe68195bd890e10966c16b56bf29b9527aaa46b (patch)
tree5dbfdcf71bc3cbb6921745fe4b86cd4769e82e90 /java/src/com/android/inputmethod/latin/LatinIME.java
parentbb4280669a32240cacc66dc39bbcc640386222c6 (diff)
parent9c0344801bd05ab56c3cb70bd32e77747a264627 (diff)
downloadlatinime-1fe68195bd890e10966c16b56bf29b9527aaa46b.tar.gz
latinime-1fe68195bd890e10966c16b56bf29b9527aaa46b.tar.xz
latinime-1fe68195bd890e10966c16b56bf29b9527aaa46b.zip
am 9c034480: Merge "[IL102] Rename a method"
* commit '9c0344801bd05ab56c3cb70bd32e77747a264627': [IL102] Rename a method
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, 4 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index c6e0fb731..e8ea5e39d 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -195,11 +195,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
(Pair<SuggestedWords, String>) msg.obj;
// [IL]: this is the only place where the second arg is not
// suggestedWords.mTypedWord.
- latinIme.showSuggestionStripWithTypedWord(p.first, p.second);
+ latinIme.showSuggestionStrip(p.first, p.second);
} else {
final SuggestedWords suggestedWords = (SuggestedWords) msg.obj;
- latinIme.showSuggestionStripWithTypedWord(suggestedWords,
- suggestedWords.mTypedWord);
+ latinIme.showSuggestionStrip(suggestedWords, suggestedWords.mTypedWord);
}
} else {
latinIme.showGesturePreviewAndSuggestionStrip((SuggestedWords) msg.obj,
@@ -1274,7 +1273,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// This method must run on the UI Thread.
private void showGesturePreviewAndSuggestionStrip(final SuggestedWords suggestedWords,
final boolean dismissGestureFloatingPreviewText) {
- showSuggestionStripWithTypedWord(suggestedWords, suggestedWords.mTypedWord);
+ showSuggestionStrip(suggestedWords, suggestedWords.mTypedWord);
final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView();
mainKeyboardView.showGestureFloatingPreviewText(suggestedWords);
if (dismissGestureFloatingPreviewText) {
@@ -1410,7 +1409,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
// TODO[IL]: Define a clean interface for this
- public void showSuggestionStripWithTypedWord(final SuggestedWords sourceSuggestedWords,
+ public void showSuggestionStrip(final SuggestedWords sourceSuggestedWords,
final String typedWord) {
final SuggestedWords suggestedWords =
sourceSuggestedWords.isEmpty() ? SuggestedWords.EMPTY : sourceSuggestedWords;