aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add buffer writing methods.Keisuke Kuroyanagi2013-09-022-1/+111
| | | | | | Bug: 6669677 Change-Id: Ic3345e36a7842b77598c21de9b54f7c2863df38f
* Change name of extendable_buffer.h to buffer_with_... .Keisuke Kuroyanagi2013-09-028-7/+11
| | | | | | Bug: 6669677 Change-Id: Id2bd79d8f86c690d5c16d1ab726c5f6fa28ba5e3
* Consolidating dict buffers into BufferWithExtendableBuffer.Keisuke Kuroyanagi2013-09-0210-125/+118
| | | | | | Bug: 6669677 Change-Id: Ied58c123b68199bddb91293ff5cf5d96691e1f6b
* Introduce DynamicPatriciaTrieReadingHelper.Keisuke Kuroyanagi2013-08-304-127/+349
| | | | | | | | | | It supports iterating nodes and dealing with additional buffer. It counts nodes and node arrays to avoid infinite loop. Bug: 6669677 Change-Id: I322e7263c0535e098635a1e5de098838de09467d
* Fix children position reading for dynamic patricia trie.Keisuke Kuroyanagi2013-08-293-10/+12
| | | | | Bug: 6669677 Change-Id: I68ad68361676f952bd25903c253c22617d3ce361
* Use extendable buffer for reading node info.Keisuke Kuroyanagi2013-08-274-27/+45
| | | | | Bug: 6669677 Change-Id: I78ba80100e3a38f2b49e43db1e6aef4e56ed062c
* Use extendable buffer for reading bigram and shortcut.Keisuke Kuroyanagi2013-08-274-2/+180
| | | | | | Bug: 6669677 Change-Id: I4017c0ecc5d8baff1b16ff370d3eec85de9a0f9f
* Rename CharGroup to PtNode in native code.Keisuke Kuroyanagi2013-08-264-76/+76
| | | | | Bug: 10233675 Change-Id: I5a4215cc79b37bfd317e60101e06b2ab9c332653
* Fix: reading uninitialized area.Keisuke Kuroyanagi2013-08-231-4/+6
| | | | | Bug: 10402083 Change-Id: I083beea29fe563b1e7739653d756b77820753e3f
* Fix the autocorrection normalized score calculationSatoshi Kataoka2013-08-231-2/+5
| | | | | Bug: 10441240 Change-Id: I256021dc55481960d6a605046daa17b1a2d55b95
* Introduce ExtendableBuffer for dynamic update.Keisuke Kuroyanagi2013-08-223-1/+99
| | | | | | Bug: 6669677 Change-Id: I6343c348334c0dace8b12a71eb992d6f040e8c95
* Fix native crash by caused wrong munmap.Keisuke Kuroyanagi2013-08-214-34/+37
| | | | | Bug: 10402083 Change-Id: I5aa2cecd20cd3202c2326b1cbb6758257afd6d5d
* Rename BinaryDictDecoder to Ver3DictDecoder.Yuichiro Hanada2013-08-201-1/+1
| | | | Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
* Fix possible SIGSEGV.Keisuke Kuroyanagi2013-08-192-3/+8
| | | | Change-Id: I6008c0457a8da9b90434a3b96a51da1487948f1b
* Move methods in BinaryFormat to PatriciaTriePolicy.Keisuke Kuroyanagi2013-08-162-475/+260
| | | | | | Bug: 6669677 Change-Id: Ic9bc03a9d8ec789281d83d4b9e58042a083c3ba1
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi2013-08-169-115/+159
| | | | | Bug: 6669677 Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77
* Merge "Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer.""Ken Wakasa2013-08-159-159/+115
|\
| * Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."Ken Wakasa2013-08-159-159/+115
| | | | | | | | | | | | | | | | 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
* | [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and ↵Yuichiro Hanada2013-08-151-1/+1
|/ | | | | | BinaryDictDecoder. Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi2013-08-159-115/+159
| | | | | | Bug: 6669677 Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c
* Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().Keisuke Kuroyanagi2013-08-151-2/+1
| | | | Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
* Merge "Make dictionary structure policy have updating methods."Keisuke Kuroyanagi2013-08-157-8/+63
|\
| * Make dictionary structure policy have updating methods.Keisuke Kuroyanagi2013-08-147-8/+63
| | | | | | | | | | | | Bug: 6669677 Change-Id: I6aa8e377c6347e0db4b7a82293b316ec64d87bec
* | Fix a comment.Yuichiro Hanada2013-08-151-1/+1
| | | | | | | | Change-Id: I5d09fd2474c7a0e6f42b6c7c6e717692636fbc6d
* | Remove NodeFilter.Keisuke Kuroyanagi2013-08-149-134/+40
| | | | | | | | Change-Id: I27d905dd3581cbb0e67d071dba04066aaa2ba22e
* | Fix ShortcutListPolicy::getStartPos().Keisuke Kuroyanagi2013-08-141-0/+3
| | | | | | | | | | Bug: 6669677 Change-Id: I1fa9967fc6aa0956986954c8ea1f990a47c15764
* | Move utils for reading dict to policyimpl.Keisuke Kuroyanagi2013-08-1413-33/+27
|/ | | | | Bug: 6669677 Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4
* Move files for headerPolicy to policyimpl.Keisuke Kuroyanagi2013-08-136-7/+5
| | | | | Bug: 6669677 Change-Id: Ic90feb9c3a9a7b698e588c8ad25c765a246706a8
* Move header reading methods to policyimpl.Keisuke Kuroyanagi2013-08-1315-132/+174
| | | | | Bug: 6669677 Change-Id: I24cb32f28cf355485b431cc56d877000e3f946d4
* Use DictionaryStructureWithBufferPolicy for traversing.Keisuke Kuroyanagi2013-08-1319-127/+126
| | | | | Bug: 6669677 Change-Id: If7bc038278b7217ed5ba4cb77b1238b2dad0001b
* Merge "Remove TerminalAttributes."Keisuke Kuroyanagi2013-08-134-88/+62
|\
| * Remove TerminalAttributes.Keisuke Kuroyanagi2013-08-124-88/+62
| | | | | | | | | | | | | | | | Use BinaryDictionaryShortcutIterator instead of TerminalAttributes. Bug: 6669677 Change-Id: Ib7176e3b302ba383344cc6fcc037e23568c702a8
* | Merge "Quit using BinaryDictionaryInfo in header reading methods."Keisuke Kuroyanagi2013-08-137-82/+40
|\ \ | |/ |/|
| * Quit using BinaryDictionaryInfo in header reading methods.Keisuke Kuroyanagi2013-08-137-82/+40
| | | | | | | | | | Bug: 6669677 Change-Id: I5198ae28fcc271dd6ab3c33df940a2d15513a8c8
* | Cleanup ShortcutListReadingUtils.Keisuke Kuroyanagi2013-08-123-63/+26
|/ | | | | Bug: 6669677 Change-Id: Ifd61022665c89f492933dde9811ec644f7e1f5c4
* Change name of shortcut reading util class.Keisuke Kuroyanagi2013-08-123-4/+2
| | | | | Bug: 6669677 Change-Id: If93916f4c3d568119ff6b83e22e95c7086423d2f
* Move methods for Shortcut reading to policyimpl.Keisuke Kuroyanagi2013-08-123-3/+4
| | | | | Bug: 6669677 Change-Id: If0a565de015564f803429f4fbf21b05687f80553
* Move shortcut iteration methods to poilcy.Keisuke Kuroyanagi2013-08-1213-90/+203
| | | | | Bug: 6669677 Change-Id: I6e535ce7962de8e153a52fd1085fe961649ffe16
* Move bigram reading methods to BigramListReadingUtils.Keisuke Kuroyanagi2013-08-129-53/+160
| | | | | Bug: 6669677 Change-Id: Icb024a8af577323b4dcf74f4c4054cfb8b57a943
* Move bigrams iteration methods to policy.Keisuke Kuroyanagi2013-08-0916-77/+190
| | | | | | | To support various bigram format. Bug: 6669677 Change-Id: Ifc8c1a855b03cd5a39d97a6e10872ef8ef76475b
* Make DictionaryStructurePolicy have buffer info.Keisuke Kuroyanagi2013-08-0917-195/+201
| | | | | | | | To support various format dictionary, extendable buffers or multiple files. Bug: 6669677 Change-Id: I203a5a4adc049a6322cfba4eacb4cb6715f8dfc2
* Fix parent position reading for ver3 dict.Keisuke Kuroyanagi2013-08-083-4/+5
| | | | | Bug: 6669677 Change-Id: Ia55d4ecb43c7d37b9bc466b848d5142bc13cd823
* Support ver3 dict in native code.Keisuke Kuroyanagi2013-08-081-2/+1
| | | | | Bug: 6669677 Change-Id: Iafc3287f1f87588a6296593d6b43ea4464c8f553
* Implement getTerminalNodePositionOfWord for ver3 dict.Keisuke Kuroynagi2013-08-073-5/+100
| | | | | | Bug: 6669677 Change-Id: Ib9f88d23e6502b8281921ae2f1e47f930b16972f
* Implement getCodePointsAndProbabilityAnd... for ver3 dicts.Keisuke Kuroynagi2013-08-071-3/+40
| | | | | Bug: 6669677 Change-Id: I5c3b53d015496e11cb6c1f19938b8ee8a4c0f983
* Implement a part of ver 3 dictionary reading methods.Keisuke Kuroynagi2013-08-063-7/+254
| | | | | Bug: 6669677 Change-Id: I83c159838ad99b2093907b9de7df6cb7a97b4165
* Merge "Remove checkFirstCharacter from BigramDictionary."Keisuke Kuroynagi2013-08-054-54/+22
|\
| * Remove checkFirstCharacter from BigramDictionary.Keisuke Kuroynagi2013-07-314-54/+22
| | | | | | | | | | Bug: 10028452 Change-Id: I27b147e83b312d73e975a0b2bc8074b33906e56e
* | DynamicPatriciaTrieReadingUtils for version 3 dictionary.Keisuke Kuroynagi2013-08-012-0/+110
| | | | | | | | | | Bug: 6669677 Change-Id: I7105258a00159a5ddda7ff520c490c4ac9fa7902
* | Give PatriciaTrieReadingUtils methods for reading nodes.Keisuke Kuroynagi2013-08-018-112/+304
| | | | | | | | | | | | | | The remaining methods in BinaryFormat will be removed. Bug: 6669677 Change-Id: I866f828d69a600c0ac03b68d71b1f6ee2ce4dd36