aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Preparatory refactoringJean Chalard2012-04-172-13/+23
| | | | | | | Split out getting the pointer to the bigrams to a separate function. This is a preparative change to bug#6313806 Change-Id: Ieb2e306a1151cd95dc1a16793c8dc2f7fed8b654
* 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-063-29/+23
| | | | | | | | 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
* Move the "src" directory as a preparation for Ib4a47342 and I66f6c5b9Ken Wakasa2012-03-3022-0/+5969
Change-Id: I3ab65059f6e356530484bfd0bba26a634a4cba65