diff options
author | 2014-09-29 03:06:25 +0000 | |
---|---|---|
committer | 2014-09-29 03:06:25 +0000 | |
commit | 895cbb76ba139950e5e06a95b92be78404a2b34f (patch) | |
tree | f8153aa00eece290c6be29ffdf205fccf2f71ef0 /java/src/com/android/inputmethod/latin/WordComposer.java | |
parent | 97d271664730c1ba9d52f7ea5798b5f455952ebd (diff) | |
parent | a4a4e9d96bfb0f41fe04abb28d8be49d7d780cbe (diff) | |
download | latinime-895cbb76ba139950e5e06a95b92be78404a2b34f.tar.gz latinime-895cbb76ba139950e5e06a95b92be78404a2b34f.tar.xz latinime-895cbb76ba139950e5e06a95b92be78404a2b34f.zip |
am a4a4e9d9: Merge "Rename PrevWordsInfo to NgramContext."
* commit 'a4a4e9d96bfb0f41fe04abb28d8be49d7d780cbe':
Rename PrevWordsInfo to NgramContext.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/WordComposer.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/WordComposer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/WordComposer.java b/java/src/com/android/inputmethod/latin/WordComposer.java index 567aa07f1..f85b34b5e 100644 --- a/java/src/com/android/inputmethod/latin/WordComposer.java +++ b/java/src/com/android/inputmethod/latin/WordComposer.java @@ -448,13 +448,13 @@ public final class WordComposer { // `type' should be one of the LastComposedWord.COMMIT_TYPE_* constants above. // committedWord should contain suggestion spans if applicable. public LastComposedWord commitWord(final int type, final CharSequence committedWord, - final String separatorString, final PrevWordsInfo prevWordsInfo) { + final String separatorString, final NgramContext ngramContext) { // Note: currently, we come here whenever we commit a word. If it's a MANUAL_PICK // or a DECIDED_WORD we may cancel the commit later; otherwise, we should deactivate // the last composed word to ensure this does not happen. final LastComposedWord lastComposedWord = new LastComposedWord(mEvents, mInputPointers, mTypedWordCache.toString(), committedWord, separatorString, - prevWordsInfo, mCapitalizedMode); + ngramContext, mCapitalizedMode); mInputPointers.reset(); if (type != LastComposedWord.COMMIT_TYPE_DECIDED_WORD && type != LastComposedWord.COMMIT_TYPE_MANUAL_PICK) { |