aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-13Eliminate redundant time parameter from gesture detection codeTadashi G. Takaoka2-7/+8
This change also uses the key width to determine the sampling rate of the gesture points (instead of the key height). Change-Id: I987487825693b4883d8359eb5b31f1d668cd5ef4
2012-08-13Cleanups in geometry_utils.hKen Wakasa2-29/+28
Change-Id: Ic051703e5b67adfc62753ebd9ab254296719c6e9
2012-08-13Tag the whitelisted entries in native code.Jean Chalard6-21/+49
Since this is already used in Java land, this actually does activate the whitelist path, and the code is now fully functional. We still have to remove the old whitelist resource and to compile the dictionary that includes the whitelist. Bug: 6906525 Change-Id: Iacde5313e303b9ed792940efaf6bcfa4ee1317bd
2012-08-13Remove useless backslashes from the whitelist dictionaryJean Chalard1-41/+41
For some reason, these are necessary for resources, but XML standard does not require them. Change-Id: I7cdaecb6815aa4020e0d453e33be38ff2968df50
2012-08-13Step 24-A remove setdictSatoshi Kataoka4-20/+0
Change-Id: Iab28bf0fd785b9e81fc86837e64a1ef2e315a229
2012-08-13Remove unnecessary drawing pointTadashi G. Takaoka2-7/+4
Change-Id: Ib9cba3484a72306320eb9c1744d940da1a0998c7
2012-08-13Remove gesture detection hacking codeTadashi G. Takaoka2-22/+4
Change-Id: Idaec3753592ca0a5c5545eb5ab65254a3e32e662
2012-08-13Fix typo in include guard macro, and some cleanups.Ken Wakasa1-26/+24
Change-Id: I455f6a52667b1c6ae5eb9f58b3494dd87eb2c3f5
2012-08-13Clean up constructorsKen Wakasa23-190/+114
And, use C++ style casts and use float math functions rather than double ones to save memory space. Also, stop using FloatMath and NativeUtils as standard Math methods are faster now. See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700 multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
2012-08-11Fix JNIsatok4-9/+16
Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
2012-08-10Import translations. DO NOT MERGEBaligh Uddin1-2/+2
Change-Id: I22eacc83a5aaa0f4e50e02e84ebf2b176dd08fe6 Auto-generated-cl: translation import
2012-08-10Fix memset() bugsKen Wakasa2-6/+6
Change-Id: Icf4341c0a62e782cf8c2a863408591df4e6f07cb
2012-08-10Use JNI Region calls also in getSuggestions()Ken Wakasa3-52/+73
Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
2012-08-10Workaround to stop init dict traverse sessionSatoshi Kataoka2-5/+8
Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
2012-08-10Fix a bug on jni of DicTraverseSessionSatoshi Kataoka1-1/+1
Change-Id: Ieeac36cbad9a99d15911f2e6e2e841cae38ecb9b
2012-08-10step 23-A remove unused methodSatoshi Kataoka3-15/+0
Change-Id: I382c654fd30aca1a3277a186ee25fc946449c639
2012-08-10Accept whitelisted entries from any source.Jean Chalard1-3/+12
...not only the WhitelistDictionary. Bug: 6906525 Change-Id: I7f181eb6936ec17bbccdc4e736fd09292af24e9c
2012-08-10Optimization & SimplificationJean Chalard2-17/+12
It's useless to do the whitelist lookup twice. Also, putting this test out of this method will allow whitelist entries to come from other sources. Bug: 6906525 Change-Id: I4afe678cae6556d16642d155ce770fbf4e61ad49
2012-08-10Step 22-A implement sessionSatoshi Kataoka3-0/+183
Change-Id: Ida63382ffb756e20cc5b17c2702d2895e7e6e889
2012-08-10Pass the type from native code all the way to Java.Jean Chalard3-17/+23
Bug: 6906525 Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
2012-08-10Reinstate putting shortcut-only entries in the dictionaryJean Chalard1-0/+4
Not sure at which point this functionality got lost, but anyway, it's back Bug: 6906525 Change-Id: Ie87baa0dacdcee90e029917ca866099593d5d048