aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "Pass traverse session" into jb-mr1-devSatoshi Kataoka2012-08-088-34/+38
|\
| * Pass traverse sessionSatoshi Kataoka2012-08-088-34/+38
| | | | | | | | Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
* | Start using JNI's Get<Type>ArrayRegion()Ken Wakasa2012-08-084-90/+48
| | | | | | | | Change-Id: Iaa1014efe639dd79540835b0d5201093dbd8dab8
* | Merge "Add traverse session" into jb-mr1-devSatoshi Kataoka2012-08-084-0/+102
|\|
| * Add traverse sessionSatoshi Kataoka2012-08-084-0/+102
| | | | | | | | | | | | Bug: 6942265 Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
* | Cleanup headers.Ken Wakasa2012-08-084-12/+9
|/ | | | Change-Id: Ied1bedb8ba5fae590987ea23bed32f4db1a60d77
* Merge "Show results in the native code." into jb-mr1-devKen Wakasa2012-08-052-5/+44
|\
| * Show results in the native code.Satoshi Kataoka2012-08-062-5/+44
| | | | | | | | Change-Id: I712ba49cf4a89a36836fbf49cd72e7eef218e61f
* | Header cleanupKen Wakasa2012-08-033-8/+7
|/ | | | Change-Id: I1aa91708d0de01ca3e84e69ec8d3a3832c386ca8
* Header cleanup. Moved a couple of functions from .h to .cpp.Ken Wakasa2012-08-0212-61/+72
| | | | Change-Id: Ifd12a7632f75395bd0ef5e394d5c2abd6cbe28c6
* Header cleanupKen Wakasa2012-08-014-15/+6
| | | | Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba
* Move flags belonging to BinaryFormat to the right place.Jean Chalard2012-08-015-81/+80
| | | | | | | | | | These masks and flags are constants that are an integral part of the format. They belong in BinaryFormat and have nothing to do in UnigramDictionary. This needs I6751dda4 to not break the build Bug: 6429243 Change-Id: Ic1c842b3245f7fdc25aa8d1459c5bb07b262e265
* Cleanup headersKen Wakasa2012-07-3118-40/+33
| | | | Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3
* Misc cleanupsKen Wakasa2012-07-3013-30/+17
| | | | Change-Id: I28308f12c3064299acefc346b72279036c3726a7
* Fix native debug logKen Wakasa2012-07-272-12/+10
| | | | Change-Id: If19f808522a5a35fa06c2825fcd0d92e6e4a0631
* Build LatinIME with NDK r8Ken Wakasa2012-07-271-12/+2
| | | | Change-Id: I0e233f9561f4bb4dee2311b98e7b0a1cd9cd5061
* Cosmetic fixes and style fixesKen Wakasa2012-07-2533-401/+365
| | | | Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc
* Add wrapper for incremental decoder.Tom Ouyang2012-07-193-1/+116
| | | | Change-Id: Ie11e2b83c2602c0d5a2739a7d4f4994f80d7e298
* Add values for suggestion types (A120)Jean Chalard2012-07-123-4/+16
| | | | | | Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
* Pass an array to output suggestion types (A119a)Jean Chalard2012-07-128-18/+22
| | | | | | | | This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
* Resolve a TODO: bury some implementation detail in native (A110)Jean Chalard2012-07-121-0/+1
| | | | | | | The fact that prediction does not accept a null argument is an implementation detail, it should not be visible to Java code. Change-Id: I3a156b323b6db9353de898d33f3f7c81751cecb1
* Remove an unused method (A109)Jean Chalard2012-07-121-19/+0
| | | | Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f
* Move an implementation detail to native code (A107)Jean Chalard2012-07-121-4/+11
| | | | | | | | Java code does not have to know about this implementation detail: the generic method should do the dispatching, instead of having the caller call either method. Change-Id: Ic13727f0cb18f4ced2c356cce2f8d710588c0421
* Remove a useless parameter (A106)Jean Chalard2012-07-124-9/+7
| | | | Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
* Remove a constant parameter (A105)Jean Chalard2012-07-122-8/+8
| | | | Change-Id: I8a09fa2f0649880c943364699a07652e47dede22
* Make a constant really constant (A104)Jean Chalard2012-07-125-9/+11
| | | | Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
* Avoid LatinIME crashKen Wakasa2012-07-101-0/+2
| | | | | | bug: 6790620 Change-Id: I6fd271c6f79790cfb9d875b052854eab60a30b7f
* Use TARGET_BUILD_APPS to distinguishYing Wang2012-07-091-4/+4
| | | | | | | It's in a full build or just an unbundled build. Bug: 6790620 Change-Id: Ifa2df86462747acb8b561ebab879e03b1201b4f7
* Revert "Fix the build"Ken Wakasa2012-07-061-10/+12
| | | | This reverts commit 48a436081fc6886dbeecf1f2b25fd754952f0fe1.
* Fix the buildKen Wakasa2012-07-061-12/+10
| | | | Change-Id: Iff324c705b46cfae27ea9b6b8dc8b0a0d56a193d
* Update Makefile of LatinIME native code for the unbundled buildKen Wakasa2012-07-061-11/+11
| | | | Change-Id: I117e2429c5f5e75a6ffe84b5869afb2e033f2b2d
* Search bigrams for the lower case version of the word (A46)Jean Chalard2012-07-045-13/+34
| | | | | | | ...if there aren't any for the exact case version. Bug: 6752830 Change-Id: I2737148b01ba04a64febe009ceb2ef53c265d224
* Cleanup gesture code overlaySatoshi Kataoka2012-07-0415-369/+100
| | | | Change-Id: I6ab1462f62b2d53a157494d27342a832ec1f15f7
* Reorganize LatinIME native Makefile a bit moreKen Wakasa2012-07-031-17/+16
| | | | Change-Id: Iabb6caa620cb587110a3d88ce7129ed978eea83a
* Makefile and source code structure update for LatinIME AOSP buildKen Wakasa2012-07-0215-120/+120
| | | | Change-Id: Ia2ab54651ef96521fce01fe4755147909b818803
* Merge "Accept external debug flag in native code"Satoshi Kataoka2012-06-281-1/+1
|\
| * Accept external debug flag in native codeSatoshi Kataoka2012-06-291-1/+1
| | | | | | | | Change-Id: I762fd9025ffd6518daf42903875d6ca0a5389ff4
* | Merge "Add a new define for gesture"Satoshi Kataoka2012-06-281-0/+2
|\ \ | |/ |/|
| * Add a new define for gestureSatoshi Kataoka2012-06-281-0/+2
| | | | | | | | Change-Id: I6e0d8de75e129a6d1a33f7c7d5f5fa8c11dd2006
* | Update LatinIME native Makefile for gesture codeKen Wakasa2012-06-291-11/+45
| | | | | | | | | | | | Also, a small clean up in the proguard.flags file Change-Id: I860034c51a2abf448f7ecc250ed35687b1f1dd82
* | Merge "Cleanup the dictionary type."Jean Chalard2012-06-274-7/+7
|\ \
| * | Cleanup the dictionary type.Jean Chalard2012-06-274-7/+7
| |/ | | | | | | | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* / Add skeleton implementations for gestureSatoshi Kataoka2012-06-278-1/+173
|/ | | | Change-Id: I169034eba2001b98bad8f8a05372426c3ff8774e
* Change native functions' interface for gestureSatoshi Kataoka2012-06-277-3/+34
| | | | Change-Id: I106a858f0be7452dd89f425805a6f72aa88c3f65
* Add skeleton classes for gestureSatoshi Kataoka2012-06-269-8/+238
| | | | Change-Id: I6ada110a934b0dafc57d0dcd87723275fa733548
* Change JNI for GestureSatoshi Kataoka2012-06-252-13/+26
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Make native bigram dictionary constsatok2012-06-146-75/+62
| | | | Change-Id: Id883f2d69483c9234877ad42446a582258e1cf91
* Move correction state to stack memorysatok2012-06-1415-26/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | *Before (0) 13.18 (0.01%) (1) 93025.41 (62.06%) (2) 10.75 (0.01%) (3) 10.50 (0.01%) (4) 117.50 (0.08%) (5) 55678.98 (37.14%) (6) 9.09 (0.01%) (20) 883.84 (0.59%) Total 149898.24 (sum of others 149749.25) *After (0) 17.41 (0.01%) (1) 92673.41 (61.95%) (2) 10.62 (0.01%) (3) 10.37 (0.01%) (4) 120.96 (0.08%) (5) 55741.18 (37.26%) (6) 11.01 (0.01%) (20) 862.72 (0.58%) Total 149595.52 (sum of others 149447.68) Change-Id: Ia5a25a544fc388e4dab1e08d8f78d5117b249cf3
* Fix debug buildsatok2012-06-133-3/+3
| | | | Change-Id: I48a87967ac741455502ac1a18465ae6ed7ef0d12
* Add NativeUtils.powf()Ken Wakasa2012-06-084-0/+76
| | | | Change-Id: I0339f39d49bc6390d098017f32d92c776974e03e