aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/AutoDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename AutoDictionary to UserUnigramDictionary.Jean Chalard2011-07-151-250/+0
| | | | | | | ...and adjust internal functions, variables and constant names. Bug: 3459274 Change-Id: I1b11c6adfee360ac0fc22d627955688b3dbdcffc
* Stop promoting auto dictionary words to the user dict.Jean Chalard2011-05-251-10/+0
| | | | | | | | Also see change I5a57ecc8 which is another fix for the same problem. Bug: 3459274 Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
* Fix copyright author from Google to AOSPTadashi G. Takaoka2011-05-201-1/+1
| | | | Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
* Remove a useless import.Jean Chalard2011-04-201-1/+0
| | | | Change-Id: I911e3e928a45bbca352a87e6b0616a2ba9bd9e9c
* Add whitelist dictionarysatok2011-03-081-0/+1
| | | | | | Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-101-3/+4
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* Cleanup unused Java importTadashi G. Takaoka2010-11-291-4/+4
| | | | | | This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
* -UserBigramJae Yong Sung2010-08-101-5/+5
| | | | | | | -UnitTest for UserBigram -Changes for number of bigrams to load Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
* Check suggested words whether they are from mainDic or notsatok2010-06-021-2/+2
| | | | | | | - Added counters for suggestions by dictionarys - Added a counter for cancelled suggestions Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
* Avoid race conditions between queries and closing of the auto_dict database.Amith Yamasani2010-03-311-29/+33
| | | | | | | | | | | | Keep a reference to the openhelper around across locale and input language changes. Also, share the openhelper between the queries and updates. Creating a new one in a separate thread could cause it to be closed at the wrong time. Monkey bugs, probably dupes. Bug: 2560471 Bug: 2544169 Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
* Write the auto dictionary data to disk in a background thread to avoid ↵Amith Yamasani2010-03-231-26/+70
| | | | | | | | | blocking the UI thread. Bug: 2536846 This also potentially fixes the occasional hangs on pressing space. Need to verify. Bug: 2509010
* Load UserDictionary and AutoDictionary in a background thread.Amith Yamasani2010-03-101-10/+4
| | | | | | | | | | | This is to avoid ANRs during bootup, as some of the providers may not have been initialized yet. Refactored the ContactsDictionary and moved the async loading code to ExpandableDictionary to share with the other dicts. Bug: 2501133 Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-091-0/+217
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986