aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-04-16 20:56:03 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-16 20:56:03 -0700
commit12776925199fd969626c49674d78eaec8e5f9b43 (patch)
treee68dc5f378a99c963a446f7c31b73c3ac77439bb /java/src/com/android/inputmethod/latin/Dictionary.java
parent40edd14c159c321fcb736225520daf1a6f904f09 (diff)
parentac27e4544b5b5ff7b4f365a4bde5c288d511ae13 (diff)
downloadlatinime-12776925199fd969626c49674d78eaec8e5f9b43.tar.gz
latinime-12776925199fd969626c49674d78eaec8e5f9b43.tar.xz
latinime-12776925199fd969626c49674d78eaec8e5f9b43.zip
Merge "Pass the previous word to getSuggestions"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Dictionary.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java
index 9d26a2343..a405aa409 100644
--- a/java/src/com/android/inputmethod/latin/Dictionary.java
+++ b/java/src/com/android/inputmethod/latin/Dictionary.java
@@ -61,11 +61,13 @@ 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
+ * @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.
* @see WordCallback#addWord(char[], int, int, int, int, int)
*/
- abstract public void getWords(final WordComposer composer, final WordCallback callback,
+ abstract public void getWords(final WordComposer composer,
+ final CharSequence prevWordForBigrams, final WordCallback callback,
final ProximityInfo proximityInfo);
/**