aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/deprecated
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-05-30 19:35:15 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-30 19:35:15 -0700
commit57c38bf4b00c78c30351c0669cdafef9efc22807 (patch)
tree90ef921fe014cc545b15c85b76739e0048a69585 /java/src/com/android/inputmethod/deprecated
parentc25e07d21261583d0eeca5aa0fb6e3ffe93dc603 (diff)
parent41ec3ec2f3a95f0af2697da92cee4920e6156763 (diff)
downloadlatinime-57c38bf4b00c78c30351c0669cdafef9efc22807.tar.gz
latinime-57c38bf4b00c78c30351c0669cdafef9efc22807.tar.xz
latinime-57c38bf4b00c78c30351c0669cdafef9efc22807.zip
Merge "Enable choosing a bigram prediction several times in a row."
Diffstat (limited to 'java/src/com/android/inputmethod/deprecated')
-rw-r--r--java/src/com/android/inputmethod/deprecated/recorrection/Recorrection.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/deprecated/recorrection/Recorrection.java b/java/src/com/android/inputmethod/deprecated/recorrection/Recorrection.java
index 7f88066b6..d40728d25 100644
--- a/java/src/com/android/inputmethod/deprecated/recorrection/Recorrection.java
+++ b/java/src/com/android/inputmethod/deprecated/recorrection/Recorrection.java
@@ -218,10 +218,10 @@ public class Recorrection implements SharedPreferences.OnSharedPreferenceChangeL
mService.showSuggestions(builder.build(), entries.getOriginalWord());
}
- public void setRecorrectionSuggestions(VoiceProxy voiceProxy, CandidateView candidateView,
- Suggest suggest, KeyboardSwitcher keyboardSwitcher, WordComposer word,
- boolean hasUncommittedTypedChars, int lastSelectionStart, int lastSelectionEnd,
- String wordSeparators) {
+ public void fetchAndDisplayRecorrectionSuggestions(VoiceProxy voiceProxy,
+ CandidateView candidateView, Suggest suggest, KeyboardSwitcher keyboardSwitcher,
+ WordComposer word, boolean hasUncommittedTypedChars, int lastSelectionStart,
+ int lastSelectionEnd, String wordSeparators) {
if (!InputConnectionCompatUtils.RECORRECTION_SUPPORTED) return;
if (SuggestionSpanUtils.SUGGESTION_SPAN_IS_SUPPORTED || !mRecorrectionEnabled) return;
voiceProxy.setShowingVoiceSuggestions(false);
@@ -249,7 +249,7 @@ public class Recorrection implements SharedPreferences.OnSharedPreferenceChangeL
ic.endBatchEdit();
} else {
abortRecorrection(true);
- mService.setPunctuationSuggestions(); // Show the punctuation suggestions list
+ mService.updateBigramPredictions();
}
} else {
abortRecorrection(true);