aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/AutoDictionary.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Check suggested words whether they are from mainDic or not•••- Added counters for suggestions by dictionarys - Added a counter for cancelled suggestions Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb satok2010-06-021-2/+2
* Avoid race conditions between queries and closing of the auto_dict database.•••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 Amith Yamasani2010-03-311-29/+33
* Write the auto dictionary data to disk in a background thread to avoid blocki...•••Bug: 2536846 This also potentially fixes the occasional hangs on pressing space. Need to verify. Bug: 2509010 Amith Yamasani2010-03-231-26/+70
* Load UserDictionary and AutoDictionary in a background thread.•••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 Amith Yamasani2010-03-101-10/+4
* Don't let the native code target be included twice when unbundling.•••Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986 Amith Yamasani2010-03-091-0/+217