aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
|\ \ | |/ |/|
| * Fix an IOOB exceptionJean Chalard2014-06-021-4/+7
| | | | | | | | | | Bug: 14602663 Change-Id: Ie2060931df911b44230d5a5ba268f687cbdd0dc8
* | Pass hover event to accessibility key handling methodsTadashi G. Takaoka2014-06-021-12/+15
| | | | | | | | | | Bug: 12491371 Change-Id: I1f7feef707b95e8862db71cbc4f6f5585a2441dd
* | Add verbalization of symbols that are unsupported by TTS/TalkBackTadashi G. Takaoka2014-06-021-2/+26
| | | | | | | | | | Bug: 13336905 Change-Id: Iefd117fa7b30b8ba240590b13b03d7044fd37ede
* | Fix to clear on hover visual cueTadashi G. Takaoka2014-06-021-13/+17
|/ | | | | Bug: 12491371 Change-Id: Ib7ca91ae73aa40e45ea5f6d4e53348a261a4b823
* Refactor MoreKeysKeyboardView a bitTadashi G. Takaoka2014-06-022-25/+26
| | | | | Bug: 12491371 Change-Id: I3ce1e6557e41a94146b882751f75ae4b5f6bc73d
* am 61a8a66c: Merge "Workaround to draw spacebar icon of emoji palettes" into ↵Tadashi G. Takaoka2014-05-302-7/+10
|\ | | | | | | | | | | | | lmp-preview-dev * commit '61a8a66ccac1de7e146344dd77c8be84aa8daf33': Workaround to draw spacebar icon of emoji palettes
| * Workaround to draw spacebar icon of emoji palettesTadashi G. Takaoka2014-05-302-7/+10
| | | | | | | | | | Bug: 15321822 Change-Id: Iab7cef83ffdf91c877c3ed2e59d412496b516e1c
* | Make prevWord = null if the next word starts from a connector.Keisuke Kuroyanagi2014-05-302-9/+27
| | | | | | | | | | | | | | | | | | | | This fixes PunctuationTests# testAutoCorrectionWithSingleQuotesAround. Bug: 14119293 Bug: 15334309 Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
* | Limit recapitalization for reasonable performance.Jean Chalard2014-05-302-9/+16
| | | | | | | | | | | | | | At 100k text, it's reasonably fast (less than 1s on latest hardware). Bug: 12913404 Change-Id: I426b918b2610af24364934a1c37a7314f1142ad0
* | am 761a6812: Don\'t reuse main keyboard\'s spacebar icon for Emoji paletteTadashi G. Takaoka2014-05-292-5/+17
|\| | | | | | | | | * commit '761a6812312c48d04bcb91e5c4448364c4925731': Don't reuse main keyboard's spacebar icon for Emoji palette
| * Don't reuse main keyboard's spacebar icon for Emoji paletteTadashi G. Takaoka2014-05-292-5/+17
| | | | | | | | | | Bug: 15321822 Change-Id: I6a5a865364fb98e0ebb6206d80d5629bbcb817b8
* | Merge "Remove LatinImeLogger and UsabilityStudyLogUtils"Tadashi G. Takaoka2014-05-2913-760/+17
|\ \
| * | Remove LatinImeLogger and UsabilityStudyLogUtilsTadashi G. Takaoka2014-05-2913-761/+17
| | | | | | | | | | | | | | | | | | | | | This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
* | | Merge "Remove PrioritizedSerialExecutor."Keisuke Kuroyanagi2014-05-292-143/+25
|\ \ \
| * | | Remove PrioritizedSerialExecutor.Keisuke Kuroyanagi2014-05-292-143/+25
| |/ / | | | | | | | | | | | | Bug: 15320560 Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
* / / Fix: too many calls to getSuggestedWordsForTypingInputJean Chalard2014-05-292-3/+11
|/ / | | | | | | | | | | | | | | | | | | | | This reverts commit d941ea18 and builds on it to fix the behavior of the broken cases. It also fixes a small, related bug that probably has existed for a very long time: predictions not displayed when cancelling double-space-to-period. Bug: 15148015 Change-Id: I1f9358f8b6f5804f831643611576be347e83999d