aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix Apache license commentTadashi G. Takaoka2013-01-211-7/+9
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS ↵Ken Wakasa2013-01-111-3/+2
| | | | | | to MAX_RESULTS Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
* Privatize a few constants in BinaryDictionary.javaKen Wakasa2012-12-171-3/+2
| | | | Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-7/+7
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Move FormatOptions and FileHeader to FormatSpec.Yuichiro Hanada2012-09-131-2/+3
| | | | Change-Id: I232e35598635113bf2c81825669c744aadc79efe
* Add FormatOptions.Yuichiro Hanada2012-09-051-1/+5
| | | | Change-Id: Ibad05a5f9143de1156b2c897593ec89b0a0b07e7
* Reinstate the shortcut-only attributeJean Chalard2012-08-311-2/+2
| | | | | | | | Also add the blacklist attribute Bug: 7005742 Bug: 2704000 Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-4/+4
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Cleanup old methods (A90)Jean Chalard2012-07-101-47/+0
| | | | Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
* Implement the common Dictionary interface (A89)Jean Chalard2012-07-101-0/+19
| | | | | | This will de-duplicate a lot of existing code. Change-Id: Idaffb2fde23b9741f057bcb2ecb3dde9d12ea5c5
* Reduce method visibility (A88)Jean Chalard2012-07-101-2/+2
| | | | Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994
* Cleanup the dictionary type.Jean Chalard2012-06-271-7/+4
| | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* Remove the callback argument to getBigrams() (A16)Jean Chalard2012-06-261-4/+4
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* Remove the callback argument to getWords() (A15)Jean Chalard2012-06-261-7/+4
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b