aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [IL42] Inline getSuggestedWordsOrOlderSuggestionsAsyncJean Chalard2013-12-262-39/+34
| | | | | Bug: 8636060 Change-Id: I5c47370a3ea5962caff4d40db2faa62accfc7147
* [IL41] Remove a useless call and trampoline.Jean Chalard2013-12-261-14/+14
| | | | | | | | No point in calling maybeRetrieveOlderSuggestions now that the same work is done right here. The callback is also useless now. Bug: 8636060 Change-Id: Ic14849cb6f6e6293a42cfe068f5c6b18b7677bc0
* Remove DictionaryFacilitatorForSuggest.getMainDictionary().Keisuke Kuroyanagi2013-12-261-4/+7
| | | | | Bug: 8187060 Change-Id: Ide087f1e39b24695b610bd2b3c464b7e3cb9cd29
* Extract dict operations from Suggest to a new class.Keisuke Kuroyanagi2013-12-264-343/+410
| | | | | Bug: 8187060 Change-Id: I77775aa50763158d99753c2312fa11fe14267aef
* [IL39] Change a test.Jean Chalard2013-12-261-5/+5
| | | | | | | | | I don't see why we would want to remove other suggestions just because the only suggestion happens to be a dictionary word. That's just inconsistent. Bug: 8636060 Change-Id: Ie2d990e5785273d625e6e5518026364165a8f2df
* [IL38] Fix a wrong double callJean Chalard2013-12-261-7/+7
| | | | | | This only gives bad results if a gesture results in only one suggestion. Change-Id: I5a2f27f83f6901a5a9ecf22f02bdfc9cca6d9f1d
* Merge "Remove useless method call for spell checker."Keisuke Kuroyanagi2013-12-263-25/+22
|\
| * Remove useless method call for spell checker.Keisuke Kuroyanagi2013-12-263-25/+22
| | | | | | | | | | Bug: 8187060 Change-Id: I2f91da12ba2a9e7ce28abd06f314e0e6125d08dc
* | Merge "Add BatchInputArbiter"Tadashi G. Takaoka2013-12-261-0/+7
|\ \
| * | Add BatchInputArbiterTadashi G. Takaoka2013-12-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move the logic that determines how to handle gesture typing from PointerTracker to BatchInputArbiter class. This change must be checked in together with Ia7db8f4fb7. Change-Id: I5e9f786de58d8a3cb0407ae562af707710ec37fb
* | | [IL37] Small simplificationJean Chalard2013-12-263-12/+7
| | | | | | | | | | | | | | | Bug: 8636060 Change-Id: I08a6c04986a0bd86ce4c232893e804766ebeebb9
* | | [IL36] Inline setAutoCorrectionJean Chalard2013-12-261-14/+9
| | | | | | | | | | | | | | | | | | | | | There are far too many one-use methods. Bug: 8636060 Change-Id: I84e0669b8d2cc5a2817c42b089e874dc60e84769
* | | [IL35] Preparative cleanupJean Chalard2013-12-252-13/+14
| | | | | | | | | | | | | | | 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
* | | Remove "Boost personalization dictionary" from settings.Keisuke Kuroyanagi2013-12-251-2/+0
| | | | | | | | | | | | Change-Id: Iab05e42e947610f358472cd95d0319d0ab3f0b31
* | | Use SettingsValues instead of Settings in Suggest.Keisuke Kuroyanagi2013-12-254-29/+7
| | | | | | | | | | | | | | | Bug: 8187060 Change-Id: Idba1e708d67c036072b728949d17f8bd98ae0115
* | | Move dict operations to Suggest.Keisuke Kuroyanagi2013-12-254-98/+96
|/ / | | | | | | | | | | Bug: 8187060 Change-Id: Iabe13abcd43b381360f7080b3f4ee0533f246160
* | Fix NPE in SettingsValues.Keisuke Kuroyanagi2013-12-251-1/+1
| | | | | | | | Change-Id: I96fc381d2b45881aeb342d33207cd7fe82f5077c
* | Remove personalized dicts when the option is turned off.Keisuke Kuroyanagi2013-12-257-11/+85
|/ | | | | | Bug: 11757851 Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f
* [IL33] Opportunistically remove some KeyboardSwitcherJean Chalard2013-12-242-22/+20
| | | | | 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-202-107/+128
| | | | | Bug: 8636060 Change-Id: If0309be038518a71d735108b78ac9efbfe38c82b
* [IL30] Minor refactoringJean Chalard2013-12-201-3/+3
| | | | Change-Id: I8a8aa9f703c6fca5e25ec573b41f325680ac92dc
* [IL29] Move retryResetCaches and tryFixLyingCursorPositionJean Chalard2013-12-202-66/+73
| | | | | Bug: 8636060 Change-Id: I45b322e4844f023e91b80f9c2e0f7fa0166bcc59
* [IL28] Remove useless codeJean Chalard2013-12-201-25/+0
| | | | | | | | | I don't understand why this was checked in. The tests are completely useless, that makes the variables write-only, and the only side effect is useless as the keyboard commits suicide upon exiting debug settings. Change-Id: I4eb25295183f43a2e947a6a0467ea168d023c18a
* [IL27] Some refactoringJean Chalard2013-12-202-6/+9
| | | | | Bug: 8636060 Change-Id: Iedfdf71350f5fe3ab451fc5ec6e3c9901f71e50f
* [IL26] Move restartSuggestionsOnWordTouchedByCursorJean Chalard2013-12-202-111/+132
| | | | | Bug: 8636060 Change-Id: I373874585f4fa663b4207b9a02d751805259eb36
* [IL25] Inline handleCloseJean Chalard2013-12-201-12/+6
| | | | | | | Only ever used here. Bug: 8636060 Change-Id: Ia98c8bbe1c63ad4d057efe1cee87829b06124479
* [IL24] Move mDisplayOrientation to SettingsValues.Jean Chalard2013-12-203-25/+30
| | | | | Bug: 8636060 Change-Id: Id57ced0cca9dc9e5e85c3a53683588feb28c1402
* Merge "Fix an NPE"Jean Chalard2013-12-201-2/+6
|\
| * Fix an NPEJean Chalard2013-12-201-2/+6
| | | | | | | | Change-Id: I6307c1545d9d48cdea66d08f8efc1b7fbb08ee42
* | Merge "Use config_screen_metrics resource in BogusMoveEventDetector"Tadashi G. Takaoka2013-12-201-0/+9
|\ \ | |/ |/|
| * Use config_screen_metrics resource in BogusMoveEventDetectorTadashi G. Takaoka2013-12-201-0/+9
| | | | | | | | Change-Id: I6b957b43c6dd7ce4f639e46d248179662c1ee669
* | [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-202-46/+73
| | | | | | | | | | | | | | Also pull the TLD specific processing Bug: 8636060 Change-Id: I20931ac6fc6c55a05aa8f8b97b0210c07d230ea2
* | [IL21] Move the workaround utils to a better place.Jean Chalard2013-12-206-47/+61
|/ | | | | Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113
* [IL20] Remove some useless processing.Jean Chalard2013-12-201-8/+7
| | | | | | | | If we have the same text field, then the target app is necessarily the same. No need to re-evaluate it. Bug: 8636060 Change-Id: I66eb194c4cd08a6c1d47b26b99bd7f420130097e
* [IL19] Resolve a TODO.Jean Chalard2013-12-202-3/+2
| | | | | Bug: 8636060 Change-Id: Iec7c1001c46cf8e9a44422e3f9008e437cc5cab6
* [IL18] Move and rename updateSuggestionStripJean Chalard2013-12-203-57/+48
| | | | | Bug: 8636060 Change-Id: I3d00095cd0e83d1ee3834b37ff188b5aa9806fcb
* [IL17] Move commitChosenWord to InputLogic.Jean Chalard2013-12-202-84/+89
| | | | | | | | 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
* [IL16] Improve getTextWithSuggestionSpanJean Chalard2013-12-201-1/+1
| | | | | | | | | | | | Dynamically test for the presence of main dict suggestions. This is much more potent and more accurate than the vaguely defined boolean. Also, resolve a TODO and avoid creating an object uselessly. Not directly related, but helpful with: Bug: 8636060 Change-Id: Ib1745f77ee6d9ec7cd8bbfa5a548652ec84ec902
* [IL15] Some small refactoringJean Chalard2013-12-205-7/+6
| | | | | Bug: 8636060 Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232
* [IL14] Move getCurrent*Caps* to InputLogicJean Chalard2013-12-203-28/+57
| | | | | Bug: 8636060 Change-Id: I6338dcee0f7a80f2181ba0369f71350cb21d231a
* [IL13] Inline restartSuggestionsOnWordBeforeCursorJean Chalard2013-12-191-22/+10
| | | | | | | | 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
* [IL12] move restartSuggestions* to InputLogicJean Chalard2013-12-192-35/+44
| | | | | Bug: 8636060 Change-Id: I99474248e8fa35eb3053b5520abc8716805fdfb4
* [IL11] CleanupJean Chalard2013-12-193-38/+182
| | | | | | | Make some methods private and add comments. Bug: 8636060 Change-Id: I6c7d13dca8a22dd1a6f110e8b18d52864429579f
* [IL10] Move revertCommit to InputLogicJean Chalard2013-12-192-61/+67
| | | | | Bug: 8636060 Change-Id: Ia5788b365f05ae880bad957cbef00ecc93abb5d1
* [IL9] Move commitCurrentAutoCorrection to InputLogicJean Chalard2013-12-192-44/+50
| | | | | Bug: 8636060 Change-Id: I405c4a537858a6d5ab0b29502a2792e8c3b2564e
* [IL8] Move handleNonSeparator to InputLogicJean Chalard2013-12-192-128/+154
| | | | | | | Also move getActualCapsMode and getNthPreviousWordForSuggestion Bug: 8636060 Change-Id: I1ee9162d0b7a517070c4b7420b084c973f061533