aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add DynamicShortcutListPolicy::copyAllShortcuts().Keisuke Kuroyanagi2013-09-031-2/+25
| | | | | Bug: 6669677 Change-Id: I74959fe3ca59d77ba0279c75f4d72db13735322f
* Implement reading side of updating methods of dpt.Keisuke Kuroyanagi2013-09-035-9/+192
| | | | | | | | | Reading methods are used to determine the position to be updated in dynamic patricia trie. Bug: 6669677 Change-Id: Ie9acdcdbc73aa3fd4294c97aa39451a96b165ed9
* 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-029-8/+12
| | | | | | 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-305-127/+350
| | | | | | | | | | 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-224-3/+103
| | | | | | 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-205-15/+15
| | | | 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-1610-174/+168
| | | | | Bug: 6669677 Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77
* Merge "Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer.""Ken Wakasa2013-08-1510-168/+174
|\
| * Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."Ken Wakasa2013-08-1510-168/+174
| | | | | | | | | | | | | | | | 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-155-15/+15
| | | | | | | | | | | | BinaryDictDecoder. Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
* | Merge "Remove BinaryDictionaryInfo and introduce MmapedBuffer."Keisuke Kuroyanagi2013-08-1510-174/+168
|\|
| * Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi2013-08-1510-174/+168
| | | | | | | | | | | | Bug: 6669677 Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c
* | Add an initial JNI interface to dicttool.Jean Chalard2013-08-154-0/+82
| | | | | | | | | | Bug: 10100269 Change-Id: I883992c2033e7d9e7c754c0bf653767728b221b6
* | Merge "Revert "[Refactor] Divide BinaryDictInputOutput into ↵Ken Wakasa2013-08-151-1/+1
|\ \ | | | | | | | | | BinaryDictInputUtils and BinaryDictOutputUtils.""
| * | Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils ↵Ken Wakasa2013-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | and BinaryDictOutputUtils." This reverts commit 4c63d0614e7ed7aea4bcbab3a17090d841661d92. Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
* | | Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and ↵Ken Wakasa2013-08-151-1/+1
|\| | | |/ |/| | | BinaryDictOutputUtils."
| * [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and ↵Yuichiro Hanada2013-08-151-1/+1
| | | | | | | | | | | | BinaryDictOutputUtils. Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
* | Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().Keisuke Kuroyanagi2013-08-151-2/+1
| | | | | | | | Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
* | Merge "Make dictionary structure policy have updating methods."Keisuke Kuroyanagi2013-08-158-8/+64
|\ \ | |/ |/|
| * Make dictionary structure policy have updating methods.Keisuke Kuroyanagi2013-08-148-8/+64
| | | | | | | | | | | | 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-1415-38/+32
|/ | | | | Bug: 6669677 Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4
* Move files for headerPolicy to policyimpl.Keisuke Kuroyanagi2013-08-137-9/+7
| | | | | 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-124-5/+3
| | | | | Bug: 6669677 Change-Id: If93916f4c3d568119ff6b83e22e95c7086423d2f
* Move methods for Shortcut reading to policyimpl.Keisuke Kuroyanagi2013-08-124-4/+5
| | | | | 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-1210-53/+161
| | | | | 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-0918-195/+202
| | | | | | | | 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