aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [AC4] Add native methods necessary for auto-commitJean Chalard2013-09-131-3/+6
| | | | | Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
* Check contents in user history dictionary testsSatoshi Kataoka2013-09-091-19/+23
| | | | | | Bug: 10667710 Change-Id: I45ebb08cb4ef9a9f6d2da31e2c50e740f88209c2
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-1/+1
| | | | | | | 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-79/+6
| | | | | Bug: 6669677 Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c
* Introduce DynamicDictionaryWriter for dynamic dictionary.Keisuke Kuroyanagi2013-08-231-3/+3
| | | | | Bug: 6669677 Change-Id: Ifcbeb88b908f2301ac062b411a95c8b38d24b90e
* Fix addWord.Yuichiro Hanada2013-08-231-1/+3
| | | | Change-Id: Ib71dbd5954f44ca80733fa4b1048c829e1df138a
* [AC2] Reference a dict rather than a string in suggestion infosJean Chalard2013-08-201-4/+4
| | | | | Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
* [AC1] Add a memory of where to cut the first word.Jean Chalard2013-08-201-3/+6
| | | | | Bug: 9059617 Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
* Refactor on UserHistoryDictionarySatoshi Kataoka2013-07-261-9/+9
| | | | | Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
* Update ExpandableDictionary.BASE_CHARS[]Ken Wakasa2013-07-051-165/+199
| | | | | | This should be the same as CharUtils::BASE_CHARS[] in the native code. Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-1/+2
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Pass blockOffensiveWords as a parameterJean Chalard2013-05-011-1/+2
| | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* Fix possible SIOOBESatoshi Kataoka2013-03-271-2/+9
| | | | | | Bug: 8461021 Change-Id: I8b0385610b80b5a672ec380935c485a0e01ae984
* Privatize a few constants in BinaryDictionary.javaKen Wakasa2012-12-171-8/+8
| | | | Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
* Remove unused variablesKen Wakasa2012-11-161-0/+4
| | | | Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
* Move code point constants from Keyboard to Constants classTadashi G. Takaoka2012-10-291-3/+2
| | | | Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
* Merge "Replace useless CharSequence to String"Tadashi G. Takaoka2012-10-221-23/+27
|\
| * Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-23/+27
| | | | | | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* | Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-21/+1
|/ | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-5/+5
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Merge "Fix a silly bug." into jb-mr1-devJean Chalard2012-08-211-1/+1
|\
| * Fix a silly bug.Jean Chalard2012-08-221-1/+1
| | | | | | | | | | | | | | This would prevent user history to work at all. Bug: 7023638 Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1
* | Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-4/+4
| | | | | | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* | Rename and consolidate some constantsTadashi G. Takaoka2012-08-211-4/+3
|/ | | | Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
* Fix an OOB exceptionJean Chalard2012-08-031-2/+5
| | | | | | | | Not sure exactly how this can happen, but at least this should prevent us from crashing. Bug: 6920884 Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
* Cleanup old methods (A90)Jean Chalard2012-07-101-24/+1
| | | | Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
* Implement the common Dictionary interface (A89)Jean Chalard2012-07-101-0/+22
| | | | | | 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
* Factorize code (A87)Jean Chalard2012-07-101-13/+7
| | | | | | Why was this copy-pasted :( Change-Id: I6a537c56425ad039d7301a5fe1e0485784f07914
* Move stuff around for readability (A86)Jean Chalard2012-07-101-21/+21
| | | | Change-Id: I5f4a18e43f3012acf96978d625325bf7c69c9c80
* Add input pointersSatoshi Kataoka2012-06-291-2/+3
| | | | Change-Id: I95300bf0a847fb86d026e846ff4ad723bb45284f
* Remember the source dictionary for each suggestion.Jean Chalard2012-06-271-3/+3
| | | | Change-Id: I3c63372bd5572a479a67eaecfe8c8ea1cabc70d9
* Cleanup the dictionary type.Jean Chalard2012-06-271-3/+2
| | | | | | | 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-1/+1
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* Remove the callback argument to getWords() (A15)Jean Chalard2012-06-261-2/+1
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
* Do away with Utils#addAllSuggestions (A14)Jean Chalard2012-06-261-2/+0
| | | | | | It's not used any more. Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
* Change the return type of getWords and getBigrams (A8)Jean Chalard2012-06-261-6/+10
| | | | | | | | 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
* Remove another dependency to WordCallback (A4)Jean Chalard2012-06-261-8/+11
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I5b277124dc9244e78c4a1f4d542a55071eb479bd
* Change JNI for GestureSatoshi Kataoka2012-06-251-2/+3
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Tentatively remove a dependency on WordCallback (A3)Jean Chalard2012-06-211-23/+30
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id5a59eaec2aeefa0ba4524420a8e035d383f6545
* Remove a slew of Eclipse warnings.Jean Chalard2012-06-081-1/+3
| | | | Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
* Set level 1 as the initial value of the valid wordsSatoshi Kataoka2012-05-291-6/+5
| | | | | Bug: 4192129 Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
* Forget user historysatok2012-05-281-36/+100
| | | | | | Bug: 4192129 Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
* Clean up some compiler warningsTadashi G. Takaoka2012-05-251-1/+2
| | | | Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
* Cancel adding user history bigram when autocorrection is cancelledsatok2012-05-241-158/+180
| | | | | Bug: 6465474 Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45
* Read and use user dictionary shortcuts.Jean Chalard2012-05-151-20/+68
| | | | | | Bug: 4646172 Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
* Pass the previous word to getSuggestionsJean Chalard2012-04-171-4/+5
| | | | | | This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
* Come back the proximity correction to ExpandableDictionarysatok2012-04-021-3/+10
| | | | | Bug: 6242539 Change-Id: Ic0467d54c9d85d0653812d4e127328878ef15b94
* Fix AIOOBEsatok2012-03-281-12/+13
| | | | | Bug: 6236912 Change-Id: Ie09e5ef1c23eb48621ac3f2f2dc28dc2e46ca288
* ongoing cleanup 2satok2012-03-271-2/+6
| | | | Change-Id: I66b61cbe491cf8375144e834390beae3209a777d