aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add BinaryDictionary.getBigramProbabilityNative().•••Bug: 10197478 Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3 Keisuke Kuroyanagi2013-09-181-6/+22
* Prepare dictionary saving in native code.•••Bug: 6669677 Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a Keisuke Kuroyanagi2013-09-171-2/+45
* [AC4] Add native methods necessary for auto-commit•••Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d Jean Chalard2013-09-131-2/+3
* Move a flag about switching dynamic update to java.•••Bug: 6669677 Change-Id: I6aa99cae4a227f9202179c2873d13473a773e024 Keisuke Kuroyanagi2013-09-101-0/+5
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.•••Bug: 6669677 Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77 Keisuke Kuroyanagi2013-08-161-59/+9
* Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."•••This reverts commit d14ffcfcbc2e4f5829f05531613b30750adebb32. This broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=a8a62bd0-3aab-4520-ae64-53f9652ef64b&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS Change-Id: I1eae460e09808513eacefd523609330819d73d16 Ken Wakasa2013-08-151-9/+59
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.•••Bug: 6669677 Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c Keisuke Kuroyanagi2013-08-151-59/+9
* Merge "Make dictionary structure policy have updating methods."Keisuke Kuroyanagi2013-08-151-0/+1
|\
| * Make dictionary structure policy have updating methods.•••Bug: 6669677 Change-Id: I6aa8e377c6347e0db4b7a82293b316ec64d87bec Keisuke Kuroyanagi2013-08-141-0/+1
* | Move utils for reading dict to policyimpl.•••Bug: 6669677 Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4 Keisuke Kuroyanagi2013-08-141-3/+3
|/
* Remove checkFirstCharacter from BigramDictionary.•••Bug: 10028452 Change-Id: I27b147e83b312d73e975a0b2bc8074b33906e56e Keisuke Kuroynagi2013-07-311-1/+1
* Return NOT_A_PROBABILITY in getProbability for inalid dictionary.•••Bug: 9682742 Change-Id: Ifad4b9811bb5e1a94aed59eba7aedcdb6da5cf9c Keisuke Kuroynagi2013-07-031-1/+1
* Dump binary dictionary information when opening•••Bug: 9459517 Change-Id: I122583e734936ae0284e1c7500c6c9242bc7973b Jean Chalard2013-07-011-2/+2
* Fix class names•••Change-Id: Ib3e15bdf46585976aa5b42132805754fc2e2908b Ken Wakasa2013-06-261-27/+26
* Add jni methods for dynamically handling a dictionary.•••Bug: 6669677 Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47 Keisuke Kuroynagi2013-06-261-13/+67
* Allow mmapping dictionary file in writable mode in openNative.•••Bug: 6669677 Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8 Keisuke Kuroynagi2013-06-251-5/+9
* Move file and mmap information form Dictionary to BinaryDictionaryInfo.•••Bug: 6669677 Change-Id: I05d435e0884430f8abbbed6ea2df775005ee8622 Keisuke Kuroynagi2013-06-251-10/+13
* Remove unused methods.•••Bug: 8550444 Change-Id: Ie627084143846407ca36df82c2a7f904a0e6f49c Keisuke Kuroynagi2013-06-111-3/+4
* Introduce BinaryDictionaryHeader to access binary dictionary header.•••BinaryDictionaryHeader abstracts header structure and access header information via only its instance. Bug: 6669677 Change-Id: Ib5ab0e8fef12265ddabc1d0165548b69953bba6a Keisuke Kuroynagi2013-06-111-1/+1
* 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-75/+39
* Move obsolete files to obsolete dir 2•••Bug: 8550444 Change-Id: Ia83796d696e04f51adb39867dfd21d1ac993b63c Satoshi Kataoka2013-06-031-1/+1
* Purge DicTraverseWrapper•••bug: 8550444 Change-Id: Iad017e66ac579c6727b9f60ad9cda64e478200e5 Satoshi Kataoka2013-06-031-1/+2
* Move suggest_options.h to suggest/core•••Change-Id: Ie95872a4c90ee3089183c1ebafb67243bd2688a4 Ken Wakasa2013-06-031-1/+1
* Use BinaryDictonaryInfo instead of raw pointers.•••Bug: 6669677 Change-Id: I9792a872f1609de7c1ba0fc08d916047d6724c0b Keisuke Kuroyanagi2013-06-021-4/+5
* Move some dictionary related implementations to the dictionary directory•••Change-Id: I6fe71a540ad91ca46755be234abc8894242e2413 Ken Wakasa2013-05-311-2/+3
* Make DicTraverseSession having suggest options.•••Change-Id: I2b802c06634e5226c763fd838f3fc0918fc4a161 Keisuke Kuroyanagi2013-05-291-5/+4
* Passing options to native suggestion method.•••Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583 Signed-off-by: Keisuke Kuroyanagi <ksk@google.com> Keisuke Kuroyanagi2013-05-241-8/+14
* Be careful about the dictionary size in detection methods•••Bug: 8857618 Change-Id: I29345ec96d53da601571ba73197a6485643a10a7 Jean Chalard2013-05-081-1/+2
* 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