aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/UserDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated classes.Jean Chalard2012-06-081-225/+0
| | | | | | | Should we maybe rename back *BinaryDict* to *Dict* in another change for simplicity? Change-Id: I8f7dcb78b9bdf1a13ce403a997fbb8619f2b453b
* Clean up some compiler warningsTadashi G. Takaoka2012-05-251-0/+1
| | | | Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
* Mark UserDictionary and ContactsDictionary as deprecatedTadashi G. Takaoka2012-05-211-2/+4
| | | | | Bug: 6473962 Change-Id: I14477f99f67aedf756d9387ec1d50ef57a1c079e
* Change to a binary version of the expandable user dictionary.Tom Ouyang2012-05-171-0/+4
| | | | | Bug: 6435677 Change-Id: If83409f699608d443796e64a3c65692ae81b98e6
* Read and use user dictionary shortcuts.Jean Chalard2012-05-151-4/+15
| | | | | | Bug: 4646172 Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
* Pass the previous word to getSuggestionsJean Chalard2012-04-171-2/+3
| | | | | | This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
* Don't assume a word has been added to the user dictJean Chalard2012-02-161-5/+0
| | | | | | | | | | The user may now cancel or edit a word upon adding to the user dictionary. We can no longer assume the word has been added as is and for the current locale. We should just rely on standard mechanisms that inform us of new insertions. Bug: 6015347 Change-Id: I069b19c0c844ca29d6de4c4d162306f9413adea8
* Change visibility to avoid synthetic accessor methodTadashi G. Takaoka2011-12-151-3/+0
| | | | Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
* Use the system-wide interface to add a word.Jean Chalard2011-12-071-48/+12
| | | | | Bug: 5306641 Change-Id: Ic87e5bc3a5f1f03c57d48f2d92c28e0aba06847d
* Cleanup.Jean Chalard2011-11-181-2/+5
| | | | | | Fix a typo, and move a cursor.close() in a finally{} clause Change-Id: Iac011ebb80b9430774c7dc5cd94728d05cef443f
* Fix a bug where the UserDictionary may not be releasedJean Chalard2011-11-071-1/+5
| | | | | Bug: 5547357 Change-Id: I521afeaa349c86fb0087cedb70127de6acebec78
* Add an option to user dict to match more precise localesJean Chalard2011-09-151-4/+34
| | | | | | | | | | | | | | | This should not be used lightly, as it violates the general contract of locale, and does kill some legitimate (albeit alledgedly rare) use patterns. Currently, the spell checker uses this because it uses a negative logic: it should match broadly, and when in doubt, match even more broadly, which is almost never the case of something that uses the locale. In other words: don't use this option unless you are very, VERY sure that's what you want. Hint: it isn't Bug: 5280929 Change-Id: Ib3cae319c692161d653630038c5bcde1f4340c05
* Fix a bug where the user dict's locale match would be wrongJean Chalard2011-09-141-5/+33
| | | | | | | This is preparation for Bug: 5280929 Change-Id: Iab0096acf057aa288b1986d225aad815bd70b145
* Create a way to pass the proximity info to the dictionaryJean Chalard2011-08-041-2/+5
| | | | | | This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
* Check user dictionary is enabled before showing touch-to-saveTadashi G. Takaoka2011-07-221-5/+17
| | | | | Bug: 5024127 Change-Id: If4d691a4a59c43579d1f977e9a0545495f30bafb
* Fix crash on adding a word in the user dictionary.Jean Chalard2011-07-131-14/+26
| | | | | | | | | When the User dictionary service is off, LatinIME still allows to add words to it and it crashed if the user tries to do so. This change fixes the crash; it does not however fix the interface. Bug: 5004408 Change-Id: I5bd2684ab3010963c1f737fc764e70e79aadbe8d
* Remove next letters frequency handlingTadashi G. Takaoka2011-02-171-3/+2
| | | | | Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
* Fix NPEKen Wakasa2011-02-141-1/+1
| | | | | bug: 3446590 Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
* Fix adding user dictionaryTadashi G. Takaoka2010-12-161-9/+13
| | | | | | | This change is follow up of I9fe45a61 Bug: 3264920 Change-Id: Ic7b95892e36e30fd9fadd7bea011efad7f2f98ca
* Check user dictionary before inserting new wordTadashi G. Takaoka2010-12-131-2/+18
| | | | | Bug: 3264920 Change-Id: I9fe45a61b2ad2b1ed69d3a0cbc6eebecb4038acc
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-101-1/+1
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* Move some inner static class to top class in new packageTadashi G. Takaoka2010-12-021-0/+1
| | | | | | | | | This change introduces new package com.android.inputmethod.keyboard which hosts keyboard related classes. Also adds missing @Override and @SuppressWarning("unused") annotation Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
* Keep addWordToDictionary from doing disk I/O on main threadKen Wakasa2010-09-251-2/+8
| | | | | | bug: 2999524 Change-Id: Id8b04d38079cfa1dadd5955eb7f83085e60eb8e2
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-201-1/+2
| | | | | | TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
* Load UserDictionary and AutoDictionary in a background thread.Amith Yamasani2010-03-101-16/+9
| | | | | | | | | | | 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/+138
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986