Commit Graph

7988 Commits (822139bdf427bccd80fe46d925b90e03caedb773)

Author SHA1 Message Date
Ken Wakasa 822139bdf4 am 267030dd: Cleanup casts.
* commit '267030dd82a6165ca56899d2988b5dc51ebea104':
  Cleanup casts.
2012-08-14 03:16:27 -07:00
Ken Wakasa 267030dd82 Cleanup casts.
Change-Id: I3bf33ca407cc3bee9f5c4c6f929cdb1421b92c50
2012-08-14 19:03:09 +09:00
Ken Wakasa 6c2c1a04f1 am 54035065: Merge "A couple of cleanups. Remove unnecessary casts." into jb-mr1-dev
* commit '54035065c0ba516af408b1a3e12e12b1483ed61a':
  A couple of cleanups.  Remove unnecessary casts.
2012-08-14 02:20:11 -07:00
Ken Wakasa 54035065c0 Merge "A couple of cleanups. Remove unnecessary casts." into jb-mr1-dev 2012-08-14 02:18:26 -07:00
Ken Wakasa 34710b03e6 A couple of cleanups. Remove unnecessary casts.
Change-Id: Ice530aa83a9a688da35aec408be2a60242699157
2012-08-14 18:07:32 +09:00
Jean Chalard 4de3bc305b am a0cd0584: Merge "Preemptive anti-deadlock device" into jb-mr1-dev
* commit 'a0cd05842e26e802121823a25274190f65a2450f':
  Preemptive anti-deadlock device
2012-08-14 01:11:22 -07:00
Jean Chalard a0cd05842e Merge "Preemptive anti-deadlock device" into jb-mr1-dev 2012-08-14 01:09:34 -07:00
Jean Chalard e30c05800f Preemptive anti-deadlock device
We don't know of any actual bug in the implementation of the
pool that may result in a deadlock, but this still implements
a means out of a deadlock if one ever arises anyway. It's
meant to improve the resilience of the spell checker.

Bug: 5441027
Change-Id: I689491090792dbb89110ee56631965c5bb2dc712
2012-08-14 17:04:14 +09:00
Satoshi Kataoka 26707d3908 am d832bec4: Merge "Step 26-A Cleanup geometory_utils" into jb-mr1-dev
* commit 'd832bec40be958a55a422a5c3a69c2504ef78a4e':
  Step 26-A Cleanup geometory_utils
2012-08-13 23:40:19 -07:00
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
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
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