aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/personalization/PersonalizationHelper.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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-131-6/+19
* 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
* Fix NPE when context.getFilesDir() returns null.•••Bug: 16416948 Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5 Keisuke Kuroyanagi2014-07-281-0/+1
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-9/+6
* Fix: NPE when context.getFilesDir() returns null.•••Bug: 14517587 Change-Id: Ib99bea14eab3a25ddb5042527b757133734a6ba6 Keisuke Kuroyanagi2014-05-151-4/+6
* Periodic GC for personalization dict.•••Change-Id: I1ef922684cbf1de10c45c66eb119c2343d194da3 Keisuke Kuroyanagi2014-05-081-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 Keisuke Kuroyanagi2014-04-241-1/+1
* Added a method and run GC for testing.•••Bug: 13231889 Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e Keisuke Kuroyanagi2014-02-281-8/+31
* Remove personalization dicts for multilingual users.•••Bug: 13067743 Change-Id: I1f50cb137b6054dc9442237586b70fc0aa2bf427 Keisuke Kuroyanagi2014-02-191-3/+6
* Update personalization dict via dictionary facilitator.•••Change-Id: I512c41e12d8d31f03b5df6ad03bf7711611c80f5 Keisuke Kuroyanagi2014-01-151-7/+0
* Remove personalized dicts when the option is turned off.•••Bug: 11757851 Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f Keisuke Kuroyanagi2013-12-251-0/+46
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-51/+19
* Try decaying user history at hourly intervals.•••Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803 Keisuke Kuroyanagi2013-10-021-1/+12
* Set header attributes for ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523 Keisuke Kuroyanagi2013-09-281-9/+7
* Use PrioritizedSerialExecutor instead of ReentrantReadWriteLock.•••Change-Id: I003b769e408ebd692085a7e17fed6d9396876202 Yuichiro Hanada2013-09-101-1/+1
* Make DynamicPred...Base extend ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c Keisuke Kuroyanagi2013-08-261-0/+122