aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* [IL62] Pull up X,Y processing, step 1•••This is fine because getKey{X,Y} is idempotent for any non-keyboard coordinate value. However this makes a net change : the x,y values passed to LatinImeLoggerUtils.onNonSeparator are now different. The point is however that they used to be wrong. The logged values used not to account for the keyboard padding that is present on tablets, and in the simulating tools we don't know about that padding so we couldn't use the coordinates. The catch here is that other calls like LoggerUtils.onSeparator should follow suit, but this is too big a change to do it at once. Follow-up changes will fix them too. Bug: 8636060 Change-Id: If4b3d3cb1ed4b44c35f23e66aba3b5797236bba7 Jean Chalard2014-01-221-8/+9
* Merge "[IL61] Remove an internal use of key coordinates"Jean Chalard2014-01-221-9/+9
|\
| * [IL61] Remove an internal use of key coordinates•••Bug: 8636060 Change-Id: Id87b0ac4a99ec6a26db6e250d6cd22defc02a23d Jean Chalard2014-01-171-9/+9
* | Use sorted int[] to represent word separators•••Change-Id: I4103541d99fe59bfcf12379a1298a0a690497846 Tadashi G. Takaoka2014-01-201-2/+3
* | Refactor logic to retrieve relevant suggestions a bit•••Change-Id: Ic7d2cbb2c1b2deaa4e735484bdc7413c0b3b1939 Tadashi G. Takaoka2014-01-201-1/+2
* | Refactor RichInputConnection a bit•••Change-Id: I866488a47ca04ca587e805663dfd597bb7b1ebce Tadashi G. Takaoka2014-01-171-4/+5
|/
* [IL59] Rename a method•••Um... this is not async ? Remove that from the name Bug: 8636060 Change-Id: Ida5f9bd6929eae75103eb2e3fb866ed7468af806 Jean Chalard2014-01-171-1/+1
* [IL58] Simplification•••No need to test multiple times for this. Let's just never do useless stuff, and only test for that once. Bug: 8636060 Change-Id: I50a9e4da769fbec44fbb12eedfed03aad924cc2c Jean Chalard2014-01-171-2/+0
* [IL56] Don't erase suggestions when reverting a commit.•••Bug: 12297051 Change-Id: Iffa1c98b8fe2b816c3ac6bc171037288107f637d Jean Chalard2014-01-161-12/+40
* Pass time stamp to addToUserHistory method as an argument•••Bug: 12179576 Change-Id: I93037ee2aa7c0432400fe2f93fb60d2e60f70f5f Tadashi G. Takaoka2014-01-141-1/+7
* [IL55] Remove a useless argument.•••Change-Id: I0b3a6cdf49038c32194413c21da824784a53f581 Jean Chalard2014-01-101-15/+2
* [IL54.5] Use the cursor pos estimate, not the last value•••For edit tasks, the estimate is actually the right thing to use. This is really dangerous, but it will get rid of pretty much all race conditions. Change-Id: I2d5ca3ce45e32f1bd9c8b778421fd54b9c1f6f63 Jean Chalard2014-01-101-80/+36
* [IL54] Add a mirror method to fix the cursor pos estimate•••This just mirrors what InputLogic#tryFixLyingCursorPosition is doing. That method will go away in the next change. Change-Id: Ifa2827dbc1f1d20e2c642d6f2d23514a01ed9203 Jean Chalard2014-01-101-0/+2
* Fix an NPE.•••Bug: 12397228 Change-Id: I7632931f0685fc8f0558946be66025b2bb2b5a3d Jean Chalard2014-01-101-3/+4
* Passing SpacingAndPunctuations to RichInputConnection.getNthPreviousWords•••Change-Id: I174c50f509ed6998b755e1a712e7f6c0f82f4425 Tadashi G. Takaoka2014-01-091-9/+13
* 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