aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Move obsolete files to obsolete dir 2Satoshi Kataoka2013-06-031-1/+1
| | | | | Bug: 8550444 Change-Id: Ia83796d696e04f51adb39867dfd21d1ac993b63c
* Purge DicTraverseWrapperSatoshi Kataoka2013-06-031-1/+2
| | | | | | bug: 8550444 Change-Id: Iad017e66ac579c6727b9f60ad9cda64e478200e5
* Move suggest_options.h to suggest/coreKen Wakasa2013-06-031-1/+1
| | | | Change-Id: Ie95872a4c90ee3089183c1ebafb67243bd2688a4
* Use BinaryDictonaryInfo instead of raw pointers.Keisuke Kuroyanagi2013-06-021-4/+5
| | | | | | Bug: 6669677 Change-Id: I9792a872f1609de7c1ba0fc08d916047d6724c0b
* Move some dictionary related implementations to the dictionary directoryKen Wakasa2013-05-311-2/+3
| | | | Change-Id: I6fe71a540ad91ca46755be234abc8894242e2413
* Make DicTraverseSession having suggest options.Keisuke Kuroyanagi2013-05-291-5/+4
| | | | Change-Id: I2b802c06634e5226c763fd838f3fc0918fc4a161
* Passing options to native suggestion method.Keisuke Kuroyanagi2013-05-241-8/+14
| | | | | Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583 Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
* Be careful about the dictionary size in detection methodsJean Chalard2013-05-081-1/+2
| | | | | Bug: 8857618 Change-Id: I29345ec96d53da601571ba73197a6485643a10a7
* Add const_cast to live with host's jni.hTadashi G. Takaoka2013-03-261-13/+21
| | | | | Bug: 7970626 Change-Id: I2fd09e16dd9df36eebca2d737a0b7cc3ddd1c862
* Refactor parameters by naming conventionSatoshi Kataoka2013-03-181-4/+4
| | | | Change-Id: I8bda8075b33f656ecbec08320afcd864b620fe77
* Small cleanupsKen Wakasa2013-01-301-3/+3
| | | | Change-Id: I3e5862a405b4c63616c7ea947cd53c52b5035862
* Remove MAX_WORD_LENGTH_INTERNALKen Wakasa2013-01-151-28/+31
| | | | Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
* Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS ↵Ken Wakasa2013-01-111-4/+11
| | | | | | to MAX_RESULTS Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
* Yet another small cleanupsKen Wakasa2013-01-081-3/+2
| | | | Change-Id: Ie940c4d4d9d85c95e2f04ba23f00a54ba3dc53bf
* Remove unused variablesKen Wakasa2012-11-161-6/+5
| | | | Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
* Use sizeof() more safely.Ken Wakasa2012-11-011-3/+3
| | | | Change-Id: I7cffb4d8da847b483cf4bb482508e3c88c4903be
* Use 32-bit code points for suggestions outputKen Wakasa2012-11-011-30/+26
| | | | | | | 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-7/+5
| | | | | | parameter. Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
* Cosmetic fixes and a bug fix in ↵Ken Wakasa2012-09-041-5/+5
| | | | | | | | UnigramDictionary::testCharGroupForContinuedLikeness(). This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25 Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4
* Address warnings by -Weffc++Ken Wakasa2012-08-241-4/+4
| | | | Change-Id: Icd60f1ed2ace0b975d8785bc8a386c7944846075
* Allow one-character suggestions.Jean Chalard2012-08-171-1/+1
| | | | | Bug: 6906525 Change-Id: I62117653ac1281f825afc4ebb30f7e786902b750
* Cleanup casts.Ken Wakasa2012-08-141-4/+4
| | | | Change-Id: I3bf33ca407cc3bee9f5c4c6f929cdb1421b92c50
* A couple of cleanups. Remove unnecessary casts.Ken Wakasa2012-08-141-17/+16
| | | | Change-Id: Ice530aa83a9a688da35aec408be2a60242699157
* Clean up constructorsKen Wakasa2012-08-131-15/+24
| | | | | | | | | | | 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
* Fix memset() bugsKen Wakasa2012-08-101-4/+4
| | | | Change-Id: Icf4341c0a62e782cf8c2a863408591df4e6f07cb
* Use JNI Region calls also in getSuggestions()Ken Wakasa2012-08-101-40/+65
| | | | Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
* Use more JNI Region callsKen Wakasa2012-08-101-35/+36
| | | | Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
* Use GetStringUTFRegion for filenameKen Wakasa2012-08-091-6/+7
| | | | Change-Id: I2e9ad092ccf4c23c1c6b71916c962994314d37b6
* Pass traverse sessionSatoshi Kataoka2012-08-081-10/+11
| | | | Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
* Header cleanupKen Wakasa2012-08-031-1/+2
| | | | Change-Id: I1aa91708d0de01ca3e84e69ec8d3a3832c386ca8
* Header cleanupKen Wakasa2012-08-011-9/+3
| | | | Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba
* Cleanup headersKen Wakasa2012-07-311-4/+4
| | | | Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3
* Misc cleanupsKen Wakasa2012-07-301-2/+1
| | | | Change-Id: I28308f12c3064299acefc346b72279036c3726a7
* Cosmetic fixes and style fixesKen Wakasa2012-07-251-19/+18
| | | | Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc
* Pass an array to output suggestion types (A119a)Jean Chalard2012-07-121-4/+7
| | | | | | | | This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
* Remove an unused method (A109)Jean Chalard2012-07-121-19/+0
| | | | Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f
* Move an implementation detail to native code (A107)Jean Chalard2012-07-121-4/+11
| | | | | | | | 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
* Remove a useless parameter (A106)Jean Chalard2012-07-121-3/+3
| | | | Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
* Make a constant really constant (A104)Jean Chalard2012-07-121-3/+4
| | | | Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
* Cleanup the dictionary type.Jean Chalard2012-06-271-3/+3
| | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* Change JNI for GestureSatoshi Kataoka2012-06-251-8/+17
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Add a JNI to get the frequencySatoshi Kataoka2012-05-291-3/+3
| | | | | Bug: 4192129 Change-Id: I3f220f5a10114d4eb23956148076cf76220bda0f
* Add missing includes.Ken Wakasa2012-05-161-0/+1
| | | | Change-Id: Ic7199045d0cffb208871f52cc167194013351d32
* Use "float" instead of "double"satok2012-05-161-3/+3
| | | | Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
* Contacts dictionary rebuilds only when contact names have changed.Tom Ouyang2012-05-111-0/+15
| | | | | Bug: 6396600 Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3
* Fetch and pass the bigram position on suggestions.Jean Chalard2012-04-261-6/+8
| | | | | | | This is a cherry-pick of change I2d81742f Bug: 6313806 Change-Id: Ic1190b7980d032bc11b57841bca040d980889b6b
* Pass words as int[] to the native code.Jean Chalard2012-04-231-10/+10
| | | | | | | | | | 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
* Pass the previous word down to native code in getSuggestionsJean Chalard2012-04-171-3/+9
| | | | Change-Id: I477b631d81ef58461e44954f3ae5fd895928bb97
* Just cosmetic changes in jni codeKen Wakasa2012-04-161-22/+10
| | | | Change-Id: I8628131b5a7ccdee4c158e891002c8b86623b0cd
* Replace the flags in getSuggestions with a boolean.Jean Chalard2012-04-061-3/+3
| | | | | | | | Change-Id: I0ec44df1979cb1dc21017ea290d2151a2af0e7cd Conflicts: java/src/com/android/inputmethod/latin/Suggest.java