aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/SpellCheckerProximityInfo.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate dummy proximity info to the spell checker infoSatoshi Kataoka2013-05-081-462/+0
| | | | | | Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
* Use SparseIntArray instead of TreeMap<Integer, Integer>Tadashi G. Takaoka2013-04-101-42/+24
| | | | Change-Id: I56a64228a5fd85d440d0d08ac67cba8bf2e5690d
* Refactor SpellCheckerProximityInfo as extending ProximityInfoTadashi G. Takaoka2013-04-021-34/+43
| | | | Change-Id: I544eec9d661796d57749dbaa2163bc1e2a891353
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Fix spell checker subtype list.Jean Chalard2013-01-111-6/+260
| | | | | | | | Remove the subtypes that don't get a dictionary any more in AOSP. Also prepare for all downloadable-dictionary supported subtypes. Bug: 7673670 Change-Id: I5b754a791233c270237b8f7e5e2208f7282ad294
* Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-1/+2
| | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-3/+3
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-2/+3
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Rename and consolidate some constantsTadashi G. Takaoka2012-08-211-2/+2
| | | | Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
* Fix a bug that would prevent spell checkingJean Chalard2012-08-141-0/+1
| | | | | | | | | | | | | | | java.lang.ArrayIndexOutOfBoundsException: [I offset=0 length=528 src.length=512 com.android.inputmethod.keyboard.ProximityInfo .setProximityInfoNative(Native Method) com.android.inputmethod.keyboard.ProximityInfo .createSpellCheckerProximityInfo(ProximityInfo.java:85) com.android.inputmethod.latin.spellcheck.AndroidSpellCheckerService .createDictAndProximity(AndroidSpellCheckerService.java:411) The array was too small with respect with the passed size. Change-Id: I7777d7aecd17375d3fbf82854a66eb7a5a289ce6
* Fix a native crashJean Chalard2012-03-231-1/+6
| | | | | | -1 & 0xFFFF is 65536 :p Change-Id: I8ecb882b6d6c5bcc91b52e23eb9cc02b04fcdd34
* Small optimizationJean Chalard2012-03-231-4/+3
| | | | Change-Id: I5dd7c848f2aaec20325e7ee85f27e282e1ba7a85
* Send correct coordinates for the spell checkerJean Chalard2012-03-231-4/+20
| | | | | | | | This results in the computation being done in native code and the correct proximity being used. Bug: 6181080 Change-Id: I08fa05c781d607e4feca2caeda353ec19c133a3d
* Make some constants more explicit.Jean Chalard2012-03-221-2/+17
| | | | | | | | This wasn't very obvious, but the actual values are critical, so make it more readable Bug: 6181080 Change-Id: I07461d2df4c796dad0cb6f5283e41a28036d023c
* Add a test for auto-correction.Jean Chalard2012-01-251-1/+2
| | | | | | | | | Fix two related subtle bugs: - Stop singling out fat-finger-only corrections for rejection when touch coordinates are not available. - Remove a racy check that would happen only in debug mode Change-Id: Ic904f9b27c091ca6b369052c4e65a630bff81257
* Change visibility to avoid synthetic accessor methodTadashi G. Takaoka2011-12-151-6/+6
| | | | Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
* Add proximity for Russian.Jean Chalard2011-12-081-55/+140
| | | | | | | | This also tries to make the code as easy to extend as possible for future developments. Bug: 5701241 Change-Id: I1ed48e6a5cc7aab94c5d6e309930cc004247d7e7
* Cleanup unused importTadashi G. Takaoka2011-10-041-1/+0
| | | | | | This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
* Add proximity info for the spell checker.Jean Chalard2011-08-091-0/+94
Bug: 5119987 Change-Id: I35700fd8b0ffa6bced428cc6d46b3f64eb251281