aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/com_android_inputmethod_keyboard_ProximityInfo.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* [ML13] Fix the locale passing in ProximityInfo•••The locale is used to determine additional proximity characters. This is dependent on the dictionary language, but was passed as a function of the layout, which is wrong and would have given bad suggestions in multi-lingual mode. Ideally, additional proximity characters should be inserted in the dictionary header, but for now it's a rather simple change to get it from the dictionary's locale instead of the proximity info locale. Also, that allows us to remove completely the locale parameter from proximity info, which is a much needed change. This change has zero effect on unit tests and on regression tests. Bug: 11230254 Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4 Jean Chalard2014-10-031-3/+3
* Cleanups in JNI related code•••Removed the malloc version in binary dictionary support -- this has not really been tested well so far, and the mmap version has been working pretty well after all. Several cosmetic fixes etc. Change-Id: Iad0da58b300b769fb5946a3e73fc96f56215980e Ken Wakasa2013-06-041-7/+11
* Create a new directory for layout-related implementations•••Change-Id: Ia227bb296f20dab0dfc03dfcde3a06c624eca76c Ken Wakasa2013-05-301-1/+2
* Typing double letters via a 'circle' on the key.•••Bug: 8550980 Change-Id: I5e432dea0e025ccea196f80e90a6bf945488e130 Keisuke Kuroynagi2013-04-101-4/+4
* Add const_cast to live with host's jni.h•••Bug: 7970626 Change-Id: I2fd09e16dd9df36eebca2d737a0b7cc3ddd1c862 Tadashi G. Takaoka2013-03-261-3/+6
* Remove MAX_PROXIMITY_CHARS_SIZE_INTERNAL•••Change-Id: I18a997503de4033b5341b564145bca862a872098 Ken Wakasa2013-01-221-6/+6
* Remove MAX_WORD_LENGTH_INTERNAL•••Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071 Ken Wakasa2013-01-151-7/+7
* Yet another small cleanups•••Change-Id: Ie940c4d4d9d85c95e2f04ba23f00a54ba3dc53bf Ken Wakasa2013-01-081-2/+2
* Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused param...•••Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09 Ken Wakasa2012-10-091-3/+3
* A couple of cleanups. Remove unnecessary casts.•••Change-Id: Ice530aa83a9a688da35aec408be2a60242699157 Ken Wakasa2012-08-141-1/+1
* Clean up constructors•••And, use C++ style casts and use float math functions rather than double ones to save memory space. Also, stop using FloatMath and NativeUtils as standard Math methods are faster now. See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700 multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211 Ken Wakasa2012-08-131-2/+2
* Use GetStringUTFRegion•••Change-Id: I56ad66af4ee42ed32a6fd909a9a34d601874783a Ken Wakasa2012-08-091-4/+1
* Start using JNI's Get<Type>ArrayRegion()•••Change-Id: Iaa1014efe639dd79540835b0d5201093dbd8dab8 Ken Wakasa2012-08-081-32/+10
* Cleanup headers.•••Change-Id: Ied1bedb8ba5fae590987ea23bed32f4db1a60d77 Ken Wakasa2012-08-081-7/+4
* Header cleanup•••Change-Id: I1aa91708d0de01ca3e84e69ec8d3a3832c386ca8 Ken Wakasa2012-08-031-4/+5
* Header cleanup•••Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba Ken Wakasa2012-08-011-5/+0
* Cleanup headers•••Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3 Ken Wakasa2012-07-311-4/+4
* Misc cleanups•••Change-Id: I28308f12c3064299acefc346b72279036c3726a7 Ken Wakasa2012-07-301-2/+1
* Cosmetic fixes and style fixes•••Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc Ken Wakasa2012-07-251-16/+15
* Fix additional proximity in the native code•••Bug: 4343280 Change-Id: I4164bb916b2dbdfb6bdc151b99d46a6171d9c355 satok2012-03-141-1/+1
* Use additional proximity chars in the native code•••Bug: 4343280 Change-Id: Ida690fe246cea80a82fcdb3ad0c28e2907b882ac satok2012-03-131-1/+2
* Implement additional proximity characters in the native code•••Bug: 4343280 Change-Id: I9bbc5cab2fef1ee80c1fe32017df811ef8af10bc satok2012-03-131-6/+10
* Add functions to calculate proximity characters in the native code•••Bug: 4343280 Change-Id: I17f8f6295b01900948b98680d0267753f33a46cf satok2012-03-081-3/+4
* Fix JNI as 64bit ready•••Change-Id: I7a3ed2cee3b20744869aa5cf89ff9fd95f5ab8fe Tadashi G. Takaoka2011-10-311-5/+5
* Remove NULL from native/jni•••Change-Id: I7c4e32d0d69876c7ea85d6997c9a40fa362152eb Tadashi G. Takaoka2011-10-281-1/+1
* Pass the touch position correction data to native.•••Change-Id: I92958779377a530410d1682100f9d0a2ba267dea Yusuke Nojima2011-09-291-3/+13
* Extend JNI interface to pass the theme id of the keybaord to the native.•••Change-Id: I705ec2fa1d32a673a8d84bc9afc2a46208a414a1 Yusuke Nojima2011-09-281-3/+4
* Add explicit NULL check to latinime_Keyboard_setProximityInfo() and Proximity...•••Bug: 5375319 Change-Id: If3016ab56b6c62c8855b394f23e09e127a279be7 Yusuke Nojima2011-09-271-15/+15
* Extend JNI interface to pass the key coordinate information•••Change-Id: Iec0d1415d6abba43b775a014516b961b167597b7 Yusuke Nojima2011-09-221-3/+17
* Clean up in LatinIME native code•••Change-Id: I0062200a0181a491690115ac0fab8d11358e2f14 Ken Wakasa2011-06-181-34/+2
* Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-231-0/+90