aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-06-21 13:40:51 +0900
committerJean Chalard <jchalard@google.com>2012-06-26 17:54:49 +0900
commit2f1b6c9ea438841fc2a7262a0593739c3dc82782 (patch)
treeec2d859fead55679844d2c387438297267612bad /java/src/com/android/inputmethod/latin/Dictionary.java
parent89239eeb744b1cdb983fb50ccba9c9e82e85d571 (diff)
downloadlatinime-2f1b6c9ea438841fc2a7262a0593739c3dc82782.tar.gz
latinime-2f1b6c9ea438841fc2a7262a0593739c3dc82782.tar.xz
latinime-2f1b6c9ea438841fc2a7262a0593739c3dc82782.zip
Remove the callback argument to getBigrams() (A16)
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Dictionary.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java
index e999e5c61..e6d3cfbbc 100644
--- a/java/src/com/android/inputmethod/latin/Dictionary.java
+++ b/java/src/com/android/inputmethod/latin/Dictionary.java
@@ -70,15 +70,13 @@ public abstract class Dictionary {
final CharSequence prevWordForBigrams, final ProximityInfo proximityInfo);
/**
- * Searches for pairs in the bigram dictionary that matches the previous word and all the
- * possible words following are added through the callback object.
+ * Searches for pairs in the bigram dictionary that matches the previous word.
* @param composer the key sequence to match
* @param previousWord the word before
- * @param callback the callback object to send possible word following previous word
* @return the list of suggestions
*/
public abstract ArrayList<SuggestedWordInfo> getBigrams(final WordComposer composer,
- final CharSequence previousWord, final WordCallback callback);
+ final CharSequence previousWord);
/**
* Checks if the given word occurs in the dictionary