aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/UserHistoryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor on UserHistoryDictionarySatoshi Kataoka2013-07-261-415/+0
| | | | | Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
* Move settings related classes to "settings"Ken Wakasa2013-07-221-0/+1
| | | | Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
* Move a couple classes to the utils packageKen Wakasa2013-07-191-0/+1
| | | | Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
* Fix: release lock in UserHistoryDictionary.Keisuke Kuroynagi2013-07-041-1/+5
| | | | Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-3/+6
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Add tests to dicttool test.Jean Chalard2013-06-201-1/+1
| | | | | Bug: 8526576 Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
* Remove a cluttering logJean Chalard2013-02-231-4/+5
| | | | | Bug: 8175067 Change-Id: I9a104a32ba2b3b52a5dfa250f8c642abd6169cc0
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Clean up public helper methods of SettingsValuesTadashi G. Takaoka2013-01-091-2/+2
| | | | Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3
* Privatize a few constants in BinaryDictionary.javaKen Wakasa2012-12-171-4/+4
| | | | Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
* Remove a couple Eclipse and Android Lint warningsJean Chalard2012-12-061-2/+2
| | | | Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3
* Merge "Replace useless CharSequence to String"Tadashi G. Takaoka2012-10-221-11/+13
|\
| * Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-11/+13
| | | | | | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* | Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-1/+3
|/ | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-2/+2
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Use BinaryDictInputOutput to save UserHistoryDictionary.Yuichiro Hanada2012-09-271-340/+142
| | | | | | bug: 6669677 Change-Id: I08193c26f76dbd48168f8ac02c1b737525bfc7b2
* Fix gesture start detection algorithmTadashi G. Takaoka2012-09-211-1/+1
| | | | | Bug: 7032858 Change-Id: I9f4d939fa87fdead4c5a5921338a16cd0a59b7ac
* Check the length of the word when add to userhistory.Yuichiro Hanada2012-09-041-0/+4
| | | | Change-Id: I7f2fe1771eed6b610704892b24f8a0283a779162
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-2/+2
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* add reconstructBigramFrequencyYuichiro Hanada2012-08-171-8/+7
| | | | Change-Id: Iff20dcb9ca0d6064bb118247887fe24b812c0c61
* Cleanup old methods (A90)Jean Chalard2012-07-101-3/+3
| | | | Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
* Reduce method visibility (A88)Jean Chalard2012-07-101-1/+1
| | | | Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994
* Refactoring (A82)Jean Chalard2012-07-101-0/+11
| | | | | | | The user history dictionary should be the one knowing it does not suggest words beyond 2 characters, not Suggest. Change-Id: Ie85ec6116eb495e0c7f51108e4620c5ae536f4bf
* Move constants to a better place.Jean Chalard2012-06-271-1/+1
| | | | Change-Id: I5c27a3ed99b17f850e26a8503de16f001c7111c1
* Remove unused stuff.Jean Chalard2012-06-271-2/+1
| | | | Change-Id: Ifd0d5b6978f76b841574a6e10157c32d0cd656b6
* Cleanup the dictionary type.Jean Chalard2012-06-271-4/+4
| | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* Fix UserHistoryBigram data contention in UserHistoryDictionarysatok2012-06-121-189/+226
| | | | | Bug: 6637614 Change-Id: I34d26563e59d3b09bf35b8173dac5645ccb6a39f
* Merge "Initializing member variable before it is referenced" into jb-devTadashi G. Takaoka2012-06-071-1/+1
|\
| * Initializing member variable before it is referencedTadashi G. Takaoka2012-06-071-1/+1
| | | | | | | | | | Bug: 6584882 Change-Id: I1f76388fa8cc16171bc3fc60c935ddcf0a7c4e92
* | Fix a bug on upgrading user history schemesatok2012-06-081-1/+3
|/ | | | | Bug: 6626700 Change-Id: I3190d7404e45e704be79ee2031e79b18475feb8c
* Cache UserHistoryDictionary for each languageSatoshi Kataoka2012-06-061-125/+189
| | | | | Bug: 6603257 Change-Id: I73b65e921cff8337a00594525f67f6aec2178881
* Avoid redundant access to DBSatoshi Kataoka2012-06-041-38/+52
| | | | | Bug: 6603257 Change-Id: I2e8017f9e2e222aeab0a80faa239ce83d3b212ad
* Set level 1 as the initial value of the valid wordsSatoshi Kataoka2012-05-291-5/+6
| | | | | Bug: 4192129 Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
* Optimize the store of bigram listSatoshi Kataoka2012-05-291-103/+80
| | | | | | Bug: 4192129 Change-Id: Idcc62e4f9696b56b1d7013891b2da37b1784423e
* Forget user historysatok2012-05-281-58/+90
| | | | | | Bug: 4192129 Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
* Cancel adding user history bigram when autocorrection is cancelledsatok2012-05-241-0/+9
| | | | | Bug: 6465474 Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45
* Read and use user dictionary shortcuts.Jean Chalard2012-05-151-2/+2
| | | | | | Bug: 4646172 Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
* Fix missing synchronized modifierTadashi G. Takaoka2012-05-071-1/+1
| | | | Change-Id: Ied70a86bedb08adcf8353b189367172459f55292
* Fix AIOOBEsatok2012-03-281-2/+2
| | | | | Bug: 6236912 Change-Id: Ie09e5ef1c23eb48621ac3f2f2dc28dc2e46ca288
* Correct a shaky processing and move it to a better placeJean Chalard2012-03-231-8/+1
| | | | | | | | | | | The old code would remove caps from the first letter if auto-capsed but that makes very little sense when the word is camel-cased. Also, it would not correctly handle surrogate pairs, and would require a direct reference to LatinIME and a specific method to do the processing in an unexpected place. Change-Id: I416d6a805242788a2473f007ca7452c9fe3f5205
* Rename the user history dictionary.Jean Chalard2012-03-191-0/+457
UserBigramDictionary -> UserHistoryDictionary. Also update all methods, strings and comments, except those needed for backward compatibility (which only include the name of the database file). Change-Id: I0bccea29880dc566b90100575b83baaa947b03ae