aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Change the return type of getWords and getBigrams (A8)Jean Chalard2012-06-261-11/+16
| | | | | | | | This only returns stuff, but it doesn't change yet how the data is really passed. It merely adds a way of getting the same data. Later, the old way will be removed. Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c
* Change JNI for GestureSatoshi Kataoka2012-06-251-1/+1
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Fix performance issue when there are no contacts in the dictionary dictionary.Tom Ouyang2012-05-291-12/+30
| | | | | Bug: 6551480 Change-Id: I8681a1bd82423c612af2d012f9b872501d8c201d
* Change to a binary version of the expandable user dictionary.Tom Ouyang2012-05-171-2/+15
| | | | | Bug: 6435677 Change-Id: If83409f699608d443796e64a3c65692ae81b98e6
* Contacts dictionary rebuilds only when contact names have changed.Tom Ouyang2012-05-111-17/+62
| | | | | Bug: 6396600 Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3
* Ignore bigrams that are not also listed as unigramsJean Chalard2012-04-261-1/+1
| | | | | | | This is a cherry pick of I14b67e51 on jb-dev Bug: 6340915 Change-Id: Iaa512abe1b19ca640ea201f9761fd7f1416270ed
* Change expandable binary dict write to a temp file first.Tom Ouyang2012-04-241-1/+4
| | | | | Bug: 6380724 Change-Id: Ic1d0d902dc45ecb41a1792f33a60ab85e606fcef
* Pass the previous word to getSuggestionsJean Chalard2012-04-171-5/+6
| | | | | | This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
* Add an expandable binary dictionary that can be modified at runtime and ↵Tom Ouyang2012-04-101-0/+393
works with native algorithms. Bug: 6188977 Change-Id: Iec5c4e7d1d3918ac645187bd32dc3f82a95fec1e