aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement latinime_BinaryDictionary_createOnMemory().Keisuke Kuroyanagi2014-04-226-25/+73
| | | | | Bug: 14166482 Change-Id: If7ec3345ab34edcd6bc5cef9e72580ced894a0e3
* Merge "Separate JniDataUtils::constructAttributeMap()."Keisuke Kuroyanagi2014-04-222-23/+33
|\
| * Separate JniDataUtils::constructAttributeMap().Keisuke Kuroyanagi2014-04-212-23/+33
| | | | | | | | | | Bug: 14166482 Change-Id: Ic2dc407231743ea668fe0ab8869eb8a7f8b9625f
* | Merge "Add jni interface to use on memory dictionary."Keisuke Kuroyanagi2014-04-221-0/+12
|\|
| * Add jni interface to use on memory dictionary.Keisuke Kuroyanagi2014-04-211-0/+12
| | | | | | | | | | | | Bug; 14166482 Change-Id: I33ab08dad1e39aa7617d391f7eb2561d6f2504bb
* | Revert "Revert "Use mclinker""Ken Wakasa2014-04-201-1/+1
| | | | | | | | | | | | This reverts commit de8f85a29d71e143c6b9fceb3734921039028ee5. Change-Id: Ib6170f3dd898bad2f041b72333b0e390e392215c
* | Revert "Use mclinker"Ken Wakasa2014-04-201-1/+1
| | | | | | | | | | | | This reverts commit 47b4321ed5d09cb01017a2652c799b8b8c445fb9. Change-Id: I90f5b6d915837fba036d782e5fc9750b4bba6891
* | Use mclinkerKen Wakasa2014-04-191-1/+1
|/ | | | Change-Id: Ib34f66c106f357cd82b1577566e00f490cee2c5a
* Pass max trie structure size to on memory Ver4DictBuffers.Keisuke Kuroyanagi2014-04-184-8/+9
| | | | | | | Bug: 14166482 Bug: 14161647 Change-Id: I3b0dd192d7a81c3809f1873bb66ef8fe637f8af0
* Merge "Make addUnigramWord use UnigramProperty."Keisuke Kuroyanagi2014-04-148-65/+104
|\
| * Make addUnigramWord use UnigramProperty.Keisuke Kuroyanagi2014-04-148-65/+104
| | | | | | | | | | Bug: 13406708 Change-Id: I10c108dd7047fe230c60495f13800f32fdc46d0d
* | s/hash_map_compat/unordered_map/Ken Wakasa2014-04-1113-66/+41
|/ | | | Change-Id: Icce5f9a12b04bdd7540c52750d303a585d71f28a
* Merge "Increase terminal cache size for gesture."Keisuke Kuroyanagi2014-04-093-1/+6
|\
| * Increase terminal cache size for gesture.Keisuke Kuroyanagi2014-04-093-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: (0) 670.00 (10.52%) (1) 5530.00 (86.81%) (2) 120.00 (1.88%) Total 6370.00 (sum of others 6320.00) After: (0) 730.00 (11.06%) (1) 5750.00 (87.12%) (2) 100.00 (1.52%) Total 6600.00 (sum of others 6580.00) Bug: 13773693 Bug: 10701902 Bug: 9505397 Change-Id: Ie53640994180a7acabe05da544ab2166403e2394
* | Merge "Quit limiting gesture search space by distance."Keisuke Kuroyanagi2014-04-096-59/+34
|\|
| * Quit limiting gesture search space by distance.Keisuke Kuroyanagi2014-04-096-59/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: (0) 470.00 (8.25%) (1) 5160.00 (90.53%) (2) 50.00 (0.88%) (66) 10.00 (0.18%) Total 5700.00 (sum of others 5690.00) After: (0) 670.00 (10.52%) (1) 5530.00 (86.81%) (2) 120.00 (1.88%) Total 6370.00 (sum of others 6320.00) Bug: 13773693 Bug: 10701902 Bug: 9505397 Change-Id: Ie168ac4ae0ca0e954512b08e3cc0f6399a3c163d
* | Use C++11 random libraryYohei Yukawa2014-04-091-11/+30
| | | | | | | | | | | | | | srand() and its friends are supposed to be discouraged since C++14. This CL replaces srand() with new C++11 random libraries. Change-Id: If2c25158c88c674cd3fd6d891559a9e32283e19e
* | Add BloomFilterTest.Keisuke Kuroyanagi2014-04-092-0/+62
|/ | | | Change-Id: If97b9e9cc3bbaa4c7877991c11d7935626268ca3
* Use 2D normal distribution for gesture.Keisuke Kuroyanagi2014-04-098-77/+184
| | | | | | | | Bug: 13799846 Bug: 10701902 Bug: 9505397 Change-Id: I6c3f84f035f2310f2f7dfec4432ebdb6e50d5df0
* Merge "Use bitset for BloomFilter."Keisuke Kuroyanagi2014-04-093-48/+17
|\
| * Use bitset for BloomFilter.Keisuke Kuroyanagi2014-04-093-48/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: (0) 660.00 (1.43%) (1) 45320.00 (98.18%) (2) 80.00 (0.17%) Total 46160.00 (sum of others 46060.00) After: (0) 620.00 (1.34%) (1) 45310.00 (98.05%) (2) 130.00 (0.28%) Total 46210.00 (sum of others 46060.00) Change-Id: I936b639c50e15208aee999a929b33983c6caa59d
* | Make NELEMS type-safeYohei Yukawa2014-04-093-1/+42
| | | | | | | | Change-Id: I867271665b3c595dc40ac63e93e68c87dc213d08
* | Separate unigram/bigram property from WordProperty.Keisuke Kuroyanagi2014-04-0811-155/+261
|/ | | | | | Bug: 13406708 Change-Id: I48e9fccedd9dcdc1a35ffe027745b58966a83315
* s/stdint.h/cstdint/Ken Wakasa2014-04-0735-42/+24
| | | | | | | | | Somehow, we were not able to use cstdint gcc target build. That's no longer the case with Clang. Removed unnecessary header inclusions too. Change-Id: Ic83a4adf696f1d5ec7a9809253f3c95804e622e1
* Remove redundant LOCAL_IS_HOST_MODULE assignmentsKen Wakasa2014-04-041-4/+0
| | | | | | Also, remove irrelevant LOCAL_NDK_STL_VARIANT for host modules. Change-Id: I45e916c11f7c1f9b13956f01274a82ee7de1f558
* Separate NormalDistribution from ProximityInfoUtils.Keisuke Kuroyanagi2014-04-043-24/+52
| | | | | Bug: 13773693 Change-Id: I9e835cc92e16f8ae0e0492af0715d0ef5cd84a35
* Merge "Remove unused code."Keisuke Kuroyanagi2014-04-036-29/+0
|\
| * Remove unused code.Keisuke Kuroyanagi2014-04-036-29/+0
| | | | | | | | | | Bug: 13773693 Change-Id: Ic9d7f81b0eed40e945b04a91fd97ba40fa1cd262
* | Exclude liblatinime_host_unittests from Mac buildKen Wakasa2014-04-031-0/+7
|/ | | | Change-Id: I786c0ad92ba7ce95182e617686c6466a8b2f400e
* Use same language weight for all dictionaries.Keisuke Kuroyanagi2014-04-0311-21/+40
| | | | | Bug: 8187060 Change-Id: Ib9d8a8aed2c141137c1bb3c748a89fb8216293e7
* Merge "Extend jni interface to input/output languageWeight."Keisuke Kuroyanagi2014-04-021-2/+3
|\
| * Extend jni interface to input/output languageWeight.Keisuke Kuroyanagi2014-04-031-2/+3
| | | | | | | | | | Bug: 8187060 Change-Id: Ic55d328b87f258f4d65fff207233789a53b2b0ff
* | Do not call exit 1 when loaded with source commandYohei Yukawa2014-04-021-1/+1
| | | | | | | | | | BUG: 13754552 Change-Id: I3d5e4c0786547521325405100c175dd1b21754df
* | Add a script to run native testsYohei Yukawa2014-04-021-0/+29
| | | | | | | | | | | | | | | | This script saves your time to remember how to build and run native unittests for LatinIME. BUG: 13754552 Change-Id: I98398648f0eb0a0100a8729df26f71d53b54c5e3
* | Merge "Add an initial native test on host environment"Yohei Yukawa2014-04-025-1/+99
|\ \
| * | Add an initial native test on host environmentYohei Yukawa2014-04-025-1/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds an initial native test that runs on host environment, from which we can extend the coverage of native test. BUG: 13754552 Change-Id: I0af9d1b5dd049c83b955f5b05add4b39f3cfcc6c
* | | Change wrongly used "lookahead" to "completion".Keisuke Kuroyanagi2014-04-023-6/+6
| |/ |/| | | | | Change-Id: I111cf59d0d24fa869217788c314fffa94ee9f9f9
* | Merge "Parameter tuning for typing."Keisuke Kuroyanagi2014-04-011-6/+6
|\ \ | |/ |/|
| * Parameter tuning for typing.Keisuke Kuroyanagi2014-04-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accidently -> accidentally (top suggest) convienent -> convenient (top suggest) dissapear -> disappear (top suggest) Execution time: +31% Before: (0) 610.00 (1.66%) (1) 35820.00 (97.66%) (2) 130.00 (0.35%) Total 36680.00 (sum of others 36560.00) After: (0) 820.00 (1.69%) (1) 47200.00 (97.50%) (2) 210.00 (0.43%) Total 48410.00 (sum of others 48230.00) Bug: 13588483 Bug: 13456384 Bug: 9816611 Change-Id: Ia17491e135a63aaca6e980c3a59bd829441dac40
* | Remove -std=c++11 as it is enabled by default nowKen Wakasa2014-04-011-3/+0
| | | | | | | | Change-Id: I53edb2f3d281d78c0301474d65e60f86cc6ff363
* | Merge "Remove useless methods from DicNode."Keisuke Kuroyanagi2014-04-011-35/+8
|\ \
| * | Remove useless methods from DicNode.Keisuke Kuroyanagi2014-04-011-35/+8
| | | | | | | | | | | | Change-Id: I6ea5eb7e848dbce0f0d468160c16e5da76b23b20
* | | Merge "Separate DicNodePool from DicNodePriorityQueue."Keisuke Kuroyanagi2014-04-016-182/+128
|\| | | |/ |/|
| * Separate DicNodePool from DicNodePriorityQueue.Keisuke Kuroyanagi2014-04-016-182/+128
| | | | | | | | Change-Id: Ie500a4185792c2ffa0f5185ea5919626fe31c6fe
* | Split SuggestionsOutputUtils::outputSuggestions.Keisuke Kuroyanagi2014-03-282-74/+86
| | | | | | | | | | Bug: 13333066 Change-Id: Ie5e513dacdc5502e7263ddf709824bbd6bc6b74a
* | Remove mPartiallyCommited.Keisuke Kuroyanagi2014-03-283-13/+4
|/ | | | | | Bug: 13333066 Change-Id: I4e3aa31aa501866c23cc4b86093b866306161bfd
* Cleanup DicNodePriorityQueue.Keisuke Kuroyanagi2014-03-281-11/+12
| | | | Change-Id: Ia44ca0e14f8aad090ae2b8007771dea6d9b41221
* Remove DicNode.managedDelete.Keisuke Kuroyanagi2014-03-286-36/+8
| | | | Change-Id: I8146975d72878ba34d1c5054a7cf5fdcc41a3332
* Use SuggestionResults to get suggestion.Keisuke Kuroyanagi2014-03-2713-169/+122
| | | | | | Bug: 8187060 Bug: 13333066 Change-Id: I435096ecf8422453f9b167adb0ca3b9c8a840018
* Merge "Remove DicNodeUtils::appendTwoWords()."Keisuke Kuroyanagi2014-03-273-38/+3
|\