aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/android/inputmethod/latin/UserDictionary.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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-138/+0
* Save and restore Auto Dictionary data.•••Due to the addition of input language switching, the auto dictionary will be re-created very frequently. We need to save it and restore it during transitions, otherwise the data will be purged too often to be of much use in the multi-lingual case. This also fixes the case where a user frequently turns the phone off/on. Auto dictionary data was not being saved in those situations either. The dictionary will probably never grow too large since most of the frequently used words will be moved to the user dictionary any way. Also, now the input locale is different from the display locale, so save the input locale in the UserDictionary class and insert words into the user dictionary with the correct locale. And NPE fix for bug: 2464573 Amith Yamasani2010-02-241-4/+15
* Increase target size of preferred letters while typing.•••This increases the chance of hitting the correct letter when typing a word that exists in the dictionary, rather than only correct it after the fact. It is most effective after 2 or 3 letters of a word have been typed and gets more accurate with more typed letters in the word. If 2 adjacent letters have similar probabilities of occuring, then there is no hit correction applied. Amith Yamasani2010-02-081-2/+3
* Auto add new words to the user dictionary.•••First pass at automatically adding new words that the user types and deliberately accepts. After typing the word 4 times, the word gets promoted to being valid. After typing the word 7 times, the word gets added into the UserDictionary and can be removed from the UserDictionary Settings UI. Also add a second row of symbols to the period popup. Amith Yamasani2009-08-131-364/+17
* auto import from //branches/cupcake/...@138744The Android Open Source Project2009-03-131-0/+473