aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add const_cast to live with host's jni.h•••Bug: 7970626 Change-Id: I2fd09e16dd9df36eebca2d737a0b7cc3ddd1c862 Tadashi G. Takaoka2013-03-261-13/+21
* Refactor parameters by naming convention•••Change-Id: I8bda8075b33f656ecbec08320afcd864b620fe77 Satoshi Kataoka2013-03-181-4/+4
* Small cleanups•••Change-Id: I3e5862a405b4c63616c7ea947cd53c52b5035862 Ken Wakasa2013-01-301-3/+3
* Remove MAX_WORD_LENGTH_INTERNAL•••Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071 Ken Wakasa2013-01-151-28/+31
* Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS t...•••Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3 Ken Wakasa2013-01-111-4/+11
* Yet another small cleanups•••Change-Id: Ie940c4d4d9d85c95e2f04ba23f00a54ba3dc53bf Ken Wakasa2013-01-081-3/+2
* Remove unused variables•••Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca Ken Wakasa2012-11-161-6/+5
* Use sizeof() more safely.•••Change-Id: I7cffb4d8da847b483cf4bb482508e3c88c4903be Ken Wakasa2012-11-011-3/+3
* Use 32-bit code points for suggestions output•••This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc Ken Wakasa2012-11-011-30/+26
* Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused param...•••Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09 Ken Wakasa2012-10-091-7/+5
* Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedL...•••This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25 Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4 Ken Wakasa2012-09-041-5/+5
* Address warnings by -Weffc++•••Change-Id: Icd60f1ed2ace0b975d8785bc8a386c7944846075 Ken Wakasa2012-08-241-4/+4
* Allow one-character suggestions.•••Bug: 6906525 Change-Id: I62117653ac1281f825afc4ebb30f7e786902b750 Jean Chalard2012-08-171-1/+1
* Cleanup casts.•••Change-Id: I3bf33ca407cc3bee9f5c4c6f929cdb1421b92c50 Ken Wakasa2012-08-141-4/+4
* A couple of cleanups. Remove unnecessary casts.•••Change-Id: Ice530aa83a9a688da35aec408be2a60242699157 Ken Wakasa2012-08-141-17/+16
* 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-15/+24
* Fix memset() bugs•••Change-Id: Icf4341c0a62e782cf8c2a863408591df4e6f07cb Ken Wakasa2012-08-101-4/+4
* Use JNI Region calls also in getSuggestions()•••Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80 Ken Wakasa2012-08-101-40/+65
* Use more JNI Region calls•••Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc Ken Wakasa2012-08-101-35/+36
* Use GetStringUTFRegion for filename•••Change-Id: I2e9ad092ccf4c23c1c6b71916c962994314d37b6 Ken Wakasa2012-08-091-6/+7
* Pass traverse session•••Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4 Satoshi Kataoka2012-08-081-10/+11
* Header cleanup•••Change-Id: I1aa91708d0de01ca3e84e69ec8d3a3832c386ca8 Ken Wakasa2012-08-031-1/+2
* Header cleanup•••Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba Ken Wakasa2012-08-011-9/+3
* 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-19/+18
* Pass an array to output suggestion types (A119a)•••This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6 Jean Chalard2012-07-121-4/+7
* Remove an unused method (A109)•••Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f Jean Chalard2012-07-121-19/+0
* Move an implementation detail to native code (A107)•••Java code does not have to know about this implementation detail: the generic method should do the dispatching, instead of having the caller call either method. Change-Id: Ic13727f0cb18f4ced2c356cce2f8d710588c0421 Jean Chalard2012-07-121-4/+11
* Remove a useless parameter (A106)•••Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3 Jean Chalard2012-07-121-3/+3
* Make a constant really constant (A104)•••Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c Jean Chalard2012-07-121-3/+4
* Cleanup the dictionary type.•••Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831 Jean Chalard2012-06-271-3/+3
* Change JNI for Gesture•••Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088 Satoshi Kataoka2012-06-251-8/+17
* Add a JNI to get the frequency•••Bug: 4192129 Change-Id: I3f220f5a10114d4eb23956148076cf76220bda0f Satoshi Kataoka2012-05-291-3/+3
* Add missing includes.•••Change-Id: Ic7199045d0cffb208871f52cc167194013351d32 Ken Wakasa2012-05-161-0/+1
* Use "float" instead of "double"•••Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07 satok2012-05-161-3/+3
* Contacts dictionary rebuilds only when contact names have changed.•••Bug: 6396600 Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3 Tom Ouyang2012-05-111-0/+15
* Fetch and pass the bigram position on suggestions.•••This is a cherry-pick of change I2d81742f Bug: 6313806 Change-Id: Ic1190b7980d032bc11b57841bca040d980889b6b Jean Chalard2012-04-261-6/+8
* Pass words as int[] to the native code.•••We need to get the bigrams during the call to getSuggestions for bug#6313806. We already give an int[] to getSuggestions and we wanted to get rid of char[]'s anyway because it doesn't work with surrogate pairs, so here we go. Bug: 6313806 Change-Id: I56ce99f1db6b3302cdf42f0527343bded837091e Jean Chalard2012-04-231-10/+10
* Pass the previous word down to native code in getSuggestions•••Change-Id: I477b631d81ef58461e44954f3ae5fd895928bb97 Jean Chalard2012-04-171-3/+9
* Just cosmetic changes in jni code•••Change-Id: I8628131b5a7ccdee4c158e891002c8b86623b0cd Ken Wakasa2012-04-161-22/+10
* Replace the flags in getSuggestions with a boolean.•••Change-Id: I0ec44df1979cb1dc21017ea290d2151a2af0e7cd Conflicts: java/src/com/android/inputmethod/latin/Suggest.java Jean Chalard2012-04-061-3/+3
* Good bye the proximity logic in Java code•••Bug: 4343280 Change-Id: I82f7d08703647a3492ce6e2d3b741146df58927e satok2012-03-281-9/+6
* New LOG lib•••Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe satok2012-01-131-12/+12
* Move auto correction thresthold to the native code•••bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d satok2012-01-121-1/+28
* Fix JNI as 64bit ready•••Change-Id: I7a3ed2cee3b20744869aa5cf89ff9fd95f5ab8fe Tadashi G. Takaoka2011-10-311-12/+12
* Remove NULL from native/jni•••Change-Id: I7c4e32d0d69876c7ea85d6997c9a40fa362152eb Tadashi G. Takaoka2011-10-281-17/+17
* Fix trivial compile issue•••Change-Id: I9dbc51496dbdb2195bbe589b0c3b2cd7e3d2f1fc Tadashi G. Takaoka2011-10-281-0/+1
* Check the binary dictionary magic number•••...and return NULL if it does not matched an expected value. Bug: 5052486 Change-Id: I1dc7955d2785ee080bc5c22398be9befe332f096 Jean Chalard2011-07-201-6/+27
* Clean up in LatinIME native code•••Change-Id: I0062200a0181a491690115ac0fab8d11358e2f14 Ken Wakasa2011-06-181-34/+2