aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix overwriting accessibility delegate in setKeyboardTadashi G. Takaoka2014-06-084-12/+34
| | | | | | | | | A keyboard accessibility delegate object should be a singleton for each keyboard view. Bug: 15437933 Bug: 15419386 Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5
* Merge "Refactor logic to determine showing suggestions strip or not"Tadashi G. Takaoka2014-06-063-61/+34
|\
| * Refactor logic to determine showing suggestions strip or notTadashi G. Takaoka2014-06-063-61/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic to determine when the suggestions strip (a.k.a. the contextual strip) should be shown is already complex. In addition to that the voice input key get shown on the strip as well. There are a several factors to be considered and a few things to control. - The password input field shouldn't have the strip. - Show voice input key on the strip or not. - User preference settings "Show Voice Input Key". - A voice IME exists and is enabled. - The input field may have a private IME option to prevent the voice input key from being displayed. - Application can specify auto completions. - Full screen mode or not. - User preference settings "Show correction suggestions". - Always show, Show in portrait mode, Always hide. - The input field may have flags to prevent showing suggestions or auto corrections. - Suggestions is empty or not. - An important notice may be shown. Bug: 14981852 Bug: 15436479 Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750
* | Merge "Make Distracter filter use getMaxFrequencyOfExactMatches()."Keisuke Kuroyanagi2014-06-062-146/+23
|\ \ | |/ |/|
| * Make Distracter filter use getMaxFrequencyOfExactMatches().Keisuke Kuroyanagi2014-06-062-146/+23
| | | | | | | | | | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b
* | Merge "Implement getMaxProbabilityOfExactMatches()."Keisuke Kuroyanagi2014-06-061-0/+1
|\|
| * Implement getMaxProbabilityOfExactMatches().Keisuke Kuroyanagi2014-06-061-0/+1
| | | | | | | | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54
* | Merge "When starting input, include the literal word in suggestions"Jean Chalard2014-06-062-14/+22
|\ \
| * | When starting input, include the literal word in suggestionsJean Chalard2014-06-062-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Always update voice key visibility"Tadashi G. Takaoka2014-06-064-29/+26
|\ \ \ | |/ / |/| |
| * | Always update voice key visibilityTadashi G. Takaoka2014-06-064-29/+26
| |/ | | | | | | | | Bug: 15128166 Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727
* | Merge "Fix a small bug with rotation."Jean Chalard2014-06-061-1/+10
|\ \ | |/ |/|
| * Fix a small bug with rotation.Jean Chalard2014-06-061-1/+10
| | | | | | | | | | Bug: 2349475 Change-Id: Id4aa5ce56b1a545e4cb88ca1b01cf24642deade2
* | Remove unused supportsSwitchingToShortcutIme attributeTadashi G. Takaoka2014-06-068-43/+42
|/ | | | Change-Id: I51c5247ac925a158facb79057f704b763b903552
* Merge "Add action key test for Lxx theme"Tadashi G. Takaoka2014-06-061-18/+27
|\
| * Add action key test for Lxx themeTadashi G. Takaoka2014-06-061-18/+27
| | | | | | | | Change-Id: I849cec7deb5607e8ce8fb25c1f903f15328fb611
* | Merge "Fix a bug on rotation with selection."Jean Chalard2014-06-063-8/+18
|\ \ | |/ |/|
| * Fix a bug on rotation with selection.Jean Chalard2014-06-063-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add getMaxFrequencyOfExactMatches() to Dictionary."Keisuke Kuroyanagi2014-06-054-10/+64
|\ \
| * | Add getMaxFrequencyOfExactMatches() to Dictionary.Keisuke Kuroyanagi2014-06-054-10/+64
| |/ | | | | | | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I93b44ef40cafb6b811c68fa79f3a4971fc3916a5
* | Merge "Rename some boolean variables for readability"Tadashi G. Takaoka2014-06-054-16/+16
|\ \
| * | Rename some boolean variables for readabilityTadashi G. Takaoka2014-06-054-16/+16
| |/ | | | | | | Change-Id: I434cf507e68349b9893ac084645986d6b3d7da91
* | Merge "Refactor show voice key preferece migration code"Tadashi G. Takaoka2014-06-051-8/+8
|\ \
| * | Refactor show voice key preferece migration codeTadashi G. Takaoka2014-06-051-8/+8
| |/ | | | | | | Change-Id: I4f13e85a3db1ba4adf36c596cb23827bdcf93ae7
* / Add jni method for getMaxFrequencyOfExactMatches().Keisuke Kuroyanagi2014-06-051-1/+8
|/ | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I2ae25090b67ad0c6df97dec7712e2f7e0bb08c40
* Merge "Allow multiple shortcuts for a personal dictionary word"Jean Chalard2014-06-041-1/+3
|\
| * Allow multiple shortcuts for a personal dictionary wordJean Chalard2014-06-041-1/+3
| | | | | | | | | | Bug: 13869301 Change-Id: Icd77a308f85cc16dccffe65a532471c738d6fbc5
* | Support more suggestions accessibility modeTadashi G. Takaoka2014-06-043-1/+52
| | | | | | | | | | Bug: 12491371 Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308
* | Merge "Support more keys accessibility mode"Tadashi G. Takaoka2014-06-047-22/+361
|\ \
| * | Support more keys accessibility modeTadashi G. Takaoka2014-06-047-22/+361
| | | | | | | | | | | | | | | Bug: 12491371 Change-Id: Ib1fc8affbccfbaca3424ecdc2812f47047106aa2
* | | Merge "Add onRegisterHoverKey to accessibility delegate"Tadashi G. Takaoka2014-06-041-2/+12
|\| |
| * | Add onRegisterHoverKey to accessibility delegateTadashi G. Takaoka2014-06-041-2/+12
| | | | | | | | | | | | | | | Bug: 12491371 Change-Id: I8c5b1e91f41146a023edcc405e6120c0bf33f49b
* | | Merge "Don't recapitalize just at the start of input"Jean Chalard2014-06-042-7/+21
|\ \ \
| * | | Don't recapitalize just at the start of inputJean Chalard2014-06-042-7/+21
| | | | | | | | | | | | | | | | | | | | Bug: 13283555 Change-Id: Iab0466425dc44779d110f2cd29d725d22eb04827
* | | | Merge "Refactoring"Jean Chalard2014-06-042-16/+16
|\| | | | |/ / |/| |
| * | RefactoringJean Chalard2014-06-042-16/+16
| |/ | | | | | | | | | | | | | | | | 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
* | Merge "Revert "Pass hover event to accessibility key handling methods""Tadashi G. Takaoka2014-06-041-12/+9
|\ \
| * | Revert "Pass hover event to accessibility key handling methods"Tadashi G. Takaoka2014-06-041-12/+9
| |/ | | | | | | | | | | | | | | It turns out passing hover event to accessibility key handling methods isn't necessary. This parically reverts I1f7feef707. Bug: 12491371 Change-Id: I9d71cd29723344433427795e44cb22ac41faace6
* | Merge "Add a preference item for metrics logging"Yohei Yukawa2014-06-041-0/+15
|\ \
| * | Add a preference item for metrics loggingYohei Yukawa2014-06-041-0/+15
| | | | | | | | | | | | | | | BUG: 14324207 Change-Id: Idc8582655bc73cb24e416e8ba78470209b2ff702
* | | Merge "Reorder keys around the spacebar"Tadashi G. Takaoka2014-06-041-2/+2
|\ \ \ | |_|/ |/| |
| * | Reorder keys around the spacebarTadashi G. Takaoka2014-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL reorders keys around the spacebar. - On phone's symbols and symbols shift layout, the comma key is moved to the left of the spacebar to aligned with main layout. - On tablet's layout, the comma key is moved to the left of the spacebar on all layout to aligned with the same layout of phone's. Also the comma key has "settings" as more keys. - In Arabic and Perisan, the comma key of tablet already has some more keys This CL remove "/" and add "settings" instead. Bug: 15281451 Change-Id: I6e0e75e4d4abfb1f356e7499be91424c7c57c58b
* | | Load KeyCodeDescriptionMapper class lazilyTadashi G. Takaoka2014-06-034-20/+9
|/ / | | | | | | Change-Id: I2cba2bb5b2f449ed29895365b9c6ca285a7640fe
* | Merge "Fix synthesizing MotionEvent"Tadashi G. Takaoka2014-06-031-9/+5
|\ \
| * | Fix synthesizing MotionEventTadashi G. Takaoka2014-06-031-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | KeyboardAccessibilityDelegate.synthesizeTouchEvent() wrongly passed pointer's id as a 6th argument of MotionEvent.obtain method that should be metaState. Change-Id: I822f9647a1ba27ee8cee39f373f6a1c003ebf665
* | | Fix PointerTracker debug output to reflect new KeyDetectorTadashi G. Takaoka2014-06-031-1/+1
|/ / | | | | | | Change-Id: I913ec290ddfd0ae4cc6e600ba95b7442167f0989
* / More concise Key.toString()Tadashi G. Takaoka2014-06-032-12/+23
|/ | | | Change-Id: I0ef983f54e828193e9c7e4a10c888f72702d499c
* Merge "Create AccessibilityDelegate only when accessibility mode is on"Tadashi G. Takaoka2014-06-021-10/+16
|\
| * Create AccessibilityDelegate only when accessibility mode is onTadashi G. Takaoka2014-06-021-10/+16
| | | | | | | | Change-Id: I4cbae476d16723778b46ff765dd97832f279785f
* | Merge "Fix an IOOB exception"Jean Chalard2014-06-021-4/+7
|\ \ | |/ |/|