aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCache.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove ALS from LatinIME.•••This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725 Dan Zivkovic2015-03-111-2/+2
* Share decoders among latinime components.•••Change-Id: I6c8d3cf10e05e606308cea42d1e935a415ada9f8 Jatin Matani2015-02-251-1/+2
* Don't call resetDictionaries if DictionaryFacilitatorLruCache.get()•••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 Mario Tanev2015-02-241-5/+8
* Hide app icon when keyboard is a system app.•••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 Dan Zivkovic2015-02-231-4/+4
* Spell checker uses cache of size 1.•••This is a step in the direction of removing the LRU cache completely. Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9 Dan Zivkovic2015-02-201-75/+18
* Rename in preparation of caching an instance.•••Change-Id: I112c957e20d4573daaa71aa218b575037585385c Dan Zivkovic2015-02-191-1/+1
* Cleanup in preparation of distracter change.•••Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758 Dan Zivkovic2015-02-061-9/+9
* Use shared constants in old+new facilitators.•••Change-Id: I18b701df6ecbcc20ff0c664c218289179c4b2b2d Dan Zivkovic2015-02-041-1/+1
* Change DictionaryFacilitator.java to an interface, create its•••implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator. Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45 Mario Tanev2015-01-271-1/+1
* Passing account info to dictionaryFacilitator•••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 Jatin Matani2014-12-161-1/+3
* Fix some compiler warnings•••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 Tadashi G. Takaoka2014-10-211-2/+3
* [ML16] Remove DictionaryFacilitator.getLocale()•••Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9 Jean Chalard2014-10-071-1/+1
* [ML7] Have multiple DictionaryGroup instances in facilitator•••This is the central change of multilingual input. Bug: 11230254 Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d Jean Chalard2014-09-161-1/+1
* Create DictionaryFacilitatorLruCache.•••This class is separated from AndroidSpellCheckerService Bug: 16547557 Change-Id: I3e58521207395588cecb2977234b89067d6da8c3 Keisuke Kuroyanagi2014-08-271-0/+156