aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/personalization (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove distracter filter from client.•••Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659 Dan Zivkovic2015-02-091-5/+3
* Move decoder specific constants to DecoderSpecificConstants.java•••Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 Mohammadinamul Sheik2015-02-051-5/+2
* Nuke Amanatto•••Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3 Jatin Matani2015-02-025-179/+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-164-25/+19
* Merge "Hook for fetching sync content from UserHistoryDict"Jatin Matani2014-12-081-2/+1
|\
| * Hook for fetching sync content from UserHistoryDict•••Add API to ExpandableBinaryDictionary to dump content from a given dictionary. We use this for dumping data for sync process. Refactored UserHistoryDictionaryTests to scrap out the util methods for testing. These utility methods would be used for testing sync + user dictionary code in LatinIMEGoogleTests Bug:18106539 Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b Jatin Matani2014-11-261-2/+1
* | Cancel interval alarm for dictionary decaying in onDestroy.•••Bug: 18528171 Change-Id: I6e12c006bd9eff15f3fa9cfd335bdd9fa081be61 Keisuke Kuroyanagi2014-12-022-8/+31
|/
* Implement UserHistoryDictionary for each user account.•••UserHistoryDictionary currently uses locale to determine the UserHistoryDictionary on the filesystem. With this change we use the account name as well. Thus each UserHistoryDictionary would following the following spec: UserHistoryDictionary.<locale>.<account>.dict. In case no account is selected, we default to the existing spec: UserHistoryDictionary.<locale>.dict Example UserHistoryDictionary.en_US.testaccount@example.com.dict Bug: 18104749 Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37 Jatin Matani2014-11-132-11/+74
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-1/+1
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-1/+1
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-233-8/+16
* 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-212-6/+0
* Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()•••Bug: 14425059 Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30 Keisuke Kuroyanagi2014-10-061-29/+2
* Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-291-10/+10
* Refactoring PrevWordsInfo.•••Bug: 14425059 Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232 Keisuke Kuroyanagi2014-09-261-3/+2
* Prepare supporting n-gram for user history dictionary.•••Bug:17097992 Change-Id: Ic8bfde3d4cc0e720bf7681e08e16fb2ad94d5670 Keisuke Kuroyanagi2014-09-221-12/+23
* Enable personalization for multilingual users.•••Bug: 16547557 Change-Id: I03eda34edc902fc4732d16d234216344d8d84d88 Keisuke Kuroyanagi2014-09-101-0/+2
* Merge "Abolish source code overlay and inroduce overridable src dir"Ken Wakasa2014-08-162-89/+0
|\
| * Abolish source code overlay and inroduce overridable src dir•••This should make IDEs happy with appropriate source code directory selection. bug: 16829244 Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991 Ken Wakasa2014-08-162-89/+0
* | Add language to PersonalizationDataChunk.•••Bug: 16547557 Change-Id: I11b82667631cbd5263cc08ccb304fc97bf692050 Keisuke Kuroyanagi2014-08-191-3/+3
|/
* Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-devKeisuke Kuroyanagi2014-07-251-2/+2
|\
| * Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.•••Bug: 12725817 Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17 Keisuke Kuroyanagi2014-07-281-2/+2
* | Fix NPE when context.getFilesDir() returns null.•••Bug: 16416948 Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5 Keisuke Kuroyanagi2014-07-281-0/+1
|/
* Use CharSequence for spell checker to keep spans preserved•••This is a ground work to take per word locale information into consideration in the spell checker. This CL is supposed to change no user visible behavior. With this CL, the spell checker session is able to read span information if necessary. BUG: 16029304 Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210 Yohei Yukawa2014-07-201-2/+3
* Fix build.•••Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc Keisuke Kuroyanagi2014-06-261-1/+1
* Merge "Make PrevWordsInfo have multiple words' information."Keisuke Kuroyanagi2014-06-241-1/+1
|\
| * Make PrevWordsInfo have multiple words' information.•••Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a Keisuke Kuroyanagi2014-06-251-1/+1
* | Make Beginning-of-Sentence prediction require two exposures.•••Bug: 15868192 Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba Keisuke Kuroyanagi2014-06-251-1/+7
* | Enable beginning-of-sentence prediction.•••Bug: 14119293 Change-Id: I23c407f0afed0ae4af290a1195b0e3bbcd5af8d7 Keisuke Kuroyanagi2014-06-241-5/+0
|/
* Fix: NPE when initializing AOSP keyboard.•••Bug: 15677822 Change-Id: Ibebb215a08795482c0f1eef965db06af57558906 Keisuke Kuroyanagi2014-06-171-3/+12
* Update suggestion strip when the contextual dict is updated.•••Bug: 14161647 Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7 Keisuke Kuroyanagi2014-06-161-1/+2
* Merge "Contextual dictionary updater."Keisuke Kuroyanagi2014-06-101-0/+36
|\
| * Contextual dictionary updater.•••Bug: 14161647 Change-Id: I8106419678d5d26a4debec7bbef43af079c1ab18 Keisuke Kuroyanagi2014-06-131-0/+36
* | Merge "Personalization dictionary updater."Keisuke Kuroyanagi2014-06-101-14/+13
|\|
| * Personalization dictionary updater.•••Bug: 14161647 Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95 Keisuke Kuroyanagi2014-06-131-14/+13
* | Merge "Enable Beginning-of-Sentence prediction for contextual dict."Keisuke Kuroyanagi2014-06-101-0/+6
|\ \ | |/ |/|
| * Enable Beginning-of-Sentence prediction for contextual dict.•••Bug: 14161647 Bug: 14119293 Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2 Keisuke Kuroyanagi2014-06-121-0/+6
* | Fix: Wrong name for ContextualDictionary.•••Bug: 15557070 Change-Id: I5796df54a74c111d361da8c548e5597aba8e24d0 Keisuke Kuroyanagi2014-06-111-1/+1
|/
* Add prefix to the arguments of getDictionary().•••Bug: 13630847 Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc Keisuke Kuroyanagi2014-06-103-3/+3
* Add Dictionary.isInDictionary().•••Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e Keisuke Kuroyanagi2014-06-093-12/+6
* Apply distracter filter for UserHistoryDictionary.•••Bug: 13142176 Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978 Keisuke Kuroyanagi2014-05-271-3/+6
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-243-12/+8
* Move distracter filter to dictionary facilitator.•••Bug: 13142176 Bug: 15094186 Change-Id: Ib9e42f8e25538009f3ba62cf1e034cae3f6823c7 Keisuke Kuroyanagi2014-05-232-5/+39
* Have DictionaryFacilitator in LatinIME.•••Bug: 13142176 Bug: 15094186 Change-Id: I9da67352ff2abcd289fa5885389895ced878a413 Keisuke Kuroyanagi2014-05-231-3/+3
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815 Keisuke Kuroyanagi2014-05-211-12/+16
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."•••This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9 Ken Wakasa2014-05-201-16/+12
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3 Keisuke Kuroyanagi2014-05-201-12/+16
* Fix: NPE when context.getFilesDir() returns null.•••Bug: 14517587 Change-Id: Ib99bea14eab3a25ddb5042527b757133734a6ba6 Keisuke Kuroyanagi2014-05-151-4/+6
* Remove ContextualDictionary.haveContentsChanged().•••Change-Id: I7023ba4d9515dcad90e0a226f70936550c5241f4 Keisuke Kuroyanagi2014-05-121-6/+1
* Merge "Add contextual dictionary to the dictionary facilitator."Keisuke Kuroyanagi2014-05-121-0/+58
|\