Commit graph

33125 commits

Author SHA1 Message Date
Tadashi G. Takaoka
8bfc1e9ec5 am a2e365da: Stop announcing suggestions strip content while more keys keyboard is showing
* commit 'a2e365da0acf80c1bcd8413d72f697a0da374779':
  Stop announcing suggestions strip content while more keys keyboard is showing
2014-06-13 17:02:03 +00:00
Tadashi G. Takaoka
a2e365da0a Stop announcing suggestions strip content while more keys keyboard is showing
This CL also supports announcing dismissing of a more keys keyboard.

Bug: 15582905
Change-Id: Ia9e5d6c7e3e23dac39ee570b20d32f0141ae6184
2014-06-14 01:29:45 +09:00
Tadashi G. Takaoka
0d30a7aa7d am fd0d104f: Merge "Fix forwarding event only when sending view is visible"
* commit 'fd0d104fa7d407d760ccd8cfaa8e37a41f50044f':
  Fix forwarding event only when sending view is visible
2014-06-13 09:30:23 +00:00
Tadashi G. Takaoka
c2cabf48b6 am dc0c1e40: Merge "Add EmojiPageKeyboardAccessibilityDelegate"
* commit 'dc0c1e40be53e8657634cf77bd6fe3edb1b14441':
  Add EmojiPageKeyboardAccessibilityDelegate
2014-06-13 07:55:36 +00:00
Tadashi G. Takaoka
0658d88e6a am 163f3185: Merge "Return an empty accessibility node info for a keyboard"
* commit '163f318545f6c4c568e96cc1e379afed41159d31':
  Return an empty accessibility node info for a keyboard
2014-06-13 07:52:21 +00:00
Keisuke Kuroyanagi
7bb00c840a am 81bd7e20: Merge "Personalization dictionary updater."
* commit '81bd7e20071de9ac0d31da7cbd754c6a519452bc':
  Personalization dictionary updater.
2014-06-13 07:49:06 +00:00
Tadashi G. Takaoka
c0cbfa716a am 08199ec8: Clear PointerTracker state when more keys keyboard is dismissed
* commit '08199ec85932dbcfd02763a88d32b4c33f94ef31':
  Clear PointerTracker state when more keys keyboard is dismissed
2014-06-13 07:35:02 +00:00
Tadashi G. Takaoka
08199ec859 Clear PointerTracker state when more keys keyboard is dismissed
With accessibility mode on, hover events for a more keys keyboard are
handled among MoreKeysKeyboardAccessibilityDelegate and
MoreKeysKeyboardView. But the more keys keyboard is shown by
MainKeyboardAccessibilityDelegate that uses PointerTracker to handle
hover events. Thus we need to clear PointerTracker state when the more
keys keyboard is dismissed.

This is a workaround to resolve the issue. We should reconsider the
structure of those views and accessibility delegates in the future.

Bug: 15583751
Change-Id: Ida8c3e55194c59bdaa5bc4ff06068e699b888ced
2014-06-13 15:54:25 +09:00
Tadashi G. Takaoka
6b3592183e am 03eba092: Merge "Use MoreKeysDetector for accessibility"
* commit '03eba0927dfb82c890c0745840bc6098240c04d4':
  Use MoreKeysDetector for accessibility
2014-06-13 06:17:44 +00:00
Tadashi G. Takaoka
39c9fddccd am 68b8a2d8: Make accessibility long press timeout longer
* commit '68b8a2d86cf19650dfba771a28d63c75d3a5c9ca':
  Make accessibility long press timeout longer
2014-06-13 04:25:06 +00:00
Tadashi G. Takaoka
68b8a2d86c Make accessibility long press timeout longer
The previous time out was 1500 milliseconds that wasn't enough for
announcing some accented letters, for example "Ü". This CL makes the
time out to 3000 milliseconds.

BUG: 15582951
Change-Id: I9bf864389c359e3b9abfe5000b897cf742a8dbe7
2014-06-13 13:02:24 +09:00
Yohei Yukawa
3d4be8cfc5 am c1cb930d: Merge "Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod""
* commit 'c1cb930dde27414a0d8b15ae345650d41ba56add':
  Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"
2014-06-13 03:20:19 +00:00
Tadashi G. Takaoka
32f417b93c am a68e0dd4: Fix NPE by disabling key preview popup of Emoji palette
* commit 'a68e0dd437daa1387edc65082f96a00ca258a7b0':
  Fix NPE by disabling key preview popup of Emoji palette
2014-06-13 03:16:49 +00:00
Tadashi G. Takaoka
a68e0dd437 Fix NPE by disabling key preview popup of Emoji palette
Bug: 15579928
Change-Id: I6bcf885f2c1aa37b337a85978409ccf41e459c2a
2014-06-13 11:04:56 +09:00
Keisuke Kuroyanagi
7e1d8af498 am 89899e14: Merge "Update unit test for beginning-of-sentence."
* commit '89899e14dfe4c40ed833ba0ef7d0b06e281d0331':
  Update unit test for beginning-of-sentence.
2014-06-12 07:41:40 +00:00
Keisuke Kuroyanagi
528eab0b41 am da0ea760: Merge "Add jni method for removeUnigramEntry()."
* commit 'da0ea7603bdfb71a6134617d19535960aca4f40e':
  Add jni method for removeUnigramEntry().
2014-06-12 07:07:55 +00:00
Keisuke Kuroyanagi
c0e65c22c3 am 86fe8081: Merge "Add removeUnigramEntry() to native dictionary policy."
* commit '86fe8081b315e1036a2ee385851184752352c2a8':
  Add removeUnigramEntry() to native dictionary policy.
2014-06-12 03:41:18 +00:00
Keisuke Kuroyanagi
1d183cec2e am 447c1936: Merge "Enable Beginning-of-Sentence prediction for contextual dict."
* commit '447c19364ac0fa7b280b3ebd8f6e820eb925ebde':
  Enable Beginning-of-Sentence prediction for contextual dict.
2014-06-12 03:33:42 +00:00
Keisuke Kuroyanagi
9d456b043d am ec59371f: Merge "Block offensive words in native code."
* commit 'ec59371ff88f2fb1f4dd25d2fc5c06cb39f5152e':
  Block offensive words in native code.
2014-06-12 03:24:02 +00:00
Ying Wang
87c056edf1 am c49c9c52: resolved conflicts for merge of 90b948ea to master
* commit 'c49c9c52bec44303923001af554c160a4117d071':
  Use LOCAL_MULTILIB to build host lib as 64-bit
2014-06-11 19:34:21 +00:00
Ying Wang
c49c9c52be resolved conflicts for merge of 90b948ea to master
Change-Id: Ic86260b4e49ebda2ee718eadf0109ad9626a68e6
2014-06-11 12:28:56 -07:00
Keisuke Kuroyanagi
4dab3a4e76 am 4715baf9: Merge "Fix: Wrong name for ContextualDictionary."
* commit '4715baf93ba69706b23bca6ac50d901006fb4494':
  Fix: Wrong name for ContextualDictionary.
2014-06-11 11:08:16 +00:00
Tadashi G. Takaoka
9e272bdde2 am 6a96c508: Fix logic to show suggestions
* commit '6a96c508fddde10827b8f0822a7096bf4b708cf0':
  Fix logic to show suggestions
2014-06-11 03:05:26 +00:00
Tadashi G. Takaoka
6a96c508fd Fix logic to show suggestions
Bug: 15531465
Change-Id: Ic7fe5743ad3767cdaed699e5e2d1ebcaa75e22c2
2014-06-11 11:51:58 +09:00
Tadashi G. Takaoka
fd0d104fa7 Merge "Fix forwarding event only when sending view is visible" 2014-06-10 22:36:02 +00:00
Tadashi G. Takaoka
28593b5325 Fix forwarding event only when sending view is visible
Bug: 15579941
Change-Id: I25c19068ae4ad26b1ff64ffccf36ef8dd58ed295
2014-06-13 15:12:02 +09:00
Tadashi G. Takaoka
dc0c1e40be Merge "Add EmojiPageKeyboardAccessibilityDelegate" 2014-06-10 22:36:02 +00:00
Tadashi G. Takaoka
e9d9b37b5a Add EmojiPageKeyboardAccessibilityDelegate
Because EmojiPageKeyboardView doesn't use PointerTracker to handle
MotionEvent, a dedicated accessibility delegate is needed. Then the
recent tab can be updated even with accessibility mode on.

Bug: 15582599
Change-Id: I63d75b9aca21ec44f1f77d2eaaf2ba7813992183
2014-06-13 13:35:35 +09:00
Keisuke Kuroyanagi
ec59371ff8 Merge "Block offensive words in native code." 2014-06-10 22:36:02 +00:00
Keisuke Kuroyanagi
59ed0c2db2 Block offensive words in native code.
Bug: 15300452

Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf
2014-06-12 11:36:00 +09:00
Tadashi G. Takaoka
163f318545 Merge "Return an empty accessibility node info for a keyboard" 2014-06-10 22:31:57 +00:00
Tadashi G. Takaoka
9934740a5f Return an empty accessibility node info for a keyboard
Because a keyboard handling hover events and determining a virtual
node by itself, there is no need to supply whole virtual nodes info
for the keyboard. Just returning an empty accessibility node info
supresses annoucements of all keys.

This CL also fixes the undefined virtual id value.

Bug: 15582251
Change-Id: Ie033d21ef878d272417cf2b20f8eec1e516587f6
2014-06-13 16:44:59 +09:00
Tadashi G. Takaoka
03eba0927d Merge "Use MoreKeysDetector for accessibility" 2014-06-10 22:31:57 +00:00
Tadashi G. Takaoka
1dbeb251b2 Use MoreKeysDetector for accessibility
A more keys keyboard may have a divider on it. The MoreKeysDetector
should be used even with accessibility mode on to be able to handle a
divider.

Bug: 15583354
Change-Id: Ife2cf8304496c4c330127fde8ca1f34c2f0838e2
2014-06-13 12:49:49 +09:00
Keisuke Kuroyanagi
89899e14df Merge "Update unit test for beginning-of-sentence." 2014-06-10 22:31:57 +00:00
Keisuke Kuroyanagi
e041bfab5c Update unit test for beginning-of-sentence.
Bug: 14119293
Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb
2014-06-12 16:07:39 +09:00
Keisuke Kuroyanagi
22931cd941 Enable Beginning-of-Sentence prediction for contextual dict.
Bug: 14161647
Bug: 14119293
Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
2014-06-12 12:26:18 +09:00
Keisuke Kuroyanagi
da0ea7603b Merge "Add jni method for removeUnigramEntry()." 2014-06-10 22:31:57 +00:00
Keisuke Kuroyanagi
b4d77eca55 Add jni method for removeUnigramEntry().
Bug: 15552347
Change-Id: Iadcdc73d3335d561a27b9314d3fcdab0b0c96e49
2014-06-12 12:21:44 +09:00
Keisuke Kuroyanagi
f12985245c Add removeUnigramEntry() to native dictionary policy.
Bug: 15552347
Change-Id: Ic713f79ef26b5963060304df9c0a3a402c3cc6d4
2014-06-12 12:14:11 +09:00
Keisuke Kuroyanagi
447c19364a Merge "Enable Beginning-of-Sentence prediction for contextual dict." 2014-06-10 22:31:57 +00:00
Keisuke Kuroyanagi
81bd7e2007 Merge "Personalization dictionary updater." 2014-06-10 22:29:12 +00:00
Keisuke Kuroyanagi
d7a22c8439 Personalization dictionary updater.
Bug: 14161647
Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95
2014-06-13 16:31:12 +09:00
Yohei Yukawa
c1cb930dde Merge "Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"" 2014-06-10 22:29:12 +00:00
Yohei Yukawa
58e248ebda Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"
This reverts commit 1690992d1b.

Build.VERSION.SDK_INT is bumped with I4716e71d72b2526fe635079d1b.                                                                                     
We no longer need this workaround.

Change-Id: I75a1c2a7055af17a7d40291aadd62ae9bb42e056
2014-06-13 03:12:17 +00:00
Keisuke Kuroyanagi
86fe8081b3 Merge "Add removeUnigramEntry() to native dictionary policy." 2014-06-10 22:29:12 +00:00
Keisuke Kuroyanagi
4715baf93b Merge "Fix: Wrong name for ContextualDictionary." 2014-06-10 22:29:12 +00:00
Keisuke Kuroyanagi
3bedb9b3e6 Fix: Wrong name for ContextualDictionary.
Bug: 15557070
Change-Id: I5796df54a74c111d361da8c548e5597aba8e24d0
2014-06-11 19:58:22 +09:00
Baligh Uddin
974eca14bc am 6b655de1: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '6b655de1a6bdde3336d5dbc2a6c9dcbb9a816b34':
  Import translations. DO NOT MERGE
2014-06-10 17:25:01 +00:00
Baligh Uddin
2e98869548 am 5092fe63: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '5092fe6315882c32fd50c9da646038088d570008':
  Import translations. DO NOT MERGE
2014-06-10 17:25:00 +00:00