aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-26Add BatchInputArbiterTadashi G. Takaoka4-109/+271
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
2013-12-25Separate GestureStrokeDrawingPoints from GestureStrokeRecognitionPointsTadashi G. Takaoka3-39/+37
This change must be checked in together with Ibed5330614. Change-Id: I20ba79fd20e8ea0aa3ac596c011ec5bfea528ace
2013-12-25Rename gesture related classesTadashi G. Takaoka8-155/+228
Change-Id: I5cb03576bb7221f1864e157857d872880a0a58f8
2013-12-24Comprehensive memory deallocationTadashi G. Takaoka6-13/+21
Change-Id: I4673543c96eb342c3c977e00d44772a0d719a23e
2013-12-24Rename classes related to AbstractDrawingPreviewTadashi G. Takaoka6-50/+53
Change-Id: Ife2e2c08b2b6fbf9ec33cf259f276878816b291c
2013-12-24Separate GestureStrokePreviewParams to top level classTadashi G. Takaoka3-37/+51
Change-Id: I4c6ac12dac9636760128625bb5b7138b7d56f3d1
2013-12-24Make GestureStrokeParams as a top level classTadashi G. Takaoka3-75/+94
Change-Id: I540a2d3a6c6ce6ecdcccecd38df6b3c23fcf8d95
2013-12-24[IL33] Opportunistically remove some KeyboardSwitcherJean Chalard2-22/+20
Bug: 8636060 Change-Id: I0480ac03b9902e940f566b5558b8499647983968
2013-12-24Clean up batch input related code a bitTadashi G. Takaoka1-54/+60
Change-Id: I3b6a95fdb82bd15e2b636b1374a96d8987d5d8cf
2013-12-24Remove duplicate codeTadashi G. Takaoka1-1/+1
Change-Id: Ia33ea2dc4bb063ec5bf282c656ccc1f11ac967fe
2013-12-20[IL32] Remove a useless variableJean Chalard1-3/+2
Change-Id: I8f5d8fd8c1627a568df57255dc3dceda26c4720c
2013-12-20[IL31] Move *BatchInput to InputLogicJean Chalard2-107/+128
Bug: 8636060 Change-Id: If0309be038518a71d735108b78ac9efbfe38c82b
2013-12-20[IL30] Minor refactoringJean Chalard1-3/+3
Change-Id: I8a8aa9f703c6fca5e25ec573b41f325680ac92dc
2013-12-20[IL29] Move retryResetCaches and tryFixLyingCursorPositionJean Chalard2-66/+73
Bug: 8636060 Change-Id: I45b322e4844f023e91b80f9c2e0f7fa0166bcc59
2013-12-20[IL28] Remove useless codeJean Chalard1-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
2013-12-20[IL27] Some refactoringJean Chalard2-6/+9
Bug: 8636060 Change-Id: Iedfdf71350f5fe3ab451fc5ec6e3c9901f71e50f
2013-12-20[IL26] Move restartSuggestionsOnWordTouchedByCursorJean Chalard2-111/+132
Bug: 8636060 Change-Id: I373874585f4fa663b4207b9a02d751805259eb36
2013-12-20[IL25] Inline handleCloseJean Chalard1-12/+6
Only ever used here. Bug: 8636060 Change-Id: Ia98c8bbe1c63ad4d057efe1cee87829b06124479
2013-12-20[IL24] Move mDisplayOrientation to SettingsValues.Jean Chalard3-25/+30
Bug: 8636060 Change-Id: Id57ced0cca9dc9e5e85c3a53683588feb28c1402
2013-12-20Fix an NPEJean Chalard1-2/+6
Change-Id: I6307c1545d9d48cdea66d08f8efc1b7fbb08ee42
2013-12-20Use config_screen_metrics resource in BogusMoveEventDetectorTadashi G. Takaoka6-36/+25
Change-Id: I6b957b43c6dd7ce4f639e46d248179662c1ee669
2013-12-20[IL23] Resolve a long-standing TODO.Jean Chalard1-4/+3
Bug: 8636060 Change-Id: I3a840c30cc4489debf9118beeec448488503bc1c
2013-12-20[IL22] Move onTextInput to InputLogic.Jean Chalard2-46/+73
Also pull the TLD specific processing Bug: 8636060 Change-Id: I20931ac6fc6c55a05aa8f8b97b0210c07d230ea2
2013-12-20[IL21] Move the workaround utils to a better place.Jean Chalard9-51/+147
Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113
2013-12-20Separate logic of enabling gesture typingTadashi G. Takaoka3-25/+65
Change-Id: I91fc566f24a38a55d2352201d5d581d3fa02a428
2013-12-20Separate BogusMoveEventDetector classTadashi G. Takaoka2-85/+121
Change-Id: I24f0ff385f338ff313ef32514f2930f120183be7
2013-12-20Separate TypingTimeRecorder classTadashi G. Takaoka2-66/+84
Change-Id: Ic56d3e3a1be935854dcace36d8a05a9d2619dab9
2013-12-20[IL20] Remove some useless processing.Jean Chalard1-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
2013-12-20[IL19] Resolve a TODO.Jean Chalard2-3/+2
Bug: 8636060 Change-Id: Iec7c1001c46cf8e9a44422e3f9008e437cc5cab6
2013-12-20[IL18] Move and rename updateSuggestionStripJean Chalard3-57/+48
Bug: 8636060 Change-Id: I3d00095cd0e83d1ee3834b37ff188b5aa9806fcb
2013-12-20Remove unnecessary default KeyDetector from PointerTrackerTadashi G. Takaoka3-16/+10
Change-Id: Ib0fbb40a7040202d2a4b4ab49319d9e247a2a6ce
2013-12-20Remove unused default object of GestureStrokePreviewParamsTadashi G. Takaoka2-17/+10
This change also fixes build broken by Id615556766. Change-Id: I16605cc3b65e3e9ab2d5a498825c31d9b4046b73
2013-12-20[IL17] Move commitChosenWord to InputLogic.Jean Chalard2-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
2013-12-20[IL16] Improve getTextWithSuggestionSpanJean Chalard2-7/+21
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
2013-12-20Fix rugged gesture trailTadashi G. Takaoka3-5/+2
Bug: 12222472 Change-Id: Id615556766718a8bd4848f7026833fbcea540c39
2013-12-20Remove PointerTracker reference from accessibility packageTadashi G. Takaoka2-5/+7
Change-Id: I1a88d9fc4db437070778ea1256aae17c32428729
2013-12-20[IL15] Some small refactoringJean Chalard5-7/+6
Bug: 8636060 Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232
2013-12-20[IL14] Move getCurrent*Caps* to InputLogicJean Chalard3-28/+57
Bug: 8636060 Change-Id: I6338dcee0f7a80f2181ba0369f71350cb21d231a
2013-12-19Import translations. DO NOT MERGEBaligh Uddin55-220/+110
Change-Id: Iec55106743e61ca92f934f1280b0faf0bb2f4b1b Auto-generated-cl: translation import
2013-12-19[IL13] Inline restartSuggestionsOnWordBeforeCursorJean Chalard1-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
2013-12-19[IL12] move restartSuggestions* to InputLogicJean Chalard2-35/+44
Bug: 8636060 Change-Id: I99474248e8fa35eb3053b5520abc8716805fdfb4
2013-12-19[IL11] CleanupJean Chalard3-38/+182
Make some methods private and add comments. Bug: 8636060 Change-Id: I6c7d13dca8a22dd1a6f110e8b18d52864429579f
2013-12-19[IL10] Move revertCommit to InputLogicJean Chalard2-61/+67
Bug: 8636060 Change-Id: Ia5788b365f05ae880bad957cbef00ecc93abb5d1
2013-12-19[IL9] Move commitCurrentAutoCorrection to InputLogicJean Chalard2-44/+50
Bug: 8636060 Change-Id: I405c4a537858a6d5ab0b29502a2792e8c3b2564e
2013-12-19[IL8] Move handleNonSeparator to InputLogicJean Chalard2-128/+154
Also move getActualCapsMode and getNthPreviousWordForSuggestion Bug: 8636060 Change-Id: I1ee9162d0b7a517070c4b7420b084c973f061533
2013-12-19[IL7] Move performRecapitalization to InputLogicJean Chalard2-51/+41
Bug: 8636060 Change-Id: I5bf2b1fa2f9338fe28151e66eac1ceda6dbd4a7f
2013-12-19[IL6] Move handleSeparator to InputLogicJean Chalard2-201/+219
Also move swapSwapperAndSpace, maybeDoubleSpacePeriod, maybeStripSpace, promotePhantomSpace and canBeFollowedByDoubleSpacePeriod Bug: 8636060 Change-Id: I864053d21c4b3d51ee7a3cd79053ca602337f6f8
2013-12-19[IL5] Some renamingJean Chalard2-16/+16
Bug: 8636060 Change-Id: Id76889f8405458bcacb9c7c694cb193b27b842f3
2013-12-19[IL4] Move handleNonSpecialCharacter to InputLogic.Jean Chalard2-71/+69
Bug: 8636060 Change-Id: I9c6869c85db49d7f87e95a421389eaf47ae3ab2e
2013-12-19[IL3] Move handleBackspace to InputLogic.Jean Chalard3-241/+257
Also move resetEntireInputState, resetComposingState, sendDownUpKeyEvent, sendKeyCodePoint and getTextWithUnderline Bug: 8636060 Change-Id: Ic4c270ac49769ffba41dc3f12d16ac3aa938717f