diff options
author | 2015-07-03 16:47:23 +0000 | |
---|---|---|
committer | 2015-07-03 16:47:23 +0000 | |
commit | 37d33d3da1627d57ab8daca2951f48739afbcbfb (patch) | |
tree | 8461bb8ed67f4a26f95dce86b99cd440cce7b5de /java/src/com/android/inputmethod/latin/DictionaryFacilitator.java | |
parent | 2c2065a56aa9c4e2971e6fc8ee0b8d0d059695b7 (diff) | |
parent | 8ed9bccaf2f670fd34689771d37c4e064da25b57 (diff) | |
download | latinime-37d33d3da1627d57ab8daca2951f48739afbcbfb.tar.gz latinime-37d33d3da1627d57ab8daca2951f48739afbcbfb.tar.xz latinime-37d33d3da1627d57ab8daca2951f48739afbcbfb.zip |
am 8ed9bcca: am 91886a31: am baec6ce1: Revert reset to ub-latinimegoogle-fava-release
* commit '8ed9bccaf2f670fd34689771d37c4e064da25b57': (240 commits)
Don't prompt before downloading.
Add some more logging. Why not.
Load metadata.json from resources on DB reset.
Small optimization to eliminate a >0 check in RichInputConnection.
Extend laggy connection timeout for initial load.
Fix breakage in tests.
LatinIME portion of StatsUtil change.
Workaround for preserving responsiveness on a slow InputConnection.
Do not decorate committed spans.
Do not force downloads on package replace.
Fix the previous downloads logic to not missing any downloads.
Detection and logging of slow input connections.
Clear/remove all the scheduled downloads in Download Manager
Disable download notifications.
Cleanup before fixing getTextAfterCursor().
Do not restrict downloads to WiFi networks.
Import translations. DO NOT MERGE
Revert "Remove "Personal dictionary" link from settings."
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
...
Diffstat (limited to 'java/src/com/android/inputmethod/latin/DictionaryFacilitator.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/DictionaryFacilitator.java | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/java/src/com/android/inputmethod/latin/DictionaryFacilitator.java b/java/src/com/android/inputmethod/latin/DictionaryFacilitator.java index 02015da09..ff798abd6 100644 --- a/java/src/com/android/inputmethod/latin/DictionaryFacilitator.java +++ b/java/src/com/android/inputmethod/latin/DictionaryFacilitator.java @@ -17,7 +17,6 @@ package com.android.inputmethod.latin; import android.content.Context; -import android.util.LruCache; import com.android.inputmethod.annotations.UsedForTesting; import com.android.inputmethod.keyboard.Keyboard; @@ -56,18 +55,6 @@ public interface DictionaryFacilitator { Dictionary.TYPE_USER}; /** - * The facilitator will put words into the cache whenever it decodes them. - * @param cache - */ - void setValidSpellingWordReadCache(final LruCache<String, Boolean> cache); - - /** - * The facilitator will get words from the cache whenever it needs to check their spelling. - * @param cache - */ - void setValidSpellingWordWriteCache(final LruCache<String, Boolean> cache); - - /** * Returns whether this facilitator is exactly for this locale. * * @param locale the locale to test against @@ -101,16 +88,12 @@ public interface DictionaryFacilitator { * * WARNING: The service methods that call start/finish are very spammy. */ - void onFinishInput(Context context); + void onFinishInput(); boolean isActive(); Locale getLocale(); - boolean usesContacts(); - - String getAccount(); - void resetDictionaries( final Context context, final Locale newLocale, @@ -166,7 +149,7 @@ public interface DictionaryFacilitator { boolean isValidSuggestionWord(final String word); - boolean clearUserHistoryDictionary(final Context context); + void clearUserHistoryDictionary(final Context context); String dump(final Context context); |