aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge "Fix indentations."Ken Wakasa2012-01-058-21/+20
|\ \ \ | |/ / |/| |
| * | Fix indentations.Ken Wakasa2012-01-068-21/+20
| | | | | | | | | | | | Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24
* | | Add methods to read shortcuts from the binary dict (A2)Jean Chalard2012-01-063-5/+89
|/ / | | | | | | | | | | | | This contains stubs only, it does not work yet, however it doesn't break anything. Change-Id: If912ae84ff3ccd7a2d6588ffd6fbb9974f87ef3d
* | Add a forgotten constantJean Chalard2011-12-271-0/+6
| | | | | | | | | | | | | | This fixes the build. A constant was used before it was declared in another file. Change-Id: I72dfca2f76f0c3b7dd64072d062cd48c9bfcbd56
* | Skip shortcut targets if any. (A1)Jean Chalard2011-12-271-7/+7
| | | | | | | | Change-Id: I1e83bba2b36bdc0429debb22425ce75001e61c81
* | Prepare for proximity + two word correction No2satok2011-12-195-21/+64
| | | | | | | | Change-Id: Idfa1413e853299f1db459ef07da3efa932047981
* | 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
* | Reorganize LatinIME native build directory structure. Now it got NDK friendly.Ken Wakasa2011-12-133-65/+89
| | | | | | | | Change-Id: I0f62ce8a6a4d2b6134db698f8b8d0576616e524d
* | Use priority queue for native string buffersatok2011-12-135-85/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +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-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