aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/DictionaryPool.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89 Tadashi G. Takaoka2012-08-221-1/+2
* Ensure #offer always actually offers something.•••This will allow remaining requests after a call to terminate correctly. Bug: 6963142 Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659 Jean Chalard2012-08-151-1/+27
* Preemptive anti-deadlock device•••We don't know of any actual bug in the implementation of the pool that may result in a deadlock, but this still implements a means out of a deadlock if one ever arises anyway. It's meant to improve the resilience of the spell checker. Bug: 5441027 Change-Id: I689491090792dbb89110ee56631965c5bb2dc712 Jean Chalard2012-08-141-5/+25
* Cleanup unused import•••This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad Tadashi G. Takaoka2011-10-041-2/+1
* Have the spell checker report IN_DICT correctly•••...even if the word is filtered out. This also contains minor refactoring. Bug: 5329658 Change-Id: I397a2a74f819a51df3bd07c6b94e8d29244389c4 Jean Chalard2011-09-161-0/+9
* Close dictionary pools when they are not used any more.•••Bug: 5156851 Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb Jean Chalard2011-08-161-1/+24
* Have a pool of dictionaries to check spelling.•••The dictionaries and proximities are not thread-safe. In order to be able to check spelling in parallel, make a dictionary pool to call upon when a spelling check is necessary. Bug: 5156851 Change-Id: Ie3796164187dd7b7abf5ccd5d014073d43d74408 Jean Chalard2011-08-161-0/+55