aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Just cosmetic changes in jni codeKen Wakasa2012-04-161-22/+10
| | | | Change-Id: I8628131b5a7ccdee4c158e891002c8b86623b0cd
* Fix a large native memory leak.Jean Chalard2012-04-161-0/+6
| | | | | | | | This leak was about 500k and would happen whenever a new binary dictionary was opened/closed. Bug: 6299535 Change-Id: I4fad5b4d9c556ca889f5ef62d9d083a2eff6346a
* Replace the flags in getSuggestions with a boolean.Jean Chalard2012-04-064-32/+26
| | | | | | | | Change-Id: I0ec44df1979cb1dc21017ea290d2151a2af0e7cd Conflicts: java/src/com/android/inputmethod/latin/Suggest.java
* Enable using the flags read from the binary file.Jean Chalard2012-04-061-2/+2
| | | | Change-Id: Ib420c3e174ccc1a80c4b6fd066de3b7a2b6fb290
* Save the flags in a member in the unigram dictionary.Jean Chalard2012-04-063-4/+6
| | | | Change-Id: Ic8fad9110db6b97f98ace27af0f347b4e69de8c8
* Add a method to get the flags from a binary dictionary.Jean Chalard2012-04-063-4/+21
| | | | | | This method is not used yet Change-Id: Ic15d3d423aff2c83c712bc0aa56571d30755e663
* Remove write-only stuffJean Chalard2012-04-067-23/+8
| | | | Change-Id: I5ac8ab64c77a298502b3d063ea70db9b4da41716
* Read shortcuts as strings in the dictionary.Jean Chalard2012-04-065-26/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has no impact on performance. Before: (0) 9.61 (0.01%) (1) 57514.58 (56.70%) (2) 10.55 (0.01%) (3) 10.79 (0.01%) (4) 133.20 (0.13%) (5) 43553.87 (42.94%) (6) 10.03 (0.01%) (20) 47.20 (0.05%) Total 101431.47 (sum of others 101289.84) After: (0) 10.52 (0.01%) (1) 56311.16 (56.66%) (2) 13.40 (0.01%) (3) 10.98 (0.01%) (4) 136.72 (0.14%) (5) 42707.92 (42.97%) (6) 9.79 (0.01%) (20) 51.35 (0.05%) Total 99390.76 (sum of others 99251.84) The difference is not significant with regard to measure imprecision Change-Id: I2e4f1ef7a5e99082e67dd27f56cf4fc432bb48fa
* Make LatinIME's native Makefile NDK-friendlyKen Wakasa2012-03-311-0/+13
| | | | Change-Id: I55d430756b3a8251c9ff49dfabfcecb047d979a4
* Remove ".." in the native LOCAL_SRC_FILES.Ying Wang2012-03-301-27/+60
| | | | | | | | | The build system does not work well with ".." in the path of native source code. ".." causes the object files to spill out of the module's intermediate directory. Change-Id: Ib4a473426be296a738e7facbaa091e56f0b7c5b8
* Move the "src" directory as a preparation for Ib4a47342 and I66f6c5b9Ken Wakasa2012-03-3023-1/+1
| | | | Change-Id: I3ab65059f6e356530484bfd0bba26a634a4cba65
* Good bye the proximity logic in Java codesatok2012-03-287-26/+21
| | | | | Bug: 4343280 Change-Id: I82f7d08703647a3492ce6e2d3b741146df58927e
* Change the first character check in bigram dictionary to be case insensitive.Tom Ouyang2012-03-241-1/+2
| | | | | Bug: 6188977 Change-Id: I121c1abf245c7f8734730810c07d3351b1ec581a
* Fix build breakagesatok2012-03-231-1/+1
| | | | Change-Id: Ic4d3cf6932dcd57c1040c7877ab7c7f48cd6c408
* Merge "Fix a bug with negative coordinates, step 3"Jean Chalard2012-03-231-2/+2
|\
| * Fix a bug with negative coordinates, step 3Jean Chalard2012-03-231-2/+2
| | | | | | | | | | | | This implements the actual change, now that indentation is okay Change-Id: Idd897f988394125611516431711c1e575df871df
* | Merge "Fix a bug with negative coordinates, step 2"Jean Chalard2012-03-231-5/+5
|\|
| * Fix a bug with negative coordinates, step 2Jean Chalard2012-03-231-5/+5
| | | | | | | | | | | | Indentation changes only Change-Id: I95011e7d3f787ae6749b826af627f9acaed34e97
* | Merge "Fix a bug with negative coordinates, step 1"Jean Chalard2012-03-231-37/+39
|\|
| * Fix a bug with negative coordinates, step 1Jean Chalard2012-03-231-37/+39
| | | | | | | | | | | | | | This breaks style guidelines but for some reason git diff gets so lost on this re-indent that it's better to do it like this Change-Id: Ie0a603eb0739704894a5adc25f9d527b37bdf151
* | Merge "Cleanup jni 1"satok2012-03-234-28/+21
|\ \ | |/ |/|
| * Cleanup jni 1satok2012-03-234-28/+21
| | | | | | | | Change-Id: Ieb6af8385356e259720b50f1fe46a694a098b30f
* | Merge "Fix a typo"Jean Chalard2012-03-232-4/+4
|\ \
| * | Fix a typoJean Chalard2012-03-232-4/+4
| |/ | | | | | | Change-Id: If794344629e93b558d60b023ae70b703f9c039ab
* / Add processing for French ligatures.Jean Chalard2012-03-232-1/+16
|/ | | | | Bug: 5140033 Change-Id: I1c2751fc617e662aad9f67506e28a622f81d0bc9
* Send correct coordinates for the spell checkerJean Chalard2012-03-231-2/+3
| | | | | | | | This results in the computation being done in native code and the correct proximity being used. Bug: 6181080 Change-Id: I08fa05c781d607e4feca2caeda353ec19c133a3d
* Add a replacement character to digraphs systemJean Chalard2012-03-222-12/+24
| | | | | | | | | The digraphs system used to allow only the replacement of a pair (A, B) by (A). This change allows the replacement to be any character. Bug: 5140033 Change-Id: Icf5995f0ec553f7b7989af9902cbb2c4c6b51009
* Merge "Generalize the digraph code"Jean Chalard2012-03-213-19/+27
|\
| * Generalize the digraph codeJean Chalard2012-03-213-19/+27
| | | | | | | | | | Bug: 5140033 Change-Id: I19c8c89f79f7c1ce1fba58d50bc2697747052599
* | Fix a bug where the returned number of bigrams was incorrectJean Chalard2012-03-211-2/+3
|/ | | | | Bug: 6191885 Change-Id: I1daa4d2eaeec5f5c1a4eef79221fd7de357763e9
* Calculate proximity characters in the native codesatok2012-03-162-20/+64
| | | | | | Bug: 4343280 Change-Id: I6adaf560f7a4f1f96dcb6ec2f61f20ee3001167e
* Fix additional proximity in the native codesatok2012-03-146-39/+83
| | | | | Bug: 4343280 Change-Id: I4164bb916b2dbdfb6bdc151b99d46a6171d9c355
* Use additional proximity chars in the native codesatok2012-03-135-15/+42
| | | | | | Bug: 4343280 Change-Id: Ida690fe246cea80a82fcdb3ad0c28e2907b882ac
* Implement additional proximity characters in the native codesatok2012-03-136-13/+153
| | | | | | Bug: 4343280 Change-Id: I9bbc5cab2fef1ee80c1fe32017df811ef8af10bc
* Fix typo.Ken Wakasa2012-03-091-1/+1
| | | | Change-Id: Ia18cd090fd81022041854ce190e36eca49c6b04a
* Merge "Add functions to calculate proximity characters in the native code"satok2012-03-073-4/+54
|\
| * Add functions to calculate proximity characters in the native codesatok2012-03-083-4/+54
| | | | | | | | | | | | Bug: 4343280 Change-Id: I17f8f6295b01900948b98680d0267753f33a46cf
* | Fix a bug on German umlaut digraph correctionsatok2012-03-082-6/+19
|/ | | | | Bug: 6129372 Change-Id: I2d629735028c35bf12289f381ada2f4ffe8d7ad3
* Add a variable-length header region to the binary format.Jean Chalard2012-03-065-19/+50
| | | | | | | Also bump up the format version to 2. Bug: 5686638 Change-Id: I3aafdd7e42c422202122998ec093280051aa8e07
* Make some debug aid functions to inlineTadashi G. Takaoka2012-03-061-5/+4
| | | | Change-Id: I973f9d4a3989f3d2b797ad26f9d006c0f2c613b5
* Fix correction utilitysatok2012-03-021-1/+9
| | | | | | Bug: 6096247 Change-Id: Ie17c60dde9bd081790b79312ce8d96d292c5128c
* Activate bigram predictions from the binary dictionaryJean Chalard2012-02-151-1/+2
| | | | Change-Id: If1cc50539d7677b854b1cd3bea3423c8c0865de5
* resolved conflicts for merge of 3ad1145a to masterJean-Baptiste Queru2012-02-141-0/+4
|\ | | | | | | Change-Id: I13159b95f90c5095373951bf9e91b7dbf8b14558
| * [MIPS] Remove reference to NDKBhanu Chetlapalli2012-01-311-0/+4
| | | | | | | | | | Change-Id: I6137c4a93b29a8906abb5bd0f320dd3f37fdea08 Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
* | Support multi words suggestionsatok2012-02-085-64/+125
| | | | | | | | | | | | result: I4d097612db2f2a93522 Change-Id: Iedbb24f431dac43e52b6dcce8cb610a75e0ca46e
* | Fix indentKen Wakasa2012-02-062-2/+2
| | | | | | | | Change-Id: I77b4fb3a47faae7d4ad45d9903556e77a2fc7163
* | Merge "Use C++ template for min/max"Tadashi G. Takaoka2012-02-053-3/+6
|\ \
| * | Use C++ template for min/maxTadashi G. Takaoka2012-02-063-3/+6
| | | | | | | | | | | | | | | | | | To be more friendly for off-device regression test. Change-Id: I7edf4c9de73915aad9c1760ace7df3177ed3c4e9
* | | Support correction conversion from skip to additional proximitysatok2012-02-034-15/+54
|/ / | | | | | | | | | | Result: I34bedff6149a6a4e01 Change-Id: I46d528f228a969a0a996299221622627f43c55ec
* | Separate the logic for touch caribration againsatok2012-02-021-34/+54
| | | | | | | | Change-Id: I59c6244674caa899af559402290160ad411d1bb5