aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Reorganize char_utils.h and basechars.hTadashi G. Takaoka2011-11-117-44/+64
| | | | | | | | | | | | | | * make BASE_CHARS[] const * add several inline menthods for ASCII character handling Change-Id: I49664f219af88faf0aef43ac350cfc216570b185
* | am 2549ce27: am df2fed2b: Merge "Fix a bug that would end up in memory ↵Ken Wakasa2011-11-101-6/+9
|\| | | | | | | | | | | | | corruption" into ics-mr0 * commit '2549ce275a272d552c28121ea58742e54b640e54': Fix a bug that would end up in memory corruption
| * am df2fed2b: Merge "Fix a bug that would end up in memory corruption" into ↵Ken Wakasa2011-11-101-6/+9
| |\ | | | | | | | | | | | | | | | | | | ics-mr0 * commit 'df2fed2b791c5d6ef64597d515c971aa32a59b92': Fix a bug that would end up in memory corruption
| | * Fix a bug that would end up in memory corruptionJean Chalard2011-11-101-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Square distances array was not the right size. Copying long words into it would result in fandango on core. Bug: 5508337 Bug: 5591925 Change-Id: I7598081b3cfcd1975b206dada1baf8da9be35641
* | | Fix JNI as 64bit readyTadashi G. Takaoka2011-10-312-17/+17
| | | | | | | | | | | | Change-Id: I7a3ed2cee3b20744869aa5cf89ff9fd95f5ab8fe
* | | Merge "Remove NULL from native/jni"Tadashi G. Takaoka2011-10-284-25/+25
|\ \ \
| * | | Remove NULL from native/jniTadashi G. Takaoka2011-10-284-25/+25
| | | | | | | | | | | | | | | | Change-Id: I7c4e32d0d69876c7ea85d6997c9a40fa362152eb
* | | | Remove NULL from native/srcTadashi G. Takaoka2011-10-284-11/+3
|/ / / | | | | | | | | | Change-Id: I5299af7773d28fd12faebbfe644829a401ae5644
* | | Fix trivial compile issueTadashi G. Takaoka2011-10-282-0/+5
| | | | | | | | | | | | Change-Id: I9dbc51496dbdb2195bbe589b0c3b2cd7e3d2f1fc
* | | Cleanup unused functionTadashi G. Takaoka2011-10-271-6/+0
|/ / | | | | | | Change-Id: Ic0895e1973b3879b2a63f7e0b888e9a0480be6f3
* / Calculate edit distances incrementally.Yusuke Nojima2011-10-142-46/+94
|/ | | | Change-Id: I3ee734b9b71351523dc8658cba33d6c8435e348e
* Calibrate the scores of the proximity chars according to the distances.Yusuke Nojima2011-10-116-99/+142
| | | | | | | | | | | | | | | | | | | +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
* Enable score calibration by touch coordinatesYusuke Nojima2011-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | Result of diff.sh: +1 3 -1 3 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 3 -5 2 +6 3 -6 1 +7 1 -7 2 Change-Id: I41b803df23ac03e1fc81043df4e1e6a63c0afbb1
* Promote touches in hit box according to the distance from sweet spotYusuke Nojima2011-10-056-95/+84
| | | | Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4
* Cache the sweet spot typesYusuke Nojima2011-10-042-18/+33
| | | | Change-Id: Ibaee062dc55c11892143d48b2d0959e78e52be83
* Move ProximityInfo::calculateSweetSpotType right after ↵Yusuke Nojima2011-10-041-32/+32
| | | | | | ProximityInfo::setInputParams Change-Id: Ifc76ab0aa3e9467d54696bb8b84bf523f001938a
* Merge "Demote words with a capitalized char"satok2011-10-034-8/+45
|\
| * Demote words with a capitalized charsatok2011-10-034-8/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix bug in calculateSweetSpotType()Yusuke Nojima2011-10-031-1/+1
|/ | | | Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
* Calibrate score by touch coordinatesYusuke Nojima2011-09-302-0/+18
| | | | Change-Id: I9fc066eb1a455243536e72405922fcb7e26d7dc6
* Merge "Classify touches into three types."Yusuke Nojima2011-09-307-41/+151
|\
| * Classify touches into three types.Yusuke Nojima2011-09-307-41/+151
| | | | | | | | Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
* | Merge "Add a flag to demote completed suggestions"satok2011-09-294-22/+40
|\ \ | |/ |/|
| * Add a flag to demote completed suggestionssatok2011-09-294-22/+40
| | | | | | | | | | Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
* | Pass the touch position correction data to native.Yusuke Nojima2011-09-295-92/+47
|/ | | | Change-Id: I92958779377a530410d1682100f9d0a2ba267dea
* Extend JNI interface to pass the theme id of the keybaord to the native.Yusuke Nojima2011-09-283-6/+8
| | | | Change-Id: I705ec2fa1d32a673a8d84bc9afc2a46208a414a1
* Add explicit NULL check to latinime_Keyboard_setProximityInfo() and ↵Yusuke Nojima2011-09-273-26/+45
| | | | | | | ProximityInfo::ProximityInfo(). Bug: 5375319 Change-Id: If3016ab56b6c62c8855b394f23e09e127a279be7
* Merge "Extend JNI interface to pass the key coordinate information"Yusuke Nojima2011-09-224-6/+145
|\
| * Extend JNI interface to pass the key coordinate informationYusuke Nojima2011-09-224-6/+145
| | | | | | | | Change-Id: Iec0d1415d6abba43b775a014516b961b167597b7
* | Merge "Fix a dangerous macro."Yusuke Nojima2011-09-201-1/+1
|\ \
| * | Fix a dangerous macro.Yusuke Nojima2011-09-201-1/+1
| |/ | | | | | | Change-Id: Idb5530ceb03c415e4ec002f8d2fbbec837b35636
* / Fix editDistance() not to access the outside of mEditDistanceTableYusuke Nojima2011-09-161-1/+2
|/ | | | | | | editDistance() can access the outside of mEditDistanceTable when called with strings that contain MAX_WORD_LENGTH_INTERNAL characters. Change-Id: I996e6cf21bd6acd6584beb4046c10491a044191e
* Delete unused function and add TODO comment for a potential bug.Yusuke Nojima2011-09-142-14/+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-235-84/+162
| | | | | | 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-194-64/+165
| | | | Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199
* Improve fat finger correction.satok2011-08-173-103/+101
| | | | Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4
* Combilne normal correction and skip correctionsatok2011-08-157-15/+157
| | | | Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806
* Removed matchedChar countsatok2011-08-113-49/+28
| | | | Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b
* Calculate the skip correction by one loopsatok2011-08-114-14/+18
| | | | Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24
* Improve skip correction algorithmsatok2011-08-115-58/+95
| | | | Change-Id: Ife45e3886137d60a4e903d4c6f7a9ef20c7e705a
* Add correction state.satok2011-08-105-47/+119
| | | | Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754
* Refactor CorrectionState to Correctionsatok2011-08-106-93/+93
| | | | Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b
* Refactor the correction algorithm related to missing character correctionsatok2011-08-094-30/+61
| | | | Change-Id: If68f2aaea7df48d013aea5401cee4ec0df32111a
* Move scoring part to the correction statesatok2011-08-054-182/+245
| | | | Change-Id: I2dc4a0869636fce5526f48b3a6267b6bdf61dbfb