aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [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
* Fix: Read lock is wrongly used for gutSuggestions.Keisuke Kuroynagi2013-07-091-2/+3
| | | | | | Bug: 9737865 Change-Id: I017f80b46c5dc48c40f2de7c4d516a042992feb4
* DictionaryWriter to abstract binary dictionary writing.Keisuke Kuroynagi2013-07-041-86/+59
| | | | | | | | UserHistoryDictionary should become to use ExpandableBinaryDictionary. Bug: 6669677 Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c
* Use ReentrantReadWriteLock in ExpandableBinaryDictionary.Keisuke Kuroynagi2013-07-031-15/+18
| | | | | | Bug: 6669677 Change-Id: I2acde0517d5ed5cbd7b7149709e35fc36651335d
* Regenerate old version dictionaries using new format.Keisuke Kuroynagi2013-07-011-1/+8
| | | | | Bug: 9617181 Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
* Add a parameter isUpdatable to the constructor of BinaryDictionary.Keisuke Kuroynagi2013-06-251-1/+1
| | | | | Bug: 6669677 Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Pass blockOffensiveWords as a parameterJean Chalard2013-05-011-2/+4
| | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* Make shortcut-only user dict entry non-words.Jean Chalard2013-04-121-3/+4
| | | | | Bug: 7369456 Change-Id: Iecd6f6d617f31bd2aa6749516711aeb1f0549622
* CleanupsJean Chalard2013-02-111-2/+2
| | | | | | Follow-up to Idc6f419a Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5