diff options
author | 2012-06-26 01:53:24 -0700 | |
---|---|---|
committer | 2012-06-26 01:53:24 -0700 | |
commit | 89239eeb744b1cdb983fb50ccba9c9e82e85d571 (patch) | |
tree | 3a1b7d144f420a5a0580af227f2294e9872d6ffc /java/src/com/android/inputmethod/latin/Dictionary.java | |
parent | 582b69b31794ecfcef6bd53d548d517d9c0dd726 (diff) | |
parent | 60eed92dc37e59403142ac35bdf676ae7ceac298 (diff) | |
download | latinime-89239eeb744b1cdb983fb50ccba9c9e82e85d571.tar.gz latinime-89239eeb744b1cdb983fb50ccba9c9e82e85d571.tar.xz latinime-89239eeb744b1cdb983fb50ccba9c9e82e85d571.zip |
Merge "Remove the callback argument to getWords() (A15)"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Dictionary.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java index 55913b8eb..e999e5c61 100644 --- a/java/src/com/android/inputmethod/latin/Dictionary.java +++ b/java/src/com/android/inputmethod/latin/Dictionary.java @@ -59,17 +59,15 @@ public abstract class Dictionary { /** * Searches for words in the dictionary that match the characters in the composer. Matched - * words are added through the callback object. - * @param composer the key sequence to match + * words are returned as an ArrayList. + * @param composer the key sequence to match with coordinate info, as a WordComposer * @param prevWordForBigrams the previous word, or null if none - * @param callback the callback object to send matched words to as possible candidates * @param proximityInfo the object for key proximity. May be ignored by some implementations. * @return the list of suggestions * @see WordCallback#addWord(char[], int, int, int, int, int) */ abstract public ArrayList<SuggestedWordInfo> getWords(final WordComposer composer, - final CharSequence prevWordForBigrams, final WordCallback callback, - final ProximityInfo proximityInfo); + final CharSequence prevWordForBigrams, final ProximityInfo proximityInfo); /** * Searches for pairs in the bigram dictionary that matches the previous word and all the |