summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/internal/KeyboardState.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor KeyboardState.SavedKeyboardState class a bitTadashi G. Takaoka2014-11-101-23/+28
| | | | Change-Id: I5be7339c4797b0308c1a192d2984056619fdfbdd
* Add debug loggingTadashi G. Takaoka2014-11-021-73/+79
| | | | Change-Id: I38bf53a0b5ea5064462b8eb5d99b7247ff8bddc4
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix a bug where mic/emoji key wouldn't work.Jean Chalard2014-08-261-3/+5
| | | | | | Bug: 17272902 Bug: 17269948 Change-Id: I561609fa84a6265f8148db7d2411bc1fd38dd163
* [IL135] Make getCurrentAutoCapsState privateJean Chalard2014-04-141-36/+46
| | | | | Bug: 8636060 Change-Id: I800aefe6fee4c14df6fe5abe21b2387c69abb8f5
* [IL134] Add an alternative path to getCurrentAutoCapsStateJean Chalard2014-04-141-6/+12
| | | | | | Bug: 8636060 Change-Id: I959e13d34910adad028ed6174f92029ff690eeeb
* Fix inconsistent behavior with the back-to-the-main-keyboard keyYohei Yukawa2014-01-281-0/+2
| | | | | | | | | | | | With this patch, the back-to-the-main-keyboard in the Emoji palette will be registered as a key-release action instead of a key-press action, like switch-to-the-emoji-palette in the main layout. This provides mroe consistent UX when the layout is switched from the main layout to the Emoji palette then switched back to the main layout. BUG: 12464067 Change-Id: Ia0d0185db43234dfcfb7cee2677f3d199fe6ed96
* Fix a bug where recapitalize prevents going to more symsJean Chalard2013-12-131-0/+3
| | | | | Bug: 11004973 Change-Id: I97ee9df6e8464e2149beb41c688cbfbd83ac3d8c
* Fix a bug where autoshift would be ignored coming from emojiJean Chalard2013-10-171-0/+3
| | | | | Bug: 11123691 Change-Id: I36474e12e34af95051129840865015f85595411b
* Call loadKeyboard later if it can't be called right awayJean Chalard2013-10-071-2/+0
| | | | | | | | | | | | Since loadKeyboard relies on the input connection being available to give it the auto-caps state, but also can't be called twice in a row because it needs to save and restore its state and invalidates it after the restore, we need to wait until we know we have a valid input connection to call it. Bug: 11107229 Change-Id: I1c7baf3215682df6f6ceb357bd37254f9e7418c7
* Fix a pernicious bug with caps.Jean Chalard2013-10-021-0/+2
| | | | | | | | | | | | | | | What's happening here is, setAlphabetKeyboard sets the keyboard to AUTOMATIC_SHIFTED and updates the keyboard, then restoring the keyboard old state sets it back to UNSHIFTED without updating it. When we finally know what the correct value is, we try to set it to UNSHIFTED, but since that's already the currently recorded state, it skips updating the keyboard forever. The solution is to avoid setting the shift state without updating the keyboard. Bug: 10948582 Change-Id: Ic8670401e378f8284e851281f91a9ad93eac8e90
* Fix emoji stateSatoshi Kataoka2013-09-251-3/+8
| | | | | Bug: 10919260 Change-Id: I85e897b2de10f147bba40dd2147e041e26f5b8ad
* Revert "Remove symbols shifted layout"Satoshi Kataoka2013-09-041-1/+1
| | | | | | This reverts commit c02a365485cb777137cbab8ff8f60c4b36fa0f7a. Change-Id: I11d31632469a594c0637f035bdd74ba60b2ac33e
* Revert "Remove symbols shifted layout related code"Satoshi Kataoka2013-09-041-42/+109
| | | | | | | | This reverts commit 1cd027850bb07cd3fe2c1ec43b8a594d2f8ad313. Bug: 9059539 Change-Id: I1880b799e2d0f148ae913f13cffa1b8cac48be60
* Revert "Revert "Support Emoji keyboard""Satoshi Kataoka2013-08-301-0/+22
| | | | | | | | Window resizing junkiness is addressed in I605e657c9468 This reverts commit aabc97233826da69edbadfc7c1465a505a1fe2ec. Change-Id: I0bc0f1ad9a90799e643fe9ec35f5b4bbe94eee0d
* Revert "Support Emoji keyboard"Ken Wakasa2013-08-301-22/+0
| | | | | | This reverts commit d7791a93b0dee268a9e97f06fe5abcf6082e0ed1. Change-Id: I5ca4c0227f97540e8a22b487b5056dfa3611082b
* Support Emoji keyboardTadashi G. Takaoka2013-08-291-0/+22
| | | | | Bug: 6370846 Change-Id: I33ce8f952799c89929996a226ac17731a953ec2a
* Remove symbols shifted layout related codeTadashi G. Takaoka2013-08-241-109/+42
| | | | | | | This is a follow up of I7fe6520e4e. Bug: 9059539 Change-Id: Idb39906ddb1e2234a0d1c7c4d5e6fc728090e79e
* Remove symbols shifted layoutTadashi G. Takaoka2013-08-231-0/+2
| | | | | Bug: 9059539 Change-Id: I7fe6520e4eafcb7e1748b8bf011333c7e0da7ac2
* Fix some warningsJean Chalard2013-07-311-2/+2
| | | | Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
* Handling key repeat by emulating key press and code inputTadashi G. Takaoka2013-07-021-13/+4
| | | | | | | | This change also eliminates a reference of AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard. Bug: 6522943 Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-1/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Add CODE_CAPSLOCK for long press shift keyTadashi G. Takaoka2013-06-041-16/+15
| | | | | | | This change utilizes the no panel auto more key feature to implement long press shift key for shift lock. Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad
* Rename methods for readabilityTadashi G. Takaoka2013-06-031-6/+6
| | | | Change-Id: I8fc2c90cf8d3dce11740f8e61edf6dfde9b1c116
* Remove KeyboardStart.isInMomentarySwitchStateTadashi G. Takaoka2013-05-281-5/+0
| | | | Change-Id: I00f45d8dd7feb6c34c0a65a8545cddd2751796d0
* Remove unnecessary methods of KeyboardSwitcherTadashi G. Takaoka2013-05-221-2/+0
| | | | Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd
* Back to previous keyboard layout by canceling sliding inputTadashi G. Takaoka2013-05-141-24/+21
| | | | | Bug: 8915171 Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d
* Using int instead of booleans to save keyboard shift stateTadashi G. Takaoka2013-05-021-19/+14
| | | | | | | This is a follow up of Ib2bc262aac. Bug: 8734294 Change-Id: I0b56797ffc4f16e18da72352777fe0f000d173aa
* Save automatic shift state while orientation changingTadashi G. Takaoka2013-05-021-2/+7
| | | | | Bug: 8734294 Change-Id: Ib2bc262aacedf786a318c2fe1bd4420a21e7d847
* Small cleanupJean Chalard2013-04-161-3/+3
| | | | Change-Id: Iafdbe305712c8a571f0f5abc2032df086d7ac015
* Match the keyboard state to the recapitalize state.Jean Chalard2013-04-161-6/+39
| | | | | Bug: 7657025 Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Remove automatic switch back to alphabet featureTadashi G. Takaoka2013-01-181-33/+19
| | | | Change-Id: I4600c808f2ec31c18d3698a43afa7f4be9407e3e
* am 7ba02315: am b172725c: am 7d045829: Request update shift state after ↵Tadashi G. Takaoka2012-11-271-0/+5
|\ | | | | | | | | | | | | shift-chording input * commit '7ba02315abf3f6fe2e40fcb248ccf1cab8dee179': Request update shift state after shift-chording input
| * Request update shift state after shift-chording inputTadashi G. Takaoka2012-11-211-0/+5
| | | | | | | | | | Bug: 7529860 Change-Id: Iec82459348722be358ae2ded15deafac21749dcd
* | Remove unused variablesKen Wakasa2012-11-161-1/+1
| | | | | | | | Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
* | am 4eef5101: am aa5d6fe0: am 9cc22c45: am 5d2556b9: Reset the IME if ↵Ken Wakasa2012-11-081-0/+25
|\| | | | | | | | | | | | | requested by the app. * commit '4eef51016adc4e103fa65d944a0ab31527ddced8': Reset the IME if requested by the app.
| * Reset the IME if requested by the app.Ken Wakasa2012-11-071-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, reset the KeyboardState to the main Alphabet layout in LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get reloaded in the method. Please note TextView.setText() calls up resetInput(), then the IME should reset with it. bug: 7482086 Note that bug: 6851364 needs to be revisited. Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
* | Move code point constants from Keyboard to Constants classTadashi G. Takaoka2012-10-291-17/+16
|/ | | | Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-2/+2
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Remove a slew of Eclipse warnings.Jean Chalard2012-06-081-2/+0
| | | | Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
* Merge "Fixes to json output"Kurt Partridge2012-05-291-15/+0
|\
| * Fixes to json outputKurt Partridge2012-05-291-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - booleans and numbers in SharedPreferences not quoted as strings - removed redundant logging from KeyboardState - json output for KeyboardId - remove unnecessary logging of LatinImeLogger.onStartView() and PointerTracker checking keyboardlayoutchange - fix to day-of-month part of uuid Multi-project commit with Idb8f190214f852ab2b58df49f9e514dc7fcbecbb Bug: 6188932 Change-Id: I67b4a0b34aa26c2804e2b3ee2136614f0ec8181a
* | Delay shift lock transient until long pressed shift key is releasedTadashi G. Takaoka2012-05-291-9/+8
|/ | | | | Bug: 5424586 Change-Id: Ib602af1b38b1b109bdac9cb0c53132169556db2f
* Reset automatic upper case when chroding key is pressedTadashi G. Takaoka2012-05-211-3/+19
| | | | | Bug: 6501446 Change-Id: Idc3b88b5370c0d7968cc388885e9066f922cfcf3
* Change auto caps mode argument to int typeTadashi G. Takaoka2012-05-181-7/+8
| | | | | Bug: 6501446 Change-Id: I3f7bc0fc39edd29ebf96107c3d43b9ccc9b8022e
* remove unnecessary KeyboardState loggingKurt Partridge2012-04-191-27/+0
| | | | | Bug: 6188932 Change-Id: Iafbb1825777122a1810fa3339853263aced3077e
* add more data collection points to ResearchLogger (attempt #2)Kurt Partridge2012-04-091-0/+45
| | | | | | | | | | | | | the new points are all at Log.x() positions; only those appearing directly related to user input were added. multi-project change with I159f5de2 this CL is the same as I618bcd07, which was reverted because of incompatibilities with vendor branches. Bug: 6188932 Change-Id: I999249dceb0c04f5a4ffbfff25caed09d24a2c52
* Revert "add more data collection points to ResearchLogger"Kurt Partridge2012-04-061-45/+0
| | | This reverts commit ac9e87c03ebbcbd70dd051a30ebf98d6baebedfc
* add more data collection points to ResearchLoggerKurt Partridge2012-04-061-0/+45
| | | | | | | | the new points are all at Log.x() positions; only those appearing directly related to user input were added. Bug: 6188932 Change-Id: I618bcd07b22c9efc794745678b073afe1e79a697