aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix flaky unit test.Keisuke Kuroyanagi2014-01-141-1/+2
| | | | Change-Id: I8df0f9a0398b29f679844f256ad84f09ebcea8ee
* Periodic wipe of the personalization dict.Keisuke Kuroyanagi2014-01-101-1/+3
| | | | | | Bug: 12216453 Change-Id: Ie59dd19c044e9b1eb9b8bd805366200737ea506a
* Make required binary dictionary version use FormatSpec.*Keisuke Kuroyanagi2013-12-161-1/+1
| | | | Change-Id: Ifb17d6551bc5071553e32a5640dd166c39374461
* Make ExpandableBinaryDictionary usable for offdevice tests.Keisuke Kuroyanagi2013-12-131-4/+16
| | | | | Bug: 11956652 Change-Id: If5a503ef161781818f2efceba542be5a61be6bd1
* Add a constructor for testing to non-main dictionaries.Keisuke Kuroyanagi2013-12-121-1/+13
| | | | | | | | The new constructor is used for creating dictionary instance that uses a given file. Bug: 11956652 Change-Id: Ifbf420a1a768eb95a5c3a58eeb1be5936b306d35
* Add waitAllTasksForTests for testing.Keisuke Kuroyanagi2013-12-121-7/+14
| | | | | Bug: 10667710 Change-Id: I7a189e32286a6005393fbde8da736541ca9226a8
* Quit passing header file path to native.Keisuke Kuroyanagi2013-12-121-28/+12
| | | | | Bug: 12089197 Change-Id: Ia898f8d2836c0c131a1834dc0a396d9121ecb972
* Create ver4 dictionary files with the dictionary name.Keisuke Kuroyanagi2013-12-111-82/+92
| | | | | | Bug: 12025402 Change-Id: Ia0bb13b2e26aa60a67dff73f3f6a1e276f1bb1dd
* Fix typos.Jean Chalard2013-12-111-4/+4
| | | | | | One of these cost me a day and a half searching for a bug :( Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
* [RF4] Actually remove ver4 dictsJean Chalard2013-12-061-12/+24
| | | | | | | And fix a couple bugs. Bug: 11281748 Change-Id: If07953a4b1ff9eb1165af03fdb332d7e47cd8f32
* [RF3] CleanupsJean Chalard2013-12-061-7/+5
| | | | | | | | | | Make the version number a single number on native and java side. Also, remove the hasValidContents method. It's useless since the native code already checks this when creating the dictionary (I wish I had known that when I added it). Bug: 11281748 Change-Id: I572d37429972b2f280e4bdb748b709e5d0d7737e
* [RF2] Some refactoring and some cleanupJean Chalard2013-12-061-14/+19
| | | | | Bug: 11281748 Change-Id: Iff45fdf6b23f77c08271a169c7d7ca45912c85e8
* Start passing timestamp for dynamic dictionaries.Keisuke Kuroyanagi2013-12-041-5/+7
| | | | | Bug: 11073222 Change-Id: I89e1277f734d5959e33d61e7e9e7048084b9007a
* Add required header attributes for user/contacts dictionary.Keisuke Kuroyanagi2013-12-031-5/+13
| | | | | | Bug: 11973488 Change-Id: I91ef720a24633aec0f4e81cd4f7c49c749805c49
* Make contacts/user dictionary ver2.Keisuke Kuroyanagi2013-12-021-1/+2
| | | | Change-Id: I10c29bd45fd37d765f115333087e1700dd90570b
* Quit recording LastUserHistoryWriteTime.Keisuke Kuroyanagi2013-12-021-0/+11
| | | | Change-Id: I0f2b408b4976d8119c932654e23836803d42c568
* Add version check to open binary dictionary.Keisuke Kuroyanagi2013-11-281-8/+28
| | | | | Bug: 11073222 Change-Id: Iabae12b8f14a9da3cdc804dcc6af443cedeb3f99
* Merge "Start using Ver4 dictionary format."Keisuke Kuroyanagi2013-11-271-3/+5
|\
| * Start using Ver4 dictionary format.Keisuke Kuroyanagi2013-11-271-3/+5
| | | | | | | | | | | | Bug: 11073222 Change-Id: Idd836ee15501e2f8c57c8eebc1fef7f103b01d18
* | Implement addMultipleDictionaryEntries as a jni method.Keisuke Kuroyanagi2013-11-261-32/+5
|/ | | | | | Bug: 11757169 Change-Id: Ie1569e0b3c0503588ebfe5d09c7ca06116f54485
* Create a method to add multiple dictionary entries.Keisuke Kuroyanagi2013-11-191-15/+79
| | | | | Bug: 11740462 Change-Id: I7903cb02fd08d649a05b8799fb3cd00c3da26e00
* Purge ExpandableDictionary.Keisuke Kuroyanagi2013-11-141-103/+26
| | | | | Bug: 11245133 Change-Id: Ia0886686d8add940409dcd5c883c34eb5289380d
* Add a facility to dump the dictionary contents while closingSatoshi Kataoka2013-10-281-1/+16
| | | | Change-Id: I02e920e0512f2b46a778f0b23f7ca03f8d5dabe6
* Set the shortcut frequency correctly.Jean Chalard2013-10-071-4/+11
| | | | | | | 14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
* Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi2013-10-031-6/+24
| | | | | | | Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
* Try decaying user history at hourly intervals.Keisuke Kuroyanagi2013-10-021-5/+5
| | | | | | Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803
* Quit blocking getSuggestion during GC.Keisuke Kuroyanagi2013-10-011-3/+21
| | | | | | Bug: 10831272 Change-Id: I995c619dc18a9120a47f547d31045cb73a9353ec
* Prepare dictionary decay.Keisuke Kuroyanagi2013-09-301-1/+1
| | | | | Bug: 6669677 Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
* Merge "Set header attributes for ExpandableBinaryDictionary."Keisuke Kuroyanagi2013-09-291-2/+3
|\
| * Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-281-2/+3
| | | | | | | | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* | Stop reading dictionary while regenerating.Keisuke Kuroyanagi2013-09-271-62/+88
| | | | | | | | | | | | Bug: 10831272 Change-Id: Iead7268a9371b48d729a5f65074ccbc05f3185db
* | Fix PrioritizedSerialExecutor.Yuichiro Hanada2013-09-271-1/+1
|/ | | | | | | | It was possible that fetchNextTasks() would be called by multiple threads concurrently. If it happens, some tasks in the task queues might be ignored. Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
* Remove unused methods.Yuichiro Hanada2013-09-271-41/+0
| | | | Change-Id: I542db0c717c0bc05c8baa08f1e9db0a05946a99b
* Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-261-30/+16
| | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* Quit using ExpandableDictionary.Keisuke Kuroyanagi2013-09-241-34/+115
| | | | | Bug: 6669677 Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94
* Quit skipping user history dictionary for gesture.Keisuke Kuroyanagi2013-09-191-8/+18
| | | | | Bug: 6669677 Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3
* Add shutdown and isTerminated to PrioritizedSerialExecutor.Yuichiro Hanada2013-09-131-0/+10
| | | | Change-Id: Id185224d135c8571a39efe8a41a66ce769142903
* Use PrioritizedSerialExecutor instead of ReentrantReadWriteLock.Yuichiro Hanada2013-09-101-241/+185
| | | | Change-Id: I003b769e408ebd692085a7e17fed6d9396876202
* Move a flag about switching dynamic update to java.Keisuke Kuroyanagi2013-09-101-0/+17
| | | | | | Bug: 6669677 Change-Id: I6aa99cae4a227f9202179c2873d13473a773e024
* Merge "Check contents in user history dictionary tests"Satoshi Kataoka2013-09-091-1/+33
|\
| * Check contents in user history dictionary testsSatoshi Kataoka2013-09-091-1/+33
| | | | | | | | | | | | Bug: 10667710 Change-Id: I45ebb08cb4ef9a9f6d2da31e2c50e740f88209c2
* | Revise TODO comment for I823912e3979829a.Keisuke Kuroyanagi2013-09-091-2/+2
|/ | | | Change-Id: I839d8cb4d45d7d17b7940d710a2fef5aeacc11ab
* Fix: wrong locking order.Keisuke Kuroyanagi2013-09-091-8/+10
| | | | Change-Id: I823912e3979829ad1e825cf91dc5e18f7f0f9cc3
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-3/+3
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* Make DynamicPred...Base extend ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-08-261-4/+80
| | | | | Bug: 6669677 Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c
* Introduce DynamicDictionaryWriter for dynamic dictionary.Keisuke Kuroyanagi2013-08-231-4/+5
| | | | | Bug: 6669677 Change-Id: Ifcbeb88b908f2301ac062b411a95c8b38d24b90e
* Merge "Prepare ExpandableBinaryDictionary to make it updatable"Keisuke Kuroyanagi2013-08-191-53/+161
|\
| * Prepare ExpandableBinaryDictionary to make it updatableKeisuke Kuroyanagi2013-08-161-53/+161
| | | | | | | | | | | | Bug: 6669677 Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
* | Fix unit test.Yuichiro Hanada2013-08-191-1/+4
|/ | | | Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
* Refactor on UserHistoryDictionarySatoshi Kataoka2013-07-261-1/+1
| | | | | Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60