aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCache.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-106/+0
|
* Remove ALS from LatinIME.Dan Zivkovic2015-03-111-2/+2
| | | | | | This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
* Share decoders among latinime components.Jatin Matani2015-02-251-1/+2
| | | | Change-Id: I6c8d3cf10e05e606308cea42d1e935a415ada9f8
* Don't call resetDictionaries if DictionaryFacilitatorLruCache.get()Mario Tanev2015-02-241-5/+8
| | | | | | | | hasn't been called yet. This breaks the AOSP SpellChecker. This seems to be a bug introduced recently, when the DictionaryFacilitatorLruCache was turned into a "cache" of 1 element. Change-Id: I55f6c18b274c9a33fd62cb25bcd02f64788d5ff0
* Hide app icon when keyboard is a system app.Dan Zivkovic2015-02-231-4/+4
| | | | | | | | | | | | | The objective is to show an app icon when the user installs the keyboard from the Play Store, but not show the icon when it comes from the system image. The latter rule applies to AOSP keyboards and to the Google Keyboard on a Nexus device. This change partially reverts ag/613096. Bug 19001197. Change-Id: Icb202deffe9f1ab2bde9b3c9d221347da6793a19
* Spell checker uses cache of size 1.Dan Zivkovic2015-02-201-75/+18
| | | | | | This is a step in the direction of removing the LRU cache completely. Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9
* Rename in preparation of caching an instance.Dan Zivkovic2015-02-191-1/+1
| | | | Change-Id: I112c957e20d4573daaa71aa218b575037585385c
* Cleanup in preparation of distracter change.Dan Zivkovic2015-02-061-9/+9
| | | | | | Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
* Use shared constants in old+new facilitators.Dan Zivkovic2015-02-041-1/+1
| | | | Change-Id: I18b701df6ecbcc20ff0c664c218289179c4b2b2d
* Change DictionaryFacilitator.java to an interface, create itsMario Tanev2015-01-271-1/+1
| | | | | | | | implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator. Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45
* Passing account info to dictionaryFacilitatorJatin Matani2014-12-161-1/+3
| | | | | | | | | | | | | | | | | | | | Attempt to use dictionary facilitor without invoking preference manager. Instead use account from settings only when things are being reset/changed. Discussion forked from ag/591663 Overall, the idea here is to maintain an account information inside dictionary groups. Reset the dictionary groups if account changes (the way we do for locale). Since only user history dictionary is currently affected, the check to reset user history dictionary also includes the check to verify the account. For other things remain the same. SettingsValues holds the current account (and is updated if prefs change due to change in account settings). The updated settings are then propagated to dictionary facilitator via LatinIME#loadSettings. Bug:18104749,18469539 Change-Id: I553e776e7ea125d0fb7a1fe70a4c7eb0b2277fb8
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-2/+3
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* [ML16] Remove DictionaryFacilitator.getLocale()Jean Chalard2014-10-071-1/+1
| | | | | Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
* [ML7] Have multiple DictionaryGroup instances in facilitatorJean Chalard2014-09-161-1/+1
| | | | | | | This is the central change of multilingual input. Bug: 11230254 Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
* Create DictionaryFacilitatorLruCache.Keisuke Kuroyanagi2014-08-271-0/+156
This class is separated from AndroidSpellCheckerService Bug: 16547557 Change-Id: I3e58521207395588cecb2977234b89067d6da8c3