aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/correction.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move obsolete files to obsolete dir 2Satoshi Kataoka2013-06-031-377/+0
| | | | | Bug: 8550444 Change-Id: Ia83796d696e04f51adb39867dfd21d1ac993b63c
* Create "src/utils" directoryKen Wakasa2013-06-031-1/+1
| | | | Change-Id: I0b7c51d181edc4786e343f7a953367b040ee6b66
* Move char_utils to the dictionary directoryKen Wakasa2013-05-311-4/+5
| | | | Change-Id: Id397485407fe63600c9bb5c80d223042942b4d8a
* Create a new directory for layout-related implementationsKen Wakasa2013-05-301-1/+1
| | | | Change-Id: Ia227bb296f20dab0dfc03dfcde3a06c624eca76c
* Force inlining Correction::isSingleQuoteBen Cheng2013-04-041-1/+1
| | | | | | | Also, only apply -Winline with GCC 4.6. There are some copy constructors that GCC 4.7/4.8 fail to inline. Change-Id: I97906045224e89377e8ea6add07a79fa088648af
* refactor MAX_POINT_TO_KEY_LENGTHSatoshi Kataoka2013-03-051-1/+1
| | | | Change-Id: I3b44068bce784531516f3cdfe67b3b46b1f1b805
* Cleanup in ProximityInfoStateUtilsKen Wakasa2013-01-311-8/+5
| | | | Change-Id: Ifce1c4a2c8b8859c1723ebe01023211a9f495b2f
* Some more misc cleanupsKen Wakasa2013-01-291-3/+3
| | | | Change-Id: I88cb6d38d73a2a68ade2f2190910f4733cd7b668
* Remove MAX_WORD_LENGTH_INTERNALKen Wakasa2013-01-151-6/+6
| | | | Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
* Replace assert() with ASSERT() & use -funwind-tables for debug buildsKen Wakasa2013-01-091-2/+1
| | | | Change-Id: I9ec14eb24ebc45657119a45aba09517e71a22974
* Misc small cleanupsKen Wakasa2013-01-081-2/+1
| | | | Change-Id: Iea61e6c76a9a0437a1b2e8143f6ab5b09a8e211e
* Small cleanupsKen Wakasa2012-12-111-3/+2
| | | | Change-Id: I29b4dee15d66f8f1372035738658234395001d41
* Adjust compiler warning options with the offdevice MakefileKen Wakasa2012-11-051-1/+2
| | | | | | Make use of AK_FORCE_INLINE for -Winline and better performance Change-Id: If0016e2ef61c1fe007c83bb1a5133a6b6bde568e
* Follow up to Ic6af0c596374d936d2b9b31e626fb62bd265ce64Ken Wakasa2012-11-031-6/+129
| | | | | | Tidy up inline functions with AK_FORCE_INLINE. Moved back some inline methods to header files. Change-Id: Ibd37b595666ebddda198d9237f19f6712653a8e8
* Add more compiler warning flagsKen Wakasa2012-11-021-24/+5
| | | | Change-Id: Ic6af0c596374d936d2b9b31e626fb62bd265ce64
* Use 32-bit code points for suggestions outputKen Wakasa2012-11-011-23/+22
| | | | | | | This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
* Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused ↵Ken Wakasa2012-10-091-1/+0
| | | | | | parameter. Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
* 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