aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/correction.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Address warnings by -Weffc++Ken Wakasa2012-08-241-2/+19
| | | | Change-Id: Icd60f1ed2ace0b975d8785bc8a386c7944846075
* Step 38-A Cleanup touch pathSatoshi Kataoka2012-08-231-8/+8
| | | | Change-Id: I9bfac98b9ac10f3812290f21673c4002241eae01
* Cleanup and fix method visibility.Ken Wakasa2012-08-161-77/+77
| | | | Change-Id: Ia9e8c69da21ce22bf674ec6c7b2536008a360ea3
* Tag the whitelisted entries in native code.Jean Chalard2012-08-131-0/+1
| | | | | | | | | | Since this is already used in Java land, this actually does activate the whitelist path, and the code is now fully functional. We still have to remove the old whitelist resource and to compile the dictionary that includes the whitelist. Bug: 6906525 Change-Id: Iacde5313e303b9ed792940efaf6bcfa4ee1317bd
* Header cleanup. Moved a couple of functions from .h to .cpp.Ken Wakasa2012-08-021-1/+1
| | | | Change-Id: Ifd12a7632f75395bd0ef5e394d5c2abd6cbe28c6
* Cleanup headersKen Wakasa2012-07-311-1/+1
| | | | Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3
* Cosmetic fixes and style fixesKen Wakasa2012-07-251-10/+10
| | | | Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc
* Move correction state to stack memorysatok2012-06-141-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | *Before (0) 13.18 (0.01%) (1) 93025.41 (62.06%) (2) 10.75 (0.01%) (3) 10.50 (0.01%) (4) 117.50 (0.08%) (5) 55678.98 (37.14%) (6) 9.09 (0.01%) (20) 883.84 (0.59%) Total 149898.24 (sum of others 149749.25) *After (0) 17.41 (0.01%) (1) 92673.41 (61.95%) (2) 10.62 (0.01%) (3) 10.37 (0.01%) (4) 120.96 (0.08%) (5) 55741.18 (37.26%) (6) 11.01 (0.01%) (20) 862.72 (0.58%) Total 149595.52 (sum of others 149447.68) Change-Id: Ia5a25a544fc388e4dab1e08d8f78d5117b249cf3
* refactor native step 2Satoshi Kataoka2012-06-081-2/+18
| | | | | | - proximity_info is now stateless Change-Id: I62725bfe05b161fa8fc050ea6b50867e10a354e2
* Fix the performance issue on suggesting aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaSatoshi Kataoka2012-05-301-0/+7
| | | | | | Bug: 6576793 Change-Id: I46f56654cd25dc28668ad75ac71e0e3beb8cdcf3
* Use "float" instead of "double"satok2012-05-161-1/+1
| | | | Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
* Add methods to inverse compute the probability.Jean Chalard2012-04-241-7/+7
| | | | | | | | | For now the probability is just returned with the same value it had, but this is some ground work that needs to be done anyway. Bug: 6313806 Change-Id: I9bb8b96b294109771208ade558c9ad56932d2f8e
* Move the "src" directory as a preparation for Ib4a47342 and I66f6c5b9Ken Wakasa2012-03-301-0/+239
Change-Id: I3ab65059f6e356530484bfd0bba26a634a4cba65