aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove unused supportsSwitchingToShortcutIme attribute•••Change-Id: I51c5247ac925a158facb79057f704b763b903552 Tadashi G. Takaoka2014-06-063-3/+22
* Merge "Fix a bug on rotation with selection."Jean Chalard2014-06-063-8/+18
|\
| * 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 Jean Chalard2014-06-063-8/+18
* | Merge "Add getMaxFrequencyOfExactMatches() to Dictionary."Keisuke Kuroyanagi2014-06-054-10/+64
|\ \
| * | Add getMaxFrequencyOfExactMatches() to Dictionary.•••Bug: 13142176 Bug: 15428247 Change-Id: I93b44ef40cafb6b811c68fa79f3a4971fc3916a5 Keisuke Kuroyanagi2014-06-054-10/+64
| |/
* | Merge "Rename some boolean variables for readability"Tadashi G. Takaoka2014-06-054-16/+16
|\ \
| * | Rename some boolean variables for readability•••Change-Id: I434cf507e68349b9893ac084645986d6b3d7da91 Tadashi G. Takaoka2014-06-054-16/+16
| |/
* | Merge "Refactor show voice key preferece migration code"Tadashi G. Takaoka2014-06-051-8/+8
|\ \
| * | Refactor show voice key preferece migration code•••Change-Id: I4f13e85a3db1ba4adf36c596cb23827bdcf93ae7 Tadashi G. Takaoka2014-06-051-8/+8
| |/
* / Add jni method for getMaxFrequencyOfExactMatches().•••Bug: 13142176 Bug: 15428247 Change-Id: I2ae25090b67ad0c6df97dec7712e2f7e0bb08c40 Keisuke Kuroyanagi2014-06-051-1/+8
|/
* Merge "Allow multiple shortcuts for a personal dictionary word"Jean Chalard2014-06-041-1/+3
|\
| * Allow multiple shortcuts for a personal dictionary word•••Bug: 13869301 Change-Id: Icd77a308f85cc16dccffe65a532471c738d6fbc5 Jean Chalard2014-06-041-1/+3
* | Support more suggestions accessibility mode•••Bug: 12491371 Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308 Tadashi G. Takaoka2014-06-041-0/+14
* | Merge "Support more keys accessibility mode"Tadashi G. Takaoka2014-06-041-4/+16
|\ \
| * | Support more keys accessibility mode•••Bug: 12491371 Change-Id: Ib1fc8affbccfbaca3424ecdc2812f47047106aa2 Tadashi G. Takaoka2014-06-041-4/+16
* | | Merge "Don't recapitalize just at the start of input"Jean Chalard2014-06-042-7/+21
|\ \ \
| * | | Don't recapitalize just at the start of input•••Bug: 13283555 Change-Id: Iab0466425dc44779d110f2cd29d725d22eb04827 Jean Chalard2014-06-042-7/+21
* | | | Merge "Refactoring"Jean Chalard2014-06-042-16/+16
|\| | | | |/ / |/| |
| * | 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 Jean Chalard2014-06-042-16/+16
| |/
* | Merge "Add a preference item for metrics logging"Yohei Yukawa2014-06-041-0/+15
|\ \ | |/ |/|
| * Add a preference item for metrics logging•••BUG: 14324207 Change-Id: Idc8582655bc73cb24e416e8ba78470209b2ff702 Yohei Yukawa2014-06-041-0/+15
* | More concise Key.toString()•••Change-Id: I0ef983f54e828193e9c7e4a10c888f72702d499c Tadashi G. Takaoka2014-06-031-4/+6
|/
* Fix an IOOB exception•••Bug: 14602663 Change-Id: Ie2060931df911b44230d5a5ba268f687cbdd0dc8 Jean Chalard2014-06-021-4/+7
* Make prevWord = null if the next word starts from a connector.•••This fixes PunctuationTests# testAutoCorrectionWithSingleQuotesAround. Bug: 14119293 Bug: 15334309 Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01 Keisuke Kuroyanagi2014-05-302-9/+27
* Limit recapitalization for reasonable performance.•••At 100k text, it's reasonably fast (less than 1s on latest hardware). Bug: 12913404 Change-Id: I426b918b2610af24364934a1c37a7314f1142ad0 Jean Chalard2014-05-302-9/+16
* Merge "Remove LatinImeLogger and UsabilityStudyLogUtils"Tadashi G. Takaoka2014-05-299-675/+16
|\
| * Remove LatinImeLogger and UsabilityStudyLogUtils•••This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc Tadashi G. Takaoka2014-05-299-676/+16
* | Merge "Remove PrioritizedSerialExecutor."Keisuke Kuroyanagi2014-05-292-143/+25
|\ \
| * | Remove PrioritizedSerialExecutor.•••Bug: 15320560 Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e Keisuke Kuroyanagi2014-05-292-143/+25
| |/
* / Fix: too many calls to getSuggestedWordsForTypingInput•••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 Jean Chalard2014-05-292-3/+11
|/
* Merge "Remove researcher logger"Tadashi G. Takaoka2014-05-299-161/+4
|\
| * Remove researcher logger•••This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb Tadashi G. Takaoka2014-05-299-161/+4
* | Clean up for Iba6eeb7981634e7ddb.•••Bug: 15298959 Change-Id: I6921db77b7d231ad3aad99d4c380ae2ed6bbf540 Keisuke Kuroyanagi2014-05-292-12/+11
|/
* Stop directly checking SuggestedWordInfo.mKind•••Bug: 15298959 Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f Keisuke Kuroyanagi2014-05-286-26/+39
* Add TODO comment about SuggestedWordInfo's kind and flags•••This CL must be checked in together with I6fd87e1eec. Change-Id: I4b24157f3e3ce6327579d37122a34d7a30069885 Tadashi G. Takaoka2014-05-281-0/+6
* Return whether the dynamic dict operation was success.•••Bug: 12184250 Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466 Keisuke Kuroyanagi2014-05-273-30/+57
* Merge "Add thread name for PrioritizedSerialExecutor."Keisuke Kuroyanagi2014-05-272-7/+22
|\
| * Add thread name for PrioritizedSerialExecutor.•••Bug: 15270123 Change-Id: I655ba97f0543476980d0e8461bc1c8a56c9f954b Keisuke Kuroyanagi2014-05-272-7/+22
* | Merge "Stop filtering out when perfect freq > top non-perfect freq."Keisuke Kuroyanagi2014-05-272-3/+17
|\ \ | |/ |/|
| * Stop filtering out when perfect freq > top non-perfect freq.•••Bug: 13142176 Change-Id: I0290df918a5bd5018bf55231dc462d5e797155c6 Keisuke Kuroyanagi2014-05-272-3/+17
* | Move MoreSuggestionsListener to MoreSuggestionsView•••Change-Id: I3b5bc630bf73a357ed0beeec0b555149ef248313 Tadashi G. Takaoka2014-05-273-8/+7
* | Merge "Apply distracter filter for UserHistoryDictionary."Keisuke Kuroyanagi2014-05-265-18/+40
|\|
| * Apply distracter filter for UserHistoryDictionary.•••Bug: 13142176 Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978 Keisuke Kuroyanagi2014-05-275-18/+40
* | Merge "Apply distracter filter for in-vocabulary words."Keisuke Kuroyanagi2014-05-261-16/+13
|\|
| * Apply distracter filter for in-vocabulary words.•••Bug: 13142176 Change-Id: I4db763783a2f8b9a0df0df951db3223f70748870 Keisuke Kuroyanagi2014-05-261-16/+13
* | Merge "Use whether it's exact match to detect distracters."Keisuke Kuroyanagi2014-05-265-56/+47
|\|
| * Use whether it's exact match to detect distracters.•••Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf Keisuke Kuroyanagi2014-05-265-56/+47
* | Keep showing important notice when "show correction suggestions" is off•••When 1. The important notice message is shown on the suggestions strip. 2. And the "Show correction suggestions" settings is off. we will keep showing the important notice message on the suggestion strip. Bug: 13741460 Change-Id: I411007ab1e5e6959b6cdba7a6601a84635259313 Tadashi G. Takaoka2014-05-263-7/+16
|/
* Use ViewCompat support library and delete ViewCompatUtils•••Change-Id: I57d60cacd86e83894294c3f64402aba8c1829872 Tadashi G. Takaoka2014-05-243-14/+17
* Revert "Use ViewCompat support library and delete ViewCompatUtils"•••This reverts commit db21267b788592ce99b9fb052801c6ec90bfe7b6. The reverting change breaks build in unbundled jb-ub-latinimegoole branch. Change-Id: Ia61424f5321eb97f981d22c4b08e9ea8d348f6c1 Tadashi G. Takaoka2014-05-234-10/+10