aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Extend jni interface for dictionary migration.Keisuke Kuroyanagi2014-05-081-0/+15
| | | | | | Bug: 13406708 Change-Id: Iadad6df296467d0e5b631fba4a409d53c8a5a6f2
* Implement latinime_BinaryDictionary_createOnMemory().Keisuke Kuroyanagi2014-04-221-3/+24
| | | | | Bug: 14166482 Change-Id: If7ec3345ab34edcd6bc5cef9e72580ced894a0e3
* Add jni interface to use on memory dictionary.Keisuke Kuroyanagi2014-04-211-0/+12
| | | | | | Bug; 14166482 Change-Id: I33ab08dad1e39aa7617d391f7eb2561d6f2504bb
* Make addUnigramWord use UnigramProperty.Keisuke Kuroyanagi2014-04-141-18/+25
| | | | | Bug: 13406708 Change-Id: I10c108dd7047fe230c60495f13800f32fdc46d0d
* Separate unigram/bigram property from WordProperty.Keisuke Kuroyanagi2014-04-081-1/+1
| | | | | | Bug: 13406708 Change-Id: I48e9fccedd9dcdc1a35ffe027745b58966a83315
* Use same language weight for all dictionaries.Keisuke Kuroyanagi2014-04-031-3/+5
| | | | | Bug: 8187060 Change-Id: Ib9d8a8aed2c141137c1bb3c748a89fb8216293e7
* Extend jni interface to input/output languageWeight.Keisuke Kuroyanagi2014-04-031-2/+3
| | | | | Bug: 8187060 Change-Id: Ic55d328b87f258f4d65fff207233789a53b2b0ff
* Use SuggestionResults to get suggestion.Keisuke Kuroyanagi2014-03-271-30/+13
| | | | | | Bug: 8187060 Bug: 13333066 Change-Id: I435096ecf8422453f9b167adb0ca3b9c8a840018
* Remove unused partial commit.Keisuke Kuroyanagi2014-03-201-3/+3
| | | | Change-Id: Ia9341a5cb24947d93056810890d94c1f66481d8c
* Introduce SuggestionResults and use it for predictions.Keisuke Kuroyanagi2014-03-071-23/+33
| | | | | | Bug: 8187060 Bug: 13333066 Change-Id: I1ead897024508b7e40fbd93af7d14bfe74b93826
* Use unique_ptr.Keisuke Kuroyanagi2014-03-071-4/+5
| | | | Change-Id: Id92a5b07da4f7f95e2cd293ce8dc1a5f979b7853
* Use nullptr instead of 0 for pointers.Keisuke Kuroyanagi2014-03-071-1/+1
| | | | Change-Id: Ic9425de07b896f940ca11c51968c637ebb897514
* Separate utility methods from BinaryDictionary in native code.Keisuke Kuroyanagi2014-03-051-101/+0
| | | | | Bug: 8187060 Change-Id: I099de557d2aaee95c6b809450108139550e9b0aa
* Remove corrupted ver4 dictionaries.Keisuke Kuroyanagi2014-02-211-0/+13
| | | | | Bug: 12916055 Change-Id: I2c390ab1dc483915691b47a605772cbc2dfeaf09
* Fix wrong Java method call functionKen Wakasa2014-02-181-2/+2
| | | | | | bug: 13072808 Change-Id: I189fda85b59ce40e3657bfbbcc313e7e1225a0da
* Implement getHeaderInfoNative.Keisuke Kuroyanagi2014-02-061-6/+32
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
* [HD04] Make the locale mandatory.Jean Chalard2014-02-051-4/+8
| | | | | Bug: 11281748 Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
* Add jni interface to get header information from native.Keisuke Kuroyanagi2014-02-041-0/+16
| | | | | Bug: 12810574 Change-Id: I2508483bcb3157f04cc1fe13f24f864d301f1f28
* Add a jni method to iterate words in a dictionary.Keisuke Kuroyanagi2014-02-031-0/+25
| | | | | Bug: 12810574 Change-Id: I87b13559765f0262dfd06c2ba40d43af6437ea7f
* Extend jni interface to get bigrams in WordProperty.Keisuke Kuroyanagi2014-01-311-5/+7
| | | | | Bug: 12810574 Change-Id: Ia4b88d02ea8790a5c47d32376cc0b84c3e071ddd
* Rename UnigramProperty to WordProperty.Keisuke Kuroyanagi2014-01-311-7/+6
| | | | | Bug: 12810574 Change-Id: If5ddd803948aaf6e491ddcbaa5436fb3af3f7257
* Add a dedicated method to control time in native code.Keisuke Kuroyanagi2014-01-151-0/+17
| | | | | Bug: 12443085 Change-Id: I41a5cf6c895cb59e54af98b40efded36afcd3247
* Fix native method signatureTadashi G. Takaoka2014-01-151-1/+1
| | | | Change-Id: Ia2d566f162f746c6b2b2b874f7278d86abd9e839
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-10/+136
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi2013-10-031-1/+0
| | | | | | | Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
* Separate "GC" and "GC with decay".Keisuke Kuroyanagi2013-10-011-2/+1
| | | | | Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467
* Create the wiring for auto-commit confidence computation.Jean Chalard2013-10-011-2/+10
| | | | | Bug: 9059617 Change-Id: I7e4e05ffa8c68cfebbe362a977fd176555cad12a
* Prepare dictionary decay.Keisuke Kuroyanagi2013-09-301-3/+3
| | | | | Bug: 6669677 Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
* Add unigram/bigram counting.Keisuke Kuroyanagi2013-09-271-0/+23
| | | | | Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
* Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-261-0/+48
| | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* Add BinaryDictionary.getBigramProbabilityNative().Keisuke Kuroyanagi2013-09-181-6/+22
| | | | | Bug: 10197478 Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
* Prepare dictionary saving in native code.Keisuke Kuroyanagi2013-09-171-2/+45
| | | | | | Bug: 6669677 Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
* [AC4] Add native methods necessary for auto-commitJean Chalard2013-09-131-2/+3
| | | | | Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
* Move a flag about switching dynamic update to java.Keisuke Kuroyanagi2013-09-101-0/+5
| | | | | | Bug: 6669677 Change-Id: I6aa99cae4a227f9202179c2873d13473a773e024
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi2013-08-161-59/+9
| | | | | Bug: 6669677 Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77
* Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."Ken Wakasa2013-08-151-9/+59
| | | | | | | | 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
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi2013-08-151-59/+9
| | | | | | Bug: 6669677 Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c
* Merge "Make dictionary structure policy have updating methods."Keisuke Kuroyanagi2013-08-151-0/+1
|\
| * Make dictionary structure policy have updating methods.Keisuke Kuroyanagi2013-08-141-0/+1
| | | | | | | | | | | | Bug: 6669677 Change-Id: I6aa8e377c6347e0db4b7a82293b316ec64d87bec
* | Move utils for reading dict to policyimpl.Keisuke Kuroyanagi2013-08-141-3/+3
|/ | | | | Bug: 6669677 Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4
* Remove checkFirstCharacter from BigramDictionary.Keisuke Kuroynagi2013-07-311-1/+1
| | | | | Bug: 10028452 Change-Id: I27b147e83b312d73e975a0b2bc8074b33906e56e
* Return NOT_A_PROBABILITY in getProbability for inalid dictionary.Keisuke Kuroynagi2013-07-031-1/+1
| | | | | Bug: 9682742 Change-Id: Ifad4b9811bb5e1a94aed59eba7aedcdb6da5cf9c
* Dump binary dictionary information when openingJean Chalard2013-07-011-2/+2
| | | | | Bug: 9459517 Change-Id: I122583e734936ae0284e1c7500c6c9242bc7973b
* Fix class namesKen Wakasa2013-06-261-27/+26
| | | | Change-Id: Ib3e15bdf46585976aa5b42132805754fc2e2908b
* Add jni methods for dynamically handling a dictionary.Keisuke Kuroynagi2013-06-261-13/+67
| | | | | Bug: 6669677 Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
* Allow mmapping dictionary file in writable mode in openNative.Keisuke Kuroynagi2013-06-251-5/+9
| | | | | Bug: 6669677 Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
* Move file and mmap information form Dictionary to BinaryDictionaryInfo.Keisuke Kuroynagi2013-06-251-10/+13
| | | | | Bug: 6669677 Change-Id: I05d435e0884430f8abbbed6ea2df775005ee8622
* Remove unused methods.Keisuke Kuroynagi2013-06-111-3/+4
| | | | | | Bug: 8550444 Change-Id: Ie627084143846407ca36df82c2a7f904a0e6f49c
* Introduce BinaryDictionaryHeader to access binary dictionary header.Keisuke Kuroynagi2013-06-111-1/+1
| | | | | | | | BinaryDictionaryHeader abstracts header structure and access header information via only its instance. Bug: 6669677 Change-Id: Ib5ab0e8fef12265ddabc1d0165548b69953bba6a
* Cleanups in JNI related codeKen Wakasa2013-06-041-75/+39
| | | | | | | | | | 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