Commit Graph

5098 Commits (96d2164f9cc8da112f7c5d6cfe95ec48d97df2ad)

Author SHA1 Message Date
Jean Chalard c15fa010fd am e3884b04: am 91c64902: Merge "Refresh editor info when the text field attributes changes." into jb-mr1-dev
* commit 'e3884b041d24fb3dd4f9b53ddfb86cace75b450a':
  Refresh editor info when the text field attributes changes.
2012-08-15 02:38:41 -07:00
Jean Chalard 91c64902b0 Merge "Refresh editor info when the text field attributes changes." into jb-mr1-dev 2012-08-15 02:35:21 -07:00
Jean Chalard e234aed428 Refresh editor info when the text field attributes changes.
For some reason we get a "restarting" flag from the browser
some times when the input field is different. The attributes
however are not the same, so we can detect that and reload
appropriately.

Bug: 6946793
Change-Id: I6762dae6f41db690497b026a707d9cc89c840b34
2012-08-15 18:32:59 +09:00
Jean Chalard a01d0212d6 am 5252ca77: am cd0e0048: Merge "Ensure #offer always actually offers something." into jb-mr1-dev
* commit '5252ca773f9f5ce1ddd8afe423850c64834ba1a0':
  Ensure #offer always actually offers something.
2012-08-15 02:19:53 -07:00
Jean Chalard cd0e004888 Merge "Ensure #offer always actually offers something." into jb-mr1-dev 2012-08-15 02:16:09 -07:00
Jean Chalard 653dbfb8ed Ensure #offer always actually offers something.
This will allow remaining requests after a call to terminate
correctly.

Bug: 6963142
Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659
2012-08-15 18:10:10 +09:00
Satoshi Kataoka f5b6272523 am 258eaa48: am 3979f060: Step 28-A Introduce the session Id to getSuggestion
* commit '258eaa48b4b7921a712dab24640273fd3e6c1efc':
  Step 28-A Introduce the session Id to getSuggestion
2012-08-14 23:49:25 -07:00
Satoshi Kataoka 3979f060f0 Step 28-A Introduce the session Id to getSuggestion
Change-Id: I39d9bf1a7c272eb16d6ed4698f52457579b40f10
2012-08-15 15:44:45 +09:00
alanv 7508d32a5f am 641373b7: am 05384933: Fix the build.
* commit '641373b7356cb874b8bd413d49f2840abe026260':
  Fix the build.
2012-08-14 15:51:50 -07:00
alanv 0538493309 Fix the build.
Change-Id: I744f6232e81981ab694d3d1e92bab5fd6efa46c0
2012-08-14 15:34:29 -07:00
Charles Chen bbd79bc4f0 am af0a0884: am dd7f7909: Merge "Change accessibility event type for app-driven speech." into jb-mr1-dev
* commit 'af0a0884463420b1a4e75780ba2b3eacae21c5ff':
  Change accessibility event type for app-driven speech.
2012-08-14 14:38:22 -07:00
Charles Chen dd7f79097a Merge "Change accessibility event type for app-driven speech." into jb-mr1-dev 2012-08-14 14:33:32 -07:00
Jean Chalard 082baf6172 am 4de3bc30: am a0cd0584: Merge "Preemptive anti-deadlock device" into jb-mr1-dev
* commit '4de3bc305bd817aec0d9c413a3cf1f79bff3b160':
  Preemptive anti-deadlock device
2012-08-14 01:12:30 -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
Jean Chalard 9ecec4eb5c am a9552f8f: am 5d6b8e18: Fix a bug that would prevent spell checking
* commit 'a9552f8f0233c04dd5237c35027f309e6ec0b6f9':
  Fix a bug that would prevent spell checking
2012-08-13 22:56:35 -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 bdea4a0c88 Import translations. DO NOT MERGE
Change-Id: I5d7f7487291f5a0cd054ab8db0c5a891900fec6a
Auto-generated-cl: translation import
2012-08-13 14:11:40 -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
Tadashi G. Takaoka 4d9d1e50c8 am 322f2a80: am f92f9de7: Merge "Eliminate redundant time parameter from gesture detection code" into jb-mr1-dev
* commit '322f2a80b88d2ec05792b09a60cbcd3583ae8c26':
  Eliminate redundant time parameter from gesture detection code
2012-08-13 02:29:37 -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 ed340b99db am 9e3d8722: am 40a6d4af: Merge "Cleanups in geometry_utils.h" into jb-mr1-dev
* commit '9e3d8722a8ecd519786e26cba331519a89d02ebb':
  Cleanups in geometry_utils.h
2012-08-13 02:15:29 -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 5b8ab8e481 am 9d7924dc: am f5fba0c1: Merge "Remove unnecessary drawing point" into jb-mr1-dev
* commit '9d7924dc82291f8180a947c905b66e3bd8039ff4':
  Remove unnecessary drawing point
2012-08-13 02:10:52 -07:00
Ken Wakasa 0fb950858e Cleanups in geometry_utils.h
Change-Id: Ic051703e5b67adfc62753ebd9ab254296719c6e9
2012-08-13 17:47:00 +09:00
Tadashi G. Takaoka fc5e3f973c Remove unnecessary drawing point
Change-Id: Ib9cba3484a72306320eb9c1744d940da1a0998c7
2012-08-13 14:03:10 +09:00
Tadashi G. Takaoka a3c86d4aac am 6b5f5bb2: am 708cc94a: Remove gesture detection hacking code
* commit '6b5f5bb22710e15ecfd4d3ecbc955b7a8236c85d':
  Remove gesture detection hacking code
2012-08-12 20:46:11 -07:00
Tadashi G. Takaoka 708cc94a35 Remove gesture detection hacking code
Change-Id: Idaec3753592ca0a5c5545eb5ab65254a3e32e662
2012-08-13 12:19:19 +09:00
Ken Wakasa aa9063a1f4 am 7b4531a1: am bcec82de: Clean up constructors
* commit '7b4531a16f0d7f237822e94f3e962257ee9d0c16':
  Clean up constructors
2012-08-12 19:09:24 -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 078a0028d6 am f9b2841f: am 81451030: Merge "Fix JNI" into jb-mr1-dev
* commit 'f9b2841fb592778ad34b5181e1c0bcbf551e3632':
  Fix JNI
2012-08-12 18:32:43 -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
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 88257b367d Import translations. DO NOT MERGE
Change-Id: Ieadaecf909a0f3902ab07711f4bc9fd645719417
Auto-generated-cl: translation import
2012-08-10 11:54:24 -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
Ken Wakasa be03370d1e am caa197d7: am f3850e55: Use JNI Region calls also in getSuggestions()
* commit 'caa197d76f8eb27dbb4fa400bace4db625b930bd':
  Use JNI Region calls also in getSuggestions()
2012-08-10 05:17:45 -07:00
Satoshi Kataoka 0914ba8a53 am f85ec408: am f6c22008: Workaround to stop init dict traverse session
* commit 'f85ec4082f60d4b7a06d907505938d91b3dfcee5':
  Workaround to stop init dict traverse session
2012-08-10 05:09:48 -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
Jean Chalard 9e49160687 am 407d23ad: am a5e57d67: Merge "Accept whitelisted entries from any source." into jb-mr1-dev
* commit '407d23ad246cb55e8e6a0138ca39d4d105c5b0a0':
  Accept whitelisted entries from any source.
2012-08-10 03:21:12 -07:00
Jean Chalard 225659a7ec am b5cb4447: am 58040e7d: Merge "Optimization & Simplification" into jb-mr1-dev
* commit 'b5cb4447cfbc7d397f4da7d3753431bc97ee445e':
  Optimization & Simplification
2012-08-10 03:21:11 -07:00
Jean Chalard 7b258e512d Accept whitelisted entries from any source.
...not only the WhitelistDictionary.

Bug: 6906525
Change-Id: I7f181eb6936ec17bbccdc4e736fd09292af24e9c
2012-08-10 19:02:19 +09:00
Jean Chalard caed149b67 Optimization & Simplification
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-10 19:02:15 +09:00
Jean Chalard fdbc75e5d4 am 1599feda: am dc2fb6bc: Merge "Pass the type from native code all the way to Java." into jb-mr1-dev
* commit '1599feda42e0f0881368b948222a0667a09de728':
  Pass the type from native code all the way to Java.
2012-08-10 01:30:01 -07:00
Jean Chalard dc2fb6bc6d Merge "Pass the type from native code all the way to Java." into jb-mr1-dev 2012-08-10 01:26:59 -07:00
Jean Chalard 926ef06a1e Pass the type from native code all the way to Java.
Bug: 6906525
Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
2012-08-10 15:51:55 +09:00
Tadashi G. Takaoka d66ed30b0b am 7a9695e4: am ce38c62a: Merge "Remove conservative MainKeyboardView.draw" into jb-mr1-dev
* commit '7a9695e455d4cd5eeb509452eb58c06e5000cc03':
  Remove conservative MainKeyboardView.draw
2012-08-09 23:35:50 -07:00
Tadashi G. Takaoka ce38c62aef Merge "Remove conservative MainKeyboardView.draw" into jb-mr1-dev 2012-08-09 23:31:53 -07:00
Satoshi Kataoka f775fcfba3 am ab45cc6e: am e9f3e182: Add arguments for dic traverse session
* commit 'ab45cc6e5c96bee7d020135639c66ba0322e3649':
  Add arguments for dic traverse session
2012-08-09 20:56:43 -07:00