diff options
author | 2012-06-21 13:31:44 +0900 | |
---|---|---|
committer | 2012-06-26 17:36:47 +0900 | |
commit | 60eed92dc37e59403142ac35bdf676ae7ceac298 (patch) | |
tree | 174253958cdd0603d115917b4b89c48ca47c1187 /java/src/com/android/inputmethod/latin/Dictionary.java | |
parent | 2225b3bace388ba0b8789254da09fb9f6a6250e3 (diff) | |
download | latinime-60eed92dc37e59403142ac35bdf676ae7ceac298.tar.gz latinime-60eed92dc37e59403142ac35bdf676ae7ceac298.tar.xz latinime-60eed92dc37e59403142ac35bdf676ae7ceac298.zip |
Remove the callback argument to getWords() (A15)
Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
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 |