aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use sorted int[] to represent word separatorsTadashi G. Takaoka2014-01-201-2/+3
| | | | Change-Id: I4103541d99fe59bfcf12379a1298a0a690497846
* Refactor logic to retrieve relevant suggestions a bitTadashi G. Takaoka2014-01-201-1/+2
| | | | Change-Id: Ic7d2cbb2c1b2deaa4e735484bdc7413c0b3b1939
* Refactor RichInputConnection a bitTadashi G. Takaoka2014-01-171-4/+5
| | | | Change-Id: I866488a47ca04ca587e805663dfd597bb7b1ebce
* [IL60] Make InputLogicHandler package privateJean Chalard2014-01-171-2/+1
| | | | | | | Yay Bug: 8636060 Change-Id: Iad9c3804504635094e861999198f4baf70e61955
* [IL59] Rename a methodJean Chalard2014-01-171-1/+1
| | | | | | | Um... this is not async ? Remove that from the name Bug: 8636060 Change-Id: Ida5f9bd6929eae75103eb2e3fb866ed7468af806
* [IL58] SimplificationJean Chalard2014-01-171-2/+0
| | | | | | | | 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
* [IL56] Don't erase suggestions when reverting a commit.Jean Chalard2014-01-161-12/+40
| | | | | Bug: 12297051 Change-Id: Iffa1c98b8fe2b816c3ac6bc171037288107f637d
* Pass time stamp to addToUserHistory method as an argumentTadashi G. Takaoka2014-01-141-1/+7
| | | | | Bug: 12179576 Change-Id: I93037ee2aa7c0432400fe2f93fb60d2e60f70f5f
* [IL55] Remove a useless argument.Jean Chalard2014-01-101-15/+2
| | | | Change-Id: I0b3a6cdf49038c32194413c21da824784a53f581
* [IL54.5] Use the cursor pos estimate, not the last valueJean Chalard2014-01-101-80/+36
| | | | | | | | 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
* [IL54] Add a mirror method to fix the cursor pos estimateJean Chalard2014-01-101-0/+2
| | | | | | | This just mirrors what InputLogic#tryFixLyingCursorPosition is doing. That method will go away in the next change. Change-Id: Ifa2827dbc1f1d20e2c642d6f2d23514a01ed9203
* Fix an NPE.Jean Chalard2014-01-102-3/+31
| | | | | Bug: 12397228 Change-Id: I7632931f0685fc8f0558946be66025b2bb2b5a3d
* Passing SpacingAndPunctuations to RichInputConnection.getNthPreviousWordsTadashi G. Takaoka2014-01-091-9/+13
| | | | Change-Id: I174c50f509ed6998b755e1a712e7f6c0f82f4425
* Revert "Revert "Separate spacing and punctuation related settings values""Jean Chalard2014-01-081-12/+13
| | | | | | This reverts commit 8bc427799a9b7a53103d1edba4a447033fbd8cfa. Change-Id: I34f509998afdb1a7c120fbfdb9f0a1b188224a4d
* Fix a race condition, take 2.Jean Chalard2014-01-081-5/+14
| | | | | | | | | | 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
* Merge "Revert "Separate spacing and punctuation related settings values""Jean Chalard2014-01-081-13/+12
|\
| * Revert "Separate spacing and punctuation related settings values"Jean Chalard2014-01-081-13/+12
| | | | | | | | | | | | | | | | This is conflicting with later changes. Temporary revert for cherry-pick. This reverts commit 0b593ce858d4b406e949f0e809cb77f41da691f9. Change-Id: Id53eadb023a950cfcca496c0cfbfe583c7ec7b8c
* | Revert "Fix a race condition, take 2."Jean Chalard2014-01-081-14/+5
| | | | | | | | | | | | | | | | Conflicts prevent this to be cherry-picked. This reverts commit dd3d697a6e6713d82020dd63cbf78e4f87664484. Change-Id: Ib97fae2234633b4bb27d611f48a79060db9ab16f
* | Fix a race condition, take 2.Jean Chalard2014-01-081-5/+14
| | | | | | | | | | | | | | | | | | | | 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
* | Revert "Revert "Fix a race condition.""Jean Chalard2014-01-081-2/+5
|/ | | | | | This reverts commit 38401272446dbaec785e656b921cfbd31162ba09. Change-Id: I7f0d975ec9e18d94fe3505250360c2b79ccbe96d
* Separate spacing and punctuation related settings valuesTadashi G. Takaoka2014-01-081-12/+13
| | | | | Bug: 12179576 Change-Id: Ibafd824a0ea2251843b388e95dcbd8f9bca92d5c
* [IL52] Remove a useless method.Jean Chalard2013-12-271-38/+23
| | | | | | | | | | | | | | | 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
* [IL51] Make private what can be made privateJean Chalard2013-12-271-6/+4
| | | | | Bug: 8636060 Change-Id: Ifa027de465a421b67897d51e9ad47666dda117ad
* [IL50] Move the InputUpdater out of LatinIME.Jean Chalard2013-12-272-40/+157
| | | | | | | ...at last Bug: 8636060 Change-Id: If5e27a9d28ff64d318dd76792f55edfc8a78d2d7
* [IL49] Move InputLogic-related init code to InputLogic.Jean Chalard2013-12-271-2/+19
| | | | | Bug: 8636060 Change-Id: Ie5027512f066d9c530a686ac559e4649a39bf439
* [IL48] Move onEndBatchInputAsyncInternal to InputLogic.Jean Chalard2013-12-271-0/+41
| | | | | Bug: 8636060 Change-Id: Idfabf7231a80e21786ce1910b5140bb3dddcac7d
* [IL44] Some factorizationJean Chalard2013-12-271-1/+1
| | | | | | | | | 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
* Fix a bug where predictions would not pop upon manual pickJean Chalard2013-12-261-2/+5
| | | | | Bug: 12295276 Change-Id: Id359c92acde44758b12929e7bac719d5c9c7577b
* Merge "Fix a code path that looks ridiculous"Jean Chalard2013-12-261-8/+9
|\
| * Fix a code path that looks ridiculousJean Chalard2013-12-261-8/+9
| | | | | | | | | | Bug: 12295276 Change-Id: I187016b59213d351c943c6e0b9a2ad3708499646
* | [IL43] Small cleanupJean Chalard2013-12-261-1/+1
| | | | | | | | | | | | | | All calls are already passing this Bug: 8636060 Change-Id: I13accefd7c17039dc5ec12dc9e8133ebc86451ad
* | [IL42] Inline getSuggestedWordsOrOlderSuggestionsAsyncJean Chalard2013-12-261-22/+27
|/ | | | | Bug: 8636060 Change-Id: I5c47370a3ea5962caff4d40db2faa62accfc7147
* Extract dict operations from Suggest to a new class.Keisuke Kuroyanagi2013-12-261-2/+3
| | | | | Bug: 8187060 Change-Id: I77775aa50763158d99753c2312fa11fe14267aef
* [IL35] Preparative cleanupJean Chalard2013-12-251-2/+7
| | | | | Bug: 8636060 Change-Id: Id6791085816891c78289b0223bf0807db2da6300
* Merge "[IL34] Introduce InputLogicHandler"Jean Chalard2013-12-252-0/+55
|\
| * [IL34] Introduce InputLogicHandlerJean Chalard2013-12-252-0/+55
| | | | | | | | | | Bug: 8636060 Change-Id: I5d08ed5d69cdb03bd188e36b7014de03f04fa72f
* | Move dict operations to Suggest.Keisuke Kuroyanagi2013-12-251-20/+1
|/ | | | | | Bug: 8187060 Change-Id: Iabe13abcd43b381360f7080b3f4ee0533f246160
* [IL33] Opportunistically remove some KeyboardSwitcherJean Chalard2013-12-241-21/+17
| | | | | Bug: 8636060 Change-Id: I0480ac03b9902e940f566b5558b8499647983968
* [IL32] Remove a useless variableJean Chalard2013-12-201-3/+2
| | | | Change-Id: I8f5d8fd8c1627a568df57255dc3dceda26c4720c
* [IL31] Move *BatchInput to InputLogicJean Chalard2013-12-201-0/+110
| | | | | Bug: 8636060 Change-Id: If0309be038518a71d735108b78ac9efbfe38c82b
* [IL29] Move retryResetCaches and tryFixLyingCursorPositionJean Chalard2013-12-201-0/+68
| | | | | Bug: 8636060 Change-Id: I45b322e4844f023e91b80f9c2e0f7fa0166bcc59
* [IL26] Move restartSuggestionsOnWordTouchedByCursorJean Chalard2013-12-201-0/+124
| | | | | Bug: 8636060 Change-Id: I373874585f4fa663b4207b9a02d751805259eb36
* [IL24] Move mDisplayOrientation to SettingsValues.Jean Chalard2013-12-201-6/+4
| | | | | Bug: 8636060 Change-Id: Id57ced0cca9dc9e5e85c3a53683588feb28c1402
* [IL23] Resolve a long-standing TODO.Jean Chalard2013-12-201-4/+3
| | | | | Bug: 8636060 Change-Id: I3a840c30cc4489debf9118beeec448488503bc1c
* [IL22] Move onTextInput to InputLogic.Jean Chalard2013-12-201-0/+72
| | | | | | | Also pull the TLD specific processing Bug: 8636060 Change-Id: I20931ac6fc6c55a05aa8f8b97b0210c07d230ea2
* [IL21] Move the workaround utils to a better place.Jean Chalard2013-12-201-7/+7
| | | | | Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113
* [IL19] Resolve a TODO.Jean Chalard2013-12-201-1/+1
| | | | | Bug: 8636060 Change-Id: Iec7c1001c46cf8e9a44422e3f9008e437cc5cab6
* [IL18] Move and rename updateSuggestionStripJean Chalard2013-12-201-2/+40
| | | | | Bug: 8636060 Change-Id: I3d00095cd0e83d1ee3834b37ff188b5aa9806fcb
* [IL17] Move commitChosenWord to InputLogic.Jean Chalard2013-12-201-9/+81
| | | | | | | | 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
* [IL15] Some small refactoringJean Chalard2013-12-201-1/+1
| | | | | Bug: 8636060 Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232