Commit Graph

33322 Commits (bc6c4666edb71f73d24a8fad3fad556d860c7fb3)

Author SHA1 Message Date
Jean Chalard 6464d73ad9 Merge "When starting input, include the literal word in suggestions" 2014-06-06 07:27:40 +00:00
Tadashi G. Takaoka bd3b20ce73 Merge "Always update voice key visibility" 2014-06-06 07:14:28 +00:00
Jean Chalard fca2c4b439 When starting input, include the literal word in suggestions
This change also includes a fix that has suggestions re-computed
when the typed word is included but no prior suggestions were
found in spans.

Bug: 2349475
Change-Id: Ic06e6ac492507126ffc1e96a5f396c971b567272
2014-06-06 16:00:18 +09:00
Jean Chalard 46a705f250 am eb771b9d: Merge "Fix a small bug with rotation."
* commit 'eb771b9dc4300e907fb5cdb256aedd3f174f0de2':
  Fix a small bug with rotation.
2014-06-06 06:36:12 +00:00
Jean Chalard eb771b9dc4 Merge "Fix a small bug with rotation." 2014-06-06 06:34:00 +00:00
Tadashi G. Takaoka 2164a4126b am 3ca65c8f: Remove unused supportsSwitchingToShortcutIme attribute
* commit '3ca65c8fd56724a7b4b3440bccf613e5a1a17513':
  Remove unused supportsSwitchingToShortcutIme attribute
2014-06-06 05:46:06 +00:00
Jean Chalard c69ba5630d Fix a small bug with rotation.
Bug: 2349475
Change-Id: Id4aa5ce56b1a545e4cb88ca1b01cf24642deade2
2014-06-06 14:06:29 +09:00
Tadashi G. Takaoka aa4b2c7127 Always update voice key visibility
Bug: 15128166
Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727
2014-06-06 13:18:41 +09:00
Tadashi G. Takaoka 3ca65c8fd5 Remove unused supportsSwitchingToShortcutIme attribute
Change-Id: I51c5247ac925a158facb79057f704b763b903552
2014-06-06 13:11:57 +09:00
Tadashi G. Takaoka 83531df584 am b7206b6b: Merge "Add action key test for Lxx theme"
* commit 'b7206b6bcaf73640dd25b00898f5edd1b3edb762':
  Add action key test for Lxx theme
2014-06-06 04:11:26 +00:00
Tadashi G. Takaoka b7206b6bca Merge "Add action key test for Lxx theme" 2014-06-06 04:08:40 +00:00
Tadashi G. Takaoka c5dc740673 Add action key test for Lxx theme
Change-Id: I849cec7deb5607e8ce8fb25c1f903f15328fb611
2014-06-06 12:56:57 +09:00
Jean Chalard 04ef4ce21c am 70ff0c21: Merge "Fix a bug on rotation with selection."
* commit '70ff0c212262309e381d00636bf66d231a2a9dfb':
  Fix a bug on rotation with selection.
2014-06-06 03:14:27 +00:00
Jean Chalard 70ff0c2122 Merge "Fix a bug on rotation with selection." 2014-06-06 03:12:12 +00:00
Jean Chalard 9fd9a68d87 Fix a bug on rotation with selection.
The symptom : when text is selected and the device is rotated,
sometimes the keyboard sets the word as being composed around
the start of the selection. Upon the next rotation this ends up
with the keyboard committing some text in place of the selection.

The cause : another bug in the framework with rotation >.>
The keyboard receives a call to startInput with a wrong cursor
position, namely one that does not represent a selection. The
keyboard sets a composition according to this wrong data. When
the keyboard is rotated again, it commits the text, which takes
the place of the selection.

The solution : actually when restarting input the keyboard
realizes that the cursor position is wrong. We cancel composition
at that time.
For robustness, this change also implements two other defensive
changes : upon call to onUpdateSelection, we actually realize
that the previous values were wrong, so we also fix it at that
time, and in addition, when rotating, we finishComposingText()
instead of commitText() which is less dangerous. Implementing
this later change also allows us to let less internal variables
from InputLogic escape to LatinIME, so it's also a good change
for design.

Bug: 14140799

Change-Id: Ib10de18e53e376ac1bbc8487e13d969828483346
2014-06-06 11:18:23 +09:00
Keisuke Kuroyanagi f91a47a2da am 0ee86446: Merge "Add getMaxFrequencyOfExactMatches() to Dictionary."
* commit '0ee8644666c01431adcc7d651ab1841c61f0bb43':
  Add getMaxFrequencyOfExactMatches() to Dictionary.
2014-06-05 10:10:12 +00:00
Keisuke Kuroyanagi 0ee8644666 Merge "Add getMaxFrequencyOfExactMatches() to Dictionary." 2014-06-05 10:07:59 +00:00
Keisuke Kuroyanagi d988fcc93d Add getMaxFrequencyOfExactMatches() to Dictionary.
Bug: 13142176
Bug: 15428247
Change-Id: I93b44ef40cafb6b811c68fa79f3a4971fc3916a5
2014-06-05 19:05:58 +09:00
Tadashi G. Takaoka 6357f63298 am 0dbf15f1: Merge "Rename some boolean variables for readability"
* commit '0dbf15f1528276105b434e50217dc5964f6bb63e':
  Rename some boolean variables for readability
2014-06-05 09:35:39 +00:00
Tadashi G. Takaoka c7b35c7d05 am a12d431c: Merge "Refactor show voice key preferece migration code"
* commit 'a12d431c868c7e3e7a24da7a62d07f7835a22766':
  Refactor show voice key preferece migration code
2014-06-05 09:35:37 +00:00
Tadashi G. Takaoka 0dbf15f152 Merge "Rename some boolean variables for readability" 2014-06-05 09:33:05 +00:00
Tadashi G. Takaoka a12d431c86 Merge "Refactor show voice key preferece migration code" 2014-06-05 09:33:03 +00:00
Keisuke Kuroyanagi 369bb9679d am d6b89e17: Add jni method for getMaxFrequencyOfExactMatches().
* commit 'd6b89e17a678d0f7cb8a4a2c1dafa72a4568b744':
  Add jni method for getMaxFrequencyOfExactMatches().
2014-06-05 09:22:44 +00:00
Tadashi G. Takaoka 2e32e37d5b Rename some boolean variables for readability
Change-Id: I434cf507e68349b9893ac084645986d6b3d7da91
2014-06-05 18:18:46 +09:00
Keisuke Kuroyanagi d6b89e17a6 Add jni method for getMaxFrequencyOfExactMatches().
Bug: 13142176
Bug: 15428247
Change-Id: I2ae25090b67ad0c6df97dec7712e2f7e0bb08c40
2014-06-05 18:16:11 +09:00
Tadashi G. Takaoka fcaf47f007 Refactor show voice key preferece migration code
Change-Id: I4f13e85a3db1ba4adf36c596cb23827bdcf93ae7
2014-06-05 15:23:58 +09:00
Baligh Uddin 5703eef9ca Import translations. DO NOT MERGE
Change-Id: Ia9a21cce0283a85dda9cd2fc82e694bf5aa44d00
Auto-generated-cl: translation import
2014-06-04 16:34:29 -07:00
Baligh Uddin f015dadc91 Import translations. DO NOT MERGE
Change-Id: I4f8eb21d9efd205566a5b6397a41f1b7a09576bd
Auto-generated-cl: translation import
2014-06-04 16:34:00 -07:00
Baligh Uddin 3e7e294fe3 Import translations. DO NOT MERGE
Change-Id: Ice980abcc56dc1f432b574ef19e6e082a2cef239
Auto-generated-cl: translation import
2014-06-04 16:32:28 -07:00
Baligh Uddin 14b0d3cf28 Import translations. DO NOT MERGE
Change-Id: I4940a3ccc3daaa41c032022ca1cd97b336ed2b32
Auto-generated-cl: translation import
2014-06-04 16:31:04 -07:00
Jean Chalard 43e28b475a am 9d4d61f9: Merge "Allow multiple shortcuts for a personal dictionary word"
* commit '9d4d61f9c1273cbe1761c5eccb18e6df9a7490bc':
  Allow multiple shortcuts for a personal dictionary word
2014-06-04 13:35:54 +00:00
Jean Chalard 9d4d61f9c1 Merge "Allow multiple shortcuts for a personal dictionary word" 2014-06-04 13:32:45 +00:00
Tadashi G. Takaoka 77fb4247f2 am aea42920: Support more suggestions accessibility mode
* commit 'aea429200e997762cd92744a2b1f3f586fc00b35':
  Support more suggestions accessibility mode
2014-06-04 12:24:41 +00:00
Tadashi G. Takaoka 77150b6c78 am 86e1e1f9: Merge "Support more keys accessibility mode"
* commit '86e1e1f97cc12f7671ebe1386395ac99db6201ed':
  Support more keys accessibility mode
2014-06-04 12:24:40 +00:00
Tadashi G. Takaoka 4d6f4b9533 am 70a1352c: Merge "Add onRegisterHoverKey to accessibility delegate"
* commit '70a1352cb9df0b069833bcfca8f30853911b81ca':
  Add onRegisterHoverKey to accessibility delegate
2014-06-04 12:24:38 +00:00
Jean Chalard a0af828eac am 4c911427: Merge "Don\'t recapitalize just at the start of input"
* commit '4c911427712382c3f020f9c0022f5c1ea29cdede':
  Don't recapitalize just at the start of input
2014-06-04 12:24:37 +00:00
Jean Chalard 04d9d50a60 am 07706dc3: Merge "Refactoring"
* commit '07706dc3476845b5e05e0f04a326437a0304fd33':
  Refactoring
2014-06-04 12:24:35 +00:00
Tadashi G. Takaoka aea429200e Support more suggestions accessibility mode
Bug: 12491371
Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308
2014-06-04 19:45:38 +09:00
Tadashi G. Takaoka 86e1e1f97c Merge "Support more keys accessibility mode" 2014-06-04 10:23:16 +00:00
Tadashi G. Takaoka 62316d7e82 Support more keys accessibility mode
Bug: 12491371
Change-Id: Ib1fc8affbccfbaca3424ecdc2812f47047106aa2
2014-06-04 19:13:41 +09:00
Jean Chalard f8b4524c0e Allow multiple shortcuts for a personal dictionary word
Bug: 13869301
Change-Id: Icd77a308f85cc16dccffe65a532471c738d6fbc5
2014-06-04 18:01:50 +09:00
Tadashi G. Takaoka 70a1352cb9 Merge "Add onRegisterHoverKey to accessibility delegate" 2014-06-04 08:56:48 +00:00
Tadashi G. Takaoka 1a0cd0869d Add onRegisterHoverKey to accessibility delegate
Bug: 12491371
Change-Id: I8c5b1e91f41146a023edcc405e6120c0bf33f49b
2014-06-04 17:49:48 +09:00
Jean Chalard 4c91142771 Merge "Don't recapitalize just at the start of input" 2014-06-04 08:29:20 +00:00
Jean Chalard 07706dc347 Merge "Refactoring" 2014-06-04 07:43:31 +00:00
Jean Chalard c84b10840e Don't recapitalize just at the start of input
Bug: 13283555
Change-Id: Iab0466425dc44779d110f2cd29d725d22eb04827
2014-06-04 16:29:31 +09:00
Jean Chalard 4a1113b6b0 Refactoring
Rename `initialize' to `start' and `deactivate' to `stop' for ease
of understanding. It's completely bizarre that you can "deactivate"
a recapitalization and that will just restart a new one the next time
you press shift. Start and stop are easier to understand.

Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df
2014-06-04 16:29:29 +09:00
Tadashi G. Takaoka d9342183be am a2b7c07e: Merge "Revert "Pass hover event to accessibility key handling methods""
* commit 'a2b7c07e68c17e27c570eebf7aa58014e38a530d':
  Revert "Pass hover event to accessibility key handling methods"
2014-06-04 07:23:57 +00:00
Tadashi G. Takaoka a2b7c07e68 Merge "Revert "Pass hover event to accessibility key handling methods"" 2014-06-04 07:20:21 +00:00
Tadashi G. Takaoka 2c35f3bdd5 Revert "Pass hover event to accessibility key handling methods"
It turns out passing hover event to accessibility key handling methods
isn't necessary. This parically reverts I1f7feef707.

Bug: 12491371
Change-Id: I9d71cd29723344433427795e44cb22ac41faace6
2014-06-04 16:04:36 +09:00