Commit message (Expand) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Nuke Amanatto•••Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3 | 2015-02-02 | 1 | -35/+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 | 2014-12-16 | 1 | -1/+2 | |
* | Merge "Hook for fetching sync content from UserHistoryDict" | 2014-12-08 | 1 | -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 | 2014-11-26 | 1 | -2/+1 | |
* | | Cancel interval alarm for dictionary decaying in onDestroy.•••Bug: 18528171 Change-Id: I6e12c006bd9eff15f3fa9cfd335bdd9fa081be61 | 2014-12-02 | 1 | -1/+1 | |
|/ | |||||
* | 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 | 2014-11-13 | 1 | -6/+19 | |
* | Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab | 2014-11-07 | 1 | -1/+1 | |
* | Fix NPE when context.getFilesDir() returns null.•••Bug: 16416948 Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5 | 2014-07-28 | 1 | -0/+1 | |
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef | 2014-05-24 | 1 | -9/+6 | |
* | Fix: NPE when context.getFilesDir() returns null.•••Bug: 14517587 Change-Id: Ib99bea14eab3a25ddb5042527b757133734a6ba6 | 2014-05-15 | 1 | -4/+6 | |
* | Periodic GC for personalization dict.•••Change-Id: I1ef922684cbf1de10c45c66eb119c2343d194da3 | 2014-05-08 | 1 | -3/+1 | |
* | Remove clearAndFlushDictionary() and use clear().•••clearAndFlushDictionary() was needed when dictionaries are constructed in java side. All expandable dictionaries now use native code; thus, this method is same to clear() and no longer needed. Bug: 13755213 Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70 | 2014-04-24 | 1 | -1/+1 | |
* | Added a method and run GC for testing.•••Bug: 13231889 Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e | 2014-02-28 | 1 | -8/+31 | |
* | Remove personalization dicts for multilingual users.•••Bug: 13067743 Change-Id: I1f50cb137b6054dc9442237586b70fc0aa2bf427 | 2014-02-19 | 1 | -3/+6 | |
* | Update personalization dict via dictionary facilitator.•••Change-Id: I512c41e12d8d31f03b5df6ad03bf7711611c80f5 | 2014-01-15 | 1 | -7/+0 | |
* | Remove personalized dicts when the option is turned off.•••Bug: 11757851 Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f | 2013-12-25 | 1 | -0/+46 | |
* | Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 | 2013-12-13 | 1 | -51/+19 | |
* | Try decaying user history at hourly intervals.•••Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803 | 2013-10-02 | 1 | -1/+12 | |
* | Set header attributes for ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523 | 2013-09-28 | 1 | -9/+7 | |
* | Use PrioritizedSerialExecutor instead of ReentrantReadWriteLock.•••Change-Id: I003b769e408ebd692085a7e17fed6d9396876202 | 2013-09-10 | 1 | -1/+1 | |
* | Make DynamicPred...Base extend ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c | 2013-08-26 | 1 | -0/+122 |