diff options
author | 2011-05-30 19:35:15 -0700 | |
---|---|---|
committer | 2011-05-30 19:35:15 -0700 | |
commit | 57c38bf4b00c78c30351c0669cdafef9efc22807 (patch) | |
tree | 90ef921fe014cc545b15c85b76739e0048a69585 /java/src/com/android/inputmethod/deprecated | |
parent | c25e07d21261583d0eeca5aa0fb6e3ffe93dc603 (diff) | |
parent | 41ec3ec2f3a95f0af2697da92cee4920e6156763 (diff) | |
download | latinime-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.java | 10 |
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); |