aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Revert "Revert "Separate spacing and punctuation related settings values""•••This reverts commit 8bc427799a9b7a53103d1edba4a447033fbd8cfa. Change-Id: I34f509998afdb1a7c120fbfdb9f0a1b188224a4d Jean Chalard2014-01-081-12/+13
* Fix a race condition, take 2.•••Don't use absolute cursor positions when making edits, this leads to race conditions. This is a bit ugly and will need to be fixed soon. Plans are underway to clean this up. Bug: 12390573 Change-Id: I69c09fc41b979880d0800c55a710e39373287cff Jean Chalard2014-01-081-5/+14
* Merge "Revert "Separate spacing and punctuation related settings values""Jean Chalard2014-01-081-13/+12
|\
| * Revert "Separate spacing and punctuation related settings values"•••This is conflicting with later changes. Temporary revert for cherry-pick. This reverts commit 0b593ce858d4b406e949f0e809cb77f41da691f9. Change-Id: Id53eadb023a950cfcca496c0cfbfe583c7ec7b8c Jean Chalard2014-01-081-13/+12
* | Revert "Fix a race condition, take 2."•••Conflicts prevent this to be cherry-picked. This reverts commit dd3d697a6e6713d82020dd63cbf78e4f87664484. Change-Id: Ib97fae2234633b4bb27d611f48a79060db9ab16f Jean Chalard2014-01-081-14/+5
* | Fix a race condition, take 2.•••Don't use absolute cursor positions when making edits, this leads to race conditions. This is a bit ugly and will need to be fixed soon. Plans are underway to clean this up. Bug: 12390573 Change-Id: Ib42d4149343c642b1b5c1937b424e8afdbd4cc1f Jean Chalard2014-01-081-5/+14
* | Revert "Revert "Fix a race condition.""•••This reverts commit 38401272446dbaec785e656b921cfbd31162ba09. Change-Id: I7f0d975ec9e18d94fe3505250360c2b79ccbe96d Jean Chalard2014-01-081-2/+5
|/
* Separate spacing and punctuation related settings values•••Bug: 12179576 Change-Id: Ibafd824a0ea2251843b388e95dcbd8f9bca92d5c Tadashi G. Takaoka2014-01-081-12/+13
* [IL52] Remove a useless method.•••This old method doesn't even re-read the old suggestions. It used to recompute them without the coordinates. Re-using the recorrection code, which is much more advanced, is the right thing to do here. Also, refining the test. It's no use trying to resume suggestion if we don't have a suggestion strip, since we aren't going to auto-correct anything anyway. Not the motivation for this change, but this also fixes Bug: 11620256 Change-Id: Id49efa32e293c49837c61fdc752c86bbac1d2c88 Jean Chalard2013-12-271-38/+23
* [IL51] Make private what can be made private•••Bug: 8636060 Change-Id: Ifa027de465a421b67897d51e9ad47666dda117ad Jean Chalard2013-12-271-6/+4
* [IL50] Move the InputUpdater out of LatinIME.•••...at last Bug: 8636060 Change-Id: If5e27a9d28ff64d318dd76792f55edfc8a78d2d7 Jean Chalard2013-12-271-39/+33
* [IL49] Move InputLogic-related init code to InputLogic.•••Bug: 8636060 Change-Id: Ie5027512f066d9c530a686ac559e4649a39bf439 Jean Chalard2013-12-271-2/+19
* [IL48] Move onEndBatchInputAsyncInternal to InputLogic.•••Bug: 8636060 Change-Id: Idfabf7231a80e21786ce1910b5140bb3dddcac7d Jean Chalard2013-12-271-0/+41
* [IL44] Some factorization•••This sheds some light on what's happening here. Some comments were at least misleading, maybe indicating something is not sequenced as intended. Bug: 8636060 Change-Id: Ia74feb457a39fe4a672c27fe4203264fda940f04 Jean Chalard2013-12-271-1/+1
* Fix a bug where predictions would not pop upon manual pick•••Bug: 12295276 Change-Id: Id359c92acde44758b12929e7bac719d5c9c7577b Jean Chalard2013-12-261-2/+5
* Merge "Fix a code path that looks ridiculous"Jean Chalard2013-12-261-8/+9
|\
| * Fix a code path that looks ridiculous•••Bug: 12295276 Change-Id: I187016b59213d351c943c6e0b9a2ad3708499646 Jean Chalard2013-12-261-8/+9
* | [IL43] Small cleanup•••All calls are already passing this Bug: 8636060 Change-Id: I13accefd7c17039dc5ec12dc9e8133ebc86451ad Jean Chalard2013-12-261-1/+1
* | [IL42] Inline getSuggestedWordsOrOlderSuggestionsAsync•••Bug: 8636060 Change-Id: I5c47370a3ea5962caff4d40db2faa62accfc7147 Jean Chalard2013-12-261-22/+27
|/
* Extract dict operations from Suggest to a new class.•••Bug: 8187060 Change-Id: I77775aa50763158d99753c2312fa11fe14267aef Keisuke Kuroyanagi2013-12-261-2/+3
* [IL35] Preparative cleanup•••Bug: 8636060 Change-Id: Id6791085816891c78289b0223bf0807db2da6300 Jean Chalard2013-12-251-2/+7
* Merge "[IL34] Introduce InputLogicHandler"Jean Chalard2013-12-251-0/+6
|\
| * [IL34] Introduce InputLogicHandler•••Bug: 8636060 Change-Id: I5d08ed5d69cdb03bd188e36b7014de03f04fa72f Jean Chalard2013-12-251-0/+6
* | Move dict operations to Suggest.•••Bug: 8187060 Change-Id: Iabe13abcd43b381360f7080b3f4ee0533f246160 Keisuke Kuroyanagi2013-12-251-20/+1
|/
* [IL33] Opportunistically remove some KeyboardSwitcher•••Bug: 8636060 Change-Id: I0480ac03b9902e940f566b5558b8499647983968 Jean Chalard2013-12-241-21/+17
* [IL32] Remove a useless variable•••Change-Id: I8f5d8fd8c1627a568df57255dc3dceda26c4720c Jean Chalard2013-12-201-3/+2
* [IL31] Move *BatchInput to InputLogic•••Bug: 8636060 Change-Id: If0309be038518a71d735108b78ac9efbfe38c82b Jean Chalard2013-12-201-0/+110
* [IL29] Move retryResetCaches and tryFixLyingCursorPosition•••Bug: 8636060 Change-Id: I45b322e4844f023e91b80f9c2e0f7fa0166bcc59 Jean Chalard2013-12-201-0/+68
* [IL26] Move restartSuggestionsOnWordTouchedByCursor•••Bug: 8636060 Change-Id: I373874585f4fa663b4207b9a02d751805259eb36 Jean Chalard2013-12-201-0/+124
* [IL24] Move mDisplayOrientation to SettingsValues.•••Bug: 8636060 Change-Id: Id57ced0cca9dc9e5e85c3a53683588feb28c1402 Jean Chalard2013-12-201-6/+4
* [IL23] Resolve a long-standing TODO.•••Bug: 8636060 Change-Id: I3a840c30cc4489debf9118beeec448488503bc1c Jean Chalard2013-12-201-4/+3
* [IL22] Move onTextInput to InputLogic.•••Also pull the TLD specific processing Bug: 8636060 Change-Id: I20931ac6fc6c55a05aa8f8b97b0210c07d230ea2 Jean Chalard2013-12-201-0/+72
* [IL21] Move the workaround utils to a better place.•••Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113 Jean Chalard2013-12-201-7/+7
* [IL19] Resolve a TODO.•••Bug: 8636060 Change-Id: Iec7c1001c46cf8e9a44422e3f9008e437cc5cab6 Jean Chalard2013-12-201-1/+1
* [IL18] Move and rename updateSuggestionStrip•••Bug: 8636060 Change-Id: I3d00095cd0e83d1ee3834b37ff188b5aa9806fcb Jean Chalard2013-12-201-2/+40
* [IL17] Move commitChosenWord to InputLogic.•••Also not-cache a value whose documentation says not to cache it. That makes it write only, so remove it. Bug: 8636060 Change-Id: I39798a039cebf79ad78a41fe457c9d9764a3f275 Jean Chalard2013-12-201-9/+81
* [IL15] Some small refactoring•••Bug: 8636060 Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232 Jean Chalard2013-12-201-1/+1
* [IL14] Move getCurrent*Caps* to InputLogic•••Bug: 8636060 Change-Id: I6338dcee0f7a80f2181ba0369f71350cb21d231a Jean Chalard2013-12-201-5/+43
* [IL13] Inline restartSuggestionsOnWordBeforeCursor•••It's only ever used in one place and makes unhealthy assumptions about what the caller is doing. It's better inlined. Bug: 8636060 Change-Id: I265d5d96894e929d09247ee2e3dc2e81efc2a276 Jean Chalard2013-12-191-22/+10
* [IL12] move restartSuggestions* to InputLogic•••Bug: 8636060 Change-Id: I99474248e8fa35eb3053b5520abc8716805fdfb4 Jean Chalard2013-12-191-1/+44
* [IL11] Cleanup•••Make some methods private and add comments. Bug: 8636060 Change-Id: I6c7d13dca8a22dd1a6f110e8b18d52864429579f Jean Chalard2013-12-191-36/+180
* [IL10] Move revertCommit to InputLogic•••Bug: 8636060 Change-Id: Ia5788b365f05ae880bad957cbef00ecc93abb5d1 Jean Chalard2013-12-191-1/+65
* [IL9] Move commitCurrentAutoCorrection to InputLogic•••Bug: 8636060 Change-Id: I405c4a537858a6d5ab0b29502a2792e8c3b2564e Jean Chalard2013-12-191-1/+45
* [IL8] Move handleNonSeparator to InputLogic•••Also move getActualCapsMode and getNthPreviousWordForSuggestion Bug: 8636060 Change-Id: I1ee9162d0b7a517070c4b7420b084c973f061533 Jean Chalard2013-12-191-1/+137
* [IL7] Move performRecapitalization to InputLogic•••Bug: 8636060 Change-Id: I5bf2b1fa2f9338fe28151e66eac1ceda6dbd4a7f Jean Chalard2013-12-191-4/+41
* [IL6] Move handleSeparator to InputLogic•••Also move swapSwapperAndSpace, maybeDoubleSpacePeriod, maybeStripSpace, promotePhantomSpace and canBeFollowedByDoubleSpacePeriod Bug: 8636060 Change-Id: I864053d21c4b3d51ee7a3cd79053ca602337f6f8 Jean Chalard2013-12-191-6/+203
* [IL5] Some renaming•••Bug: 8636060 Change-Id: Id76889f8405458bcacb9c7c694cb193b27b842f3 Jean Chalard2013-12-191-14/+14
* [IL4] Move handleNonSpecialCharacter to InputLogic.•••Bug: 8636060 Change-Id: I9c6869c85db49d7f87e95a421389eaf47ae3ab2e Jean Chalard2013-12-191-7/+58
* [IL3] Move handleBackspace to InputLogic.•••Also move resetEntireInputState, resetComposingState, sendDownUpKeyEvent, sendKeyCodePoint and getTextWithUnderline Bug: 8636060 Change-Id: Ic4c270ac49769ffba41dc3f12d16ac3aa938717f Jean Chalard2013-12-191-4/+223
* [IL2] Move onCodeInput to InputLogic.•••Bug: 8636060 Change-Id: I8c5c028d81183adb0167b2034ee01de8048edafb Jean Chalard2013-12-191-0/+189