aboutsummaryrefslogtreecommitdiffstats
path: root/native/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for proximity + two words suggestionsatok2011-12-164-35/+66
| | | | Change-Id: I3637f9bec1f4a3c5953498c4562e1f17a7bf593c
* Add words priority queue poolsatok2011-12-157-60/+131
| | | | Change-Id: I152df7b876a1756b69ded2ca4fb3ee26b38c971f
* Add a functionality to limit the max correction errorssatok2011-12-154-48/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before ==== test finished, terminate logcat ===== (0) 121.97 (0.28%) (1) 42032.07 (95.46%) (2) 11.03 (0.03%) (3) 12.19 (0.03%) (4) 10.02 (0.02%) (5) 1417.41 (3.22%) (6) 258.43 (0.59%) (20) 50.20 (0.11%) Total 44033.07 (sum of others 43913.32) After ==== test finished, terminate logcat ===== (0) 110.81 (0.29%) (1) 36416.11 (94.47%) (2) 10.06 (0.03%) (3) 9.45 (0.02%) (4) 9.83 (0.03%) (5) 1535.52 (3.98%) (6) 290.25 (0.75%) (20) 40.57 (0.11%) Total 38546.83 (sum of others 38422.60) Change-Id: Iffd24ce0b2dc422c8c6085d5be5f6bfdaf59ca7d
* Prune traversing a bit agressively and add a flag not to do auto completionsatok2011-12-153-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | +1 1 -1 2 +2 0 -2 0 +3 0 -3 0 +4 6 -4 1 +5 4 -5 3 +6 3 -6 10 +7 7 -7 5 Before: Total 42936.28 (sum of others 42814.63) After: Total 40860.56 (sum of others 40733.92) Change-Id: I6a3d52f31ec181970083358280c3ebaca0a1f63e
* Unbundle members in unigram_dictionarysatok2011-12-145-101/+113
| | | | Change-Id: Id737d943d20e3de3db568162caf40d3e956c7fae
* Use priority queue for native string buffersatok2011-12-134-83/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +1 2 -6 2 Performance before ==== test finished, terminate logcat ===== (0) 100.34 (0.26%) (1) 37149.26 (95.30%) (2) 8.43 (0.02%) (3) 11.18 (0.03%) (4) 9.92 (0.03%) (5) 1330.60 (3.41%) (6) 250.46 (0.64%) (20) 12.41 (0.03%) Total 38982.50 (sum of others 38872.59) after ==== test finished, terminate logcat ===== (0) 97.65 (0.26%) (1) 35427.43 (95.32%) (2) 10.30 (0.03%) (3) 8.95 (0.02%) (4) 11.01 (0.03%) (5) 1224.67 (3.30%) (6) 243.76 (0.66%) (20) 40.91 (0.11%) Total 37167.04 (sum of others 37064.68) Change-Id: Id4d3b88a9cdef765affc52973aeac951ecc6a8ca
* am 620b1faf: Merge "Fix the touch calibration bug" into ics-mr1satok2011-11-171-0/+3
|\ | | | | | | | | * commit '620b1faf126d4b5f7cb5c353cebd374d1347fdd4': Fix the touch calibration bug
| * Fix the touch calibration bugsatok2011-11-171-0/+3
| | | | | | | | | | Bug: 5629373 Change-Id: Iacc746e1cc97bf305e1f287cf7431b7115607eeb
* | Reorganize char_utils.h and basechars.hTadashi G. Takaoka2011-11-116-44/+63
| | | | | | | | | | | | | | * 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
* | | Remove NULL from native/srcTadashi G. Takaoka2011-10-284-11/+3
| | | | | | | | | | | | Change-Id: I5299af7773d28fd12faebbfe644829a401ae5644
* | | Fix trivial compile issueTadashi G. Takaoka2011-10-281-0/+4
| | | | | | | | | | | | 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-293-89/+20
|/ | | | Change-Id: I92958779377a530410d1682100f9d0a2ba267dea
* Extend JNI interface to pass the theme id of the keybaord to the native.Yusuke Nojima2011-09-282-3/+4
| | | | Change-Id: I705ec2fa1d32a673a8d84bc9afc2a46208a414a1
* Add explicit NULL check to latinime_Keyboard_setProximityInfo() and ↵Yusuke Nojima2011-09-271-10/+13
| | | | | | | ProximityInfo::ProximityInfo(). Bug: 5375319 Change-Id: If3016ab56b6c62c8855b394f23e09e127a279be7
* Merge "Extend JNI interface to pass the key coordinate information"Yusuke Nojima2011-09-223-3/+128
|\
| * Extend JNI interface to pass the key coordinate informationYusuke Nojima2011-09-223-3/+128
| | | | | | | | 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