Commit graph

8932 commits

Author SHA1 Message Date
Satoshi Kataoka
d832bec40b Merge "Step 26-A Cleanup geometory_utils" into jb-mr1-dev 2012-08-13 23:37:50 -07:00
Jean Chalard
a9552f8f02 am 5d6b8e18: Fix a bug that would prevent spell checking
* commit '5d6b8e181811e10b38dd30f4ba33757bb2162552':
  Fix a bug that would prevent spell checking
2012-08-13 22:55:13 -07:00
Jean Chalard
5d6b8e1818 Fix a bug that would prevent spell checking
java.lang.ArrayIndexOutOfBoundsException:
        [I offset=0 length=528 src.length=512
com.android.inputmethod.keyboard.ProximityInfo
        .setProximityInfoNative(Native Method)
com.android.inputmethod.keyboard.ProximityInfo
        .createSpellCheckerProximityInfo(ProximityInfo.java:85)
com.android.inputmethod.latin.spellcheck.AndroidSpellCheckerService
        .createDictAndProximity(AndroidSpellCheckerService.java:411)

The array was too small with respect with the passed size.

Change-Id: I7777d7aecd17375d3fbf82854a66eb7a5a289ce6
2012-08-14 14:45:17 +09:00
Baligh Uddin
78028cb6e0 am 0aeb4c20: Import translations. DO NOT MERGE
* commit '0aeb4c206c9d9d30d9b49dcc4a742130ba4f1da7':
  Import translations. DO NOT MERGE
2012-08-13 15:40:09 -07:00
Baligh Uddin
0aeb4c206c Import translations. DO NOT MERGE
Change-Id: I36bb28cfdf548a38bfdd3127ddafa6c7d938376e
Auto-generated-cl: translation import
2012-08-13 14:05:29 -07:00
Satoshi Kataoka
e7398cdb2b Step 26-A Cleanup geometory_utils
Change-Id: I839c498c85009a5d6428a71f121a2906fd667db8
2012-08-14 03:39:14 +09:00
The Android Automerger
1983097eee merge in jb-mr1-release history after reset to jb-mr1-dev 2012-08-13 08:10:16 -07:00
Jean Chalard
7851af201e am 8c12bd87: Merge "Tag the whitelisted entries in native code." into jb-mr1-dev
* commit '8c12bd87ccd649732a40cf6aae36e82e92e2edb4':
  Tag the whitelisted entries in native code.
2012-08-13 03:27:20 -07:00
Jean Chalard
8c12bd87cc Merge "Tag the whitelisted entries in native code." into jb-mr1-dev 2012-08-13 03:24:47 -07:00
Tadashi G. Takaoka
322f2a80b8 am f92f9de7: Merge "Eliminate redundant time parameter from gesture detection code" into jb-mr1-dev
* commit 'f92f9de7a9c8b89a825780d92e984a659c901568':
  Eliminate redundant time parameter from gesture detection code
2012-08-13 02:27:13 -07:00
Tadashi G. Takaoka
f92f9de7a9 Merge "Eliminate redundant time parameter from gesture detection code" into jb-mr1-dev 2012-08-13 02:25:28 -07:00
Ken Wakasa
9e3d8722a8 am 40a6d4af: Merge "Cleanups in geometry_utils.h" into jb-mr1-dev
* commit '40a6d4af2a454323601c2c5ff8d95863eefedd86':
  Cleanups in geometry_utils.h
2012-08-13 02:13:08 -07:00
Ken Wakasa
40a6d4af2a Merge "Cleanups in geometry_utils.h" into jb-mr1-dev 2012-08-13 02:11:52 -07:00
Tadashi G. Takaoka
74d0bb09c7 Eliminate redundant time parameter from gesture detection code
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-13 18:11:03 +09:00
Tadashi G. Takaoka
9d7924dc82 am f5fba0c1: Merge "Remove unnecessary drawing point" into jb-mr1-dev
* commit 'f5fba0c1f095266aa1cc084917d06f66e4b23009':
  Remove unnecessary drawing point
2012-08-13 02:08:26 -07:00
Tadashi G. Takaoka
f5fba0c1f0 Merge "Remove unnecessary drawing point" into jb-mr1-dev 2012-08-13 02:06:42 -07:00
Ken Wakasa
0fb950858e Cleanups in geometry_utils.h
Change-Id: Ic051703e5b67adfc62753ebd9ab254296719c6e9
2012-08-13 17:47:00 +09:00
Jean Chalard
b14fc88e48 Tag the whitelisted entries in native code.
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-13 16:35:59 +09:00
Satoshi Kataoka
8db85a419e am f144cc61: Merge "Step 24-A remove setdict" into jb-mr1-dev
* commit 'f144cc61cc9b704f890ad703c5220c3eed891743':
  Step 24-A remove setdict
2012-08-13 00:21:50 -07:00
Jean Chalard
85ed27c9dd am 2d0cd582: Merge "Remove useless backslashes from the whitelist dictionary" into jb-mr1-dev
* commit '2d0cd582c26640d457fe4db3ab3a510894a99471':
  Remove useless backslashes from the whitelist dictionary
2012-08-13 00:20:14 -07:00
Satoshi Kataoka
f144cc61cc Merge "Step 24-A remove setdict" into jb-mr1-dev 2012-08-13 00:20:12 -07:00
Jean Chalard
2d0cd582c2 Merge "Remove useless backslashes from the whitelist dictionary" into jb-mr1-dev 2012-08-13 00:18:01 -07:00
Jean Chalard
c278142745 Remove useless backslashes from the whitelist dictionary
For some reason, these are necessary for resources, but XML
standard does not require them.

Change-Id: I7cdaecb6815aa4020e0d453e33be38ff2968df50
2012-08-13 15:53:07 +09:00
Satoshi Kataoka
ddb12ea63a Step 24-A remove setdict
Change-Id: Iab28bf0fd785b9e81fc86837e64a1ef2e315a229
2012-08-13 14:32:17 +09:00
Tadashi G. Takaoka
fc5e3f973c Remove unnecessary drawing point
Change-Id: Ib9cba3484a72306320eb9c1744d940da1a0998c7
2012-08-13 14:03:10 +09:00
Tadashi G. Takaoka
6b5f5bb227 am 708cc94a: Remove gesture detection hacking code
* commit '708cc94a354ad96294126a6ba954bf8be5bd5a06':
  Remove gesture detection hacking code
2012-08-12 20:44:41 -07:00
Tadashi G. Takaoka
708cc94a35 Remove gesture detection hacking code
Change-Id: Idaec3753592ca0a5c5545eb5ab65254a3e32e662
2012-08-13 12:19:19 +09:00
Ken Wakasa
8e1f915385 am 507113a1: Fix typo in include guard macro, and some cleanups.
* commit '507113a1bb0d9b7ac333512a69da12c4d5d57182':
  Fix typo in include guard macro, and some cleanups.
2012-08-12 19:56:28 -07:00
Ken Wakasa
507113a1bb Fix typo in include guard macro, and some cleanups.
Change-Id: I455f6a52667b1c6ae5eb9f58b3494dd87eb2c3f5
2012-08-13 11:51:37 +09:00
Ken Wakasa
7b4531a16f am bcec82de: Clean up constructors
* commit 'bcec82de66f52655593dc233346f11468f5077a0':
  Clean up constructors
2012-08-12 19:07:44 -07:00
Ken Wakasa
bcec82de66 Clean up constructors
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-13 10:48:37 +09:00
satok
f9b2841fb5 am 81451030: Merge "Fix JNI" into jb-mr1-dev
* commit '814510305c21b3081414e75e040dec4b73f6cdf3':
  Fix JNI
2012-08-12 18:30:57 -07:00
satok
814510305c Merge "Fix JNI" into jb-mr1-dev 2012-08-12 18:29:16 -07:00
satok
847c8dfe17 Fix JNI
Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
2012-08-11 13:54:01 +09:00
Baligh Uddin
cf185305bf am 9b6b2798: Import translations. DO NOT MERGE
* commit '9b6b2798078d0b179af35a2cde894e19dbd11a05':
  Import translations. DO NOT MERGE
2012-08-10 15:20:25 -07:00
alanv
5f312c9c15 Change accessibility event type for app-driven speech.
Bug: 6614400
Change-Id: I0ef309b7f3f35bf37b4664ea599c9e6ffb1a4ab8
2012-08-10 13:51:17 -07:00
Baligh Uddin
9b6b279807 Import translations. DO NOT MERGE
Change-Id: I22eacc83a5aaa0f4e50e02e84ebf2b176dd08fe6
Auto-generated-cl: translation import
2012-08-10 11:50:11 -07:00
The Android Open Source Project
af10910864 Reconcile with jb-mr1-release - do not merge
Change-Id: I2d5f51a53ca7d84e5de661ce92fd9a83814b7eae
2012-08-10 08:54:08 -07:00
Ken Wakasa
ec1e373a20 am 063c3e21: Fix memset() bugs
* commit '063c3e2171e546957d8c40575740c29f234e307c':
  Fix memset() bugs
2012-08-10 06:21:31 -07:00
Ken Wakasa
063c3e2171 Fix memset() bugs
Change-Id: Icf4341c0a62e782cf8c2a863408591df4e6f07cb
2012-08-10 22:13:21 +09:00
Ken Wakasa
caa197d76f am f3850e55: Use JNI Region calls also in getSuggestions()
* commit 'f3850e554389dc3012584f9d81a4f2d3d4c89e44':
  Use JNI Region calls also in getSuggestions()
2012-08-10 05:16:42 -07:00
Ken Wakasa
f3850e5543 Use JNI Region calls also in getSuggestions()
Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
2012-08-10 21:09:23 +09:00
Satoshi Kataoka
f6c2200890 Workaround to stop init dict traverse session
Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
2012-08-10 21:07:53 +09:00
Satoshi Kataoka
f85ec4082f am f6c22008: Workaround to stop init dict traverse session
* commit 'f6c2200890012708709964fb1a8933ed1c3e7dd8':
  Workaround to stop init dict traverse session
2012-08-10 05:07:52 -07:00
Satoshi Kataoka
5d9d69d2f1 am 0f4de30e: Fix a bug on jni of DicTraverseSession
* commit '0f4de30e589deba221b92b3bde341c54fd9d1b9d':
  Fix a bug on jni of DicTraverseSession
2012-08-10 04:56:07 -07:00
Satoshi Kataoka
0f4de30e58 Fix a bug on jni of DicTraverseSession
Change-Id: Ieeac36cbad9a99d15911f2e6e2e841cae38ecb9b
2012-08-10 20:13:57 +09:00
Satoshi Kataoka
117f022f96 am 82bd0c1e: Merge "step 23-A remove unused method" into jb-mr1-dev
* commit '82bd0c1e9da5b4872379ffd2875f4ef6e14dc66c':
  step 23-A remove unused method
2012-08-10 03:48:04 -07:00
Satoshi Kataoka
82bd0c1e9d Merge "step 23-A remove unused method" into jb-mr1-dev 2012-08-10 03:45:34 -07:00
Satoshi Kataoka
88dfeb30bf step 23-A remove unused method
Change-Id: I382c654fd30aca1a3277a186ee25fc946449c639
2012-08-10 19:35:04 +09:00
Jean Chalard
407d23ad24 am a5e57d67: Merge "Accept whitelisted entries from any source." into jb-mr1-dev
* commit 'a5e57d6755c41d8161bd2de3b76cca6922d61202':
  Accept whitelisted entries from any source.
2012-08-10 03:19:08 -07:00