aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Support additional proximity characterssatok2012-02-025-52/+127
| | | | | | | | Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
* | Implement multi words suggestions step1satok2012-01-305-110/+132
| | | | | | | | Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b
* | Merge missing space and mistyped space correction algorithmsatok2012-01-275-124/+93
| | | | | | | | Change-Id: Idd64d38d3d29be24748f9c0359667883698a5756
* | Merge multiple words suggestions algorithmsatok2012-01-262-125/+89
| | | | | | | | Change-Id: I70d85b90ddaa28a41e9679f445bc14ef9ff50f16
* | Refactor words priority queuesatok2012-01-264-30/+52
| | | | | | | | Change-Id: I14b7ef39263ad2b1d5ec087bc80b7b8d7c30abe7
* | Merge "Cleanup unused code"satok2012-01-254-174/+0
|\ \
| * | Cleanup unused codesatok2012-01-264-174/+0
| | | | | | | | | | | | Change-Id: I6c840f9ed170919e48d1c576cd0a48777ad44030
* | | Merge "Do other error correction for the second word of two word correction"satok2012-01-257-101/+181
|\| |
| * | Do other error correction for the second word of two word correctionsatok2012-01-257-101/+181
| | | | | | | | | | | | | | | | | | result: I4e0b68a12190933f9 Change-Id: I98afce6fe4d5bde97392146d204370ba31a72566
* | | Add a test for auto-correction.Jean Chalard2012-01-252-0/+4
|/ / | | | | | | | | | | | | | | | | 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
* | Merge 2577fca1Jean-Baptiste Queru2012-01-231-1/+1
|\| | | | | | | Change-Id: Ie2c9f6c2eafb59dff95db8954481ce49c87a6d44
| * Make the JNI lib an optional moduleRobert CH Chou2012-01-191-1/+1
| | | | | | | | | | | | | | | | | | Make it a user module will force it installed no matter the IME is actually required by the product or not. Replace the user by optional and add requiring the libjni_latinime by using LOCAL_REQUIRED_MODULES Change-Id: Ibfc37cf2e2391021d45538c7cea342894b56fbf8
* | Clean up two word correctionsatok2012-01-231-44/+60
| | | | | | | | Change-Id: I5cd2697d7f61b81aff0c249df01479d86ad0fba5
* | Two words error correction with other error correction for the first wordsatok2012-01-195-67/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +1 26 -1 5 +2 0 -2 0 +3 0 -3 0 +4 9 -4 25 +5 20 -5 21 +6 13 -6 6 +7 15 -7 26 Change-Id: Iad682d417a6bb42b11ca6e60157698ca66fef3ff
* | Prepair for advanced two words error correctionsatok2012-01-176-7/+198
| | | | | | | | Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8
* | Use edit distance for transposing correctionsatok2012-01-172-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +1 73 -1 4 +2 0 -2 0 +3 0 -3 0 +4 11 -4 19 +5 9 -5 3 +6 2 -6 63 +7 2 -7 8 Change-Id: I269cd2386f451f8932e4e0ae66223e794fdfa862
* | Stop avoiding adding what the user typed to candidatesJean Chalard2012-01-163-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There does not seem to be any reason other than a historical one to avoid doing this, but it takes processing power and makes things more complicated. This has a very limited impact on regression tests: 5 -> 3 [He, the] 5 -> 3 [An, an] 5 -> 3 [Where, where] 5 -> 3 [This, this] 7 -> 1 [wAtch, watch] 6 -> 4 [oveNs, oceans] 5 -> 1 [Ahere, Where] 7 -> 1 [Hast, Hast] 7 -> 5 [bjp, bill] 5 -> 1 [What, What] 5 -> 3 [Sound, So und] 7 -> 3 [causalities, casualties] 7 -> 3 [discontentment, discontent] 7 -> 3 [irregardless, regardless] 5 -> 1 : 2 5 -> 3 : 5 6 -> 4 : 1 7 -> 1 : 2 7 -> 3 : 3 7 -> 5 : 1 +1 4 -1 0 +2 0 -2 0 +3 8 -3 0 +4 1 -4 0 +5 1 -5 7 +6 0 -6 1 +7 0 -7 6 Change-Id: I6407cf922f27bbd3992df11d63690e71fc61111b
* | Merge "Store suggestions for each input length for missing space algorithm etc."satok2012-01-167-65/+99
|\ \
| * | Store suggestions for each input length for missing space algorithm etc.satok2012-01-167-65/+99
| | | | | | | | | | | | Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
* | | Read multi-byte char group countsJean Chalard2012-01-162-3/+6
| | | | | | | | | | | | Change-Id: Idc62382f1c814e9bd1466c9f7dda1fcc8ba4137d
* | | Remove a bunch of obsolete methods.Jean Chalard2012-01-162-76/+1
|/ / | | | | | | Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811
* | Fix a native crash with shortcutsJean Chalard2012-01-131-2/+3
| | | | | | | | | | | | | | Creation of the TerminalAttributes object failed to take into account that there may be children on this node. Change-Id: I8224a1a51532d1a40a8555f46425e3744388326b
* | New LOG libsatok2012-01-1310-70/+74
| | | | | | | | Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
* | Use placement new to construct the queuesatok2012-01-133-12/+31
| | | | | | | | Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9
* | Move auto correction thresthold to the native codesatok2012-01-123-20/+115
| | | | | | | | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* | Actually add shortcut targets to the suggestions (A4)Jean Chalard2012-01-061-2/+9
| | | | | | | | Change-Id: Ia6f551d36b2897863e7faf5143bc319522b0668e
* | Merge "Fill in the format-specific shortcut reading methods (A3)"Jean Chalard2012-01-051-8/+15
|\ \
| * | Fill in the format-specific shortcut reading methods (A3)Jean Chalard2012-01-061-8/+15
| | | | | | | | | | | | Change-Id: Ie5d8b344ed46873c92f3ef878a1e45017eb699c6
* | | 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