aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the touch calibration bugsatok2011-11-171-0/+3
| | | | | Bug: 5629373 Change-Id: Iacc746e1cc97bf305e1f287cf7431b7115607eeb
* Calculate edit distances incrementally.Yusuke Nojima2011-10-141-46/+93
| | | | Change-Id: I3ee734b9b71351523dc8658cba33d6c8435e348e
* Calibrate the scores of the proximity chars according to the distances.Yusuke Nojima2011-10-111-56/+57
| | | | | | | | | | | | | | | | | | | +1 75 -1 27 +2 0 -2 0 +3 0 -3 0 +4 30 -4 48 +5 37 -5 27 +6 4 -6 35 +7 9 -7 18 Change-Id: I3c6ab06a0084c18ab595147c36c2ff4b1e961a7b
* Fix a bug of the conversion of the correction algorithmsatok2011-10-071-8/+31
| | | | | | | | | | | | | | | | | | | | | Bug: 5414829 +1 25 -1 17 +2 0 -2 0 +3 0 -3 0 +4 15 -4 9 +5 2 -5 9 +6 13 -6 4 +7 3 -7 19 Change-Id: Ie99db961051320ee31d31476ea7c25b1d837c484
* Promote touches in hit box according to the distance from sweet spotYusuke Nojima2011-10-051-36/+47
| | | | Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4
* Demote words with a capitalized charsatok2011-10-031-5/+40
| | | | | | | | | | | | | | | | | | | | | Bug: 5371514 +1 4 -1 2 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 0 -5 12 +6 3 -6 3 +7 12 -7 0 Change-Id: I6b46e43f9059f1e8a1cc02a626ea6eb8f1f9924f
* Calibrate score by touch coordinatesYusuke Nojima2011-09-301-0/+16
| | | | Change-Id: I9fc066eb1a455243536e72405922fcb7e26d7dc6
* Merge "Classify touches into three types."Yusuke Nojima2011-09-301-22/+47
|\
| * Classify touches into three types.Yusuke Nojima2011-09-301-22/+47
| | | | | | | | Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
* | Add a flag to demote completed suggestionssatok2011-09-291-2/+12
|/ | | | | Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
* Delete unused function and add TODO comment for a potential bug.Yusuke Nojima2011-09-141-0/+3
| | | | Change-Id: I7b16de1bd6b278c51d56eb1904e186c3db3b7f3d
* Fix a bug for calculating the edit distancesatok2011-08-261-1/+1
| | | | Change-Id: I4c2cd102c258ccdb2de18c53901f91c0f7c7a986
* remove unnecessary condition check.Yusuke Nojima2011-08-261-2/+1
| | | | Change-Id: I6e5e3dee0ca3aae0088dcb309da8be16d3842d47
* Combine proximity and correctionssatok2011-08-241-30/+36
| | | | | | bug: 4170136 Change-Id: I0a6d54c769b05f7a67f2f472d48a3e54fe3af475
* Combine the skipped and transposed correctionsatok2011-08-231-54/+141
| | | | | | bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5
* Fix last excessive char correction handlingsatok2011-08-191-1/+6
| | | | Change-Id: Id1d46cd96e041fbbbee995093ef8ca56daa3b383
* Refactor correction.cppsatok2011-08-191-89/+89
| | | | Change-Id: I1275496e3e7d7124494994d3c52730ec8afdfad3
* Do the transposed correction and the excessive correction by one loopsatok2011-08-191-40/+113
| | | | Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199
* Improve fat finger correction.satok2011-08-171-101/+97
| | | | Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4
* Combilne normal correction and skip correctionsatok2011-08-151-13/+124
| | | | Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806
* Removed matchedChar countsatok2011-08-111-32/+22
| | | | Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b
* Calculate the skip correction by one loopsatok2011-08-111-5/+13
| | | | Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24
* Improve skip correction algorithmsatok2011-08-111-17/+51
| | | | Change-Id: Ife45e3886137d60a4e903d4c6f7a9ef20c7e705a
* Add correction state.satok2011-08-101-13/+28
| | | | Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754
* Refactor CorrectionState to Correctionsatok2011-08-101-0/+443
Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b