summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/InputMethodManagerService.java
Commit message (Collapse)AuthorAgeFilesLines
* Add an api to get the display name for InputMethodSubtypesatok2011-06-021-2/+2
| | | | | | Bug: 4321667 Change-Id: I55aa844ff33dae0cf8ef00072e87727992eb77c1
* Use isAuxiliary instead of ExtraValue for the auxiliary subtypes.satok2011-05-301-6/+3
| | | | Change-Id: Ibce4f884e697ca789b9942cf3abad43741040a87
* Fix internal variables and equals in SuggestionSpansatok2011-05-261-3/+21
| | | | | | | | | Bug: 4443922 - Instantiating other package's class for the name is complicated, so we changed the internal value for the notification target class from Class to String. - Implement equals Change-Id: Iaf7682be777f0027d33c9a3be4609ac01b6950ad
* Add Apis to send notifications when the suggestion was pickedsatok2011-05-261-0/+43
| | | | | | | | - Due to a strong request from VoiceIME Bug: 4443922 Change-Id: Ia539de0acf66053e0349daec459d75e36805f6bf
* Fix a bug on SwitchToLastInputMethodsatok2011-05-201-1/+1
| | | | Change-Id: Iab7531e7436375941ec3df4fba943af24e2f1231
* Fix switchToLastInputMethod to fall back into the applicable keyboard if ↵satok2011-05-201-18/+57
| | | | | | there is no candidate ime Change-Id: Iaf293cf6c6fb35a994f344b0afc30e9f523032f4
* Add an API to get the last used input method subtypesatok2011-04-151-0/+18
| | | | | | | | Bug: 4075039 - Voice input requires to know the last used input method subtype. Change-Id: I603a4fb88a2af5195e52188adfa6585ad80304fa
* Remove a workaround for the data inconsistency of SystemPropertiessatok2011-03-141-17/+0
| | | | | | | | | | Bug: 3473532 Reverting: Ie3f5b484b5574e10a4 Depends on Bug: 3511230 This must be fixed before submitting this CL. Change-Id: I435a294a818bec5675f0ada00d81c1b3e37d1dce
* Merge "Fix the sort order of the input methods & subtypes in the settings." ↵Ken Wakasa2011-03-041-12/+34
|\ | | | | | | into honeycomb-mr1
| * Fix the sort order of the input methods & subtypes in the settings.Ken Wakasa2011-03-041-12/+34
| | | | | | | | | | | | | | It should have been the same as how the IME switcher panel does. bug: 3364167 Change-Id: I48b98c9c4598720edf7cf09d1b9358a9ebed6051
* | Merge "Fix Fragment.onInflate() to actually work correctly." into honeycomb-mr1Dianne Hackborn2011-03-031-0/+2
|\ \ | |/ |/|
| * Fix Fragment.onInflate() to actually work correctly.Dianne Hackborn2011-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Like, um, it needs to be given the Activity since this is called before the activity is attached. And it was called after the entire fragment and its *view* was created when being restored from saved state. And the documentation was whacked. Also fix the IME selector to dismiss when you tap outside of it. Change-Id: Icbcafe7558965a570bdef9cda3441b1f0f7a317c
* | Append IME's name to the subtype name in the "Select input method" dialogKen Wakasa2011-03-041-3/+4
|/ | | | | bug: 3364167 Change-Id: I79b5435ec457e9e71ae69dbfaad8e719db6ff6d3
* Start window manager refactoring.Dianne Hackborn2011-02-171-1/+1
| | | | | | Move all of the pieces into a new com.android.server.wm package. Change-Id: I942b7bcfb84ee0f843f47d58e55ffc5a93c0da94
* Fix a bug in canAddToLastInputMethod()Ken Wakasa2011-02-161-1/+1
| | | | | bug: 3456057 Change-Id: I977e984aafb36fdb83ac05d19fe0c7324a36d0c5
* Add a method to check a string contained in ExtraValue of InputMethodSubtypesatok2011-02-151-8/+1
| | | | Change-Id: I34390537eaacd3ff8cfd336eaf5b9ca0d3e4b802
* Add sort method to InputMethodSubtypesatok2011-02-141-5/+4
| | | | | | Bug: 3364167 Change-Id: I94ad55b8eab49dc9b233dcb4e74429863b406fb4
* Register ENABLED_INPUT_METHODS to SettingsObserversatok2011-02-031-0/+2
| | | | | | | | Bug: 3415292 - Registration is required for catching current IME or subtype is disabled Change-Id: Ia95f16df5bd725c05b4f5085f975d235b88d4b6e
* Not to update IME when Settings version is older than the last updated version.satok2011-02-011-0/+17
| | | | | | | | | | | | - Check if just old version or not. - Sometimes, ContentObserver.onChange is called before finishing to save the actual value. This can be verified by checking the system settings version. If the version is not updated, cached value will be returned from Settings.Secure, and this should not be handled. Bug: 3406300 Change-Id: Ie3f5b484b5574e10a41dfc209ed31271a474b828
* Follow up change to I741642acKen Wakasa2011-01-301-1/+2
| | | | | | | Fix wrong constant. bug: 3404788 Change-Id: Ic5f849e6640a78a70951cf819d7e8ce53a9c2585
* Fix a bug that IME switch disappiers at switching IME subtype.satok2011-01-301-1/+8
| | | | | | Bug: 3404788 Change-Id: I741642ac690a1b4c6ca1225ee271bffe39164170
* Plumb whether an input view is actually visible or not through from the IMEJoe Onorato2011-01-271-12/+20
| | | | | | | to the status bar. Bug: 3391067 Change-Id: I049531155bf7ee0b29874916c0b5b0a45b73c09e
* Fix the return value of switch to last ime.satok2011-01-261-7/+20
| | | | Change-Id: I5fe8cc696433a7ee72973d16d8f121d3362ab0e0
* Add a way that subtype will be excluded from a last input methodsatok2011-01-251-1/+19
| | | | | | | | | Bug: 3382702 - Added SUBTYPE_EXTRAVALUE_EXCLUDE_FROM_LAST_IME and if subtype has this extra value, It will be excluded from a last input method which will be called from switchToLastInputMethod Change-Id: I03ae10e07f978dcc3a83dd77b10613048dce7f22
* Show implicitly enabled subtypes in the input method selection dialogsatok2011-01-211-51/+48
| | | | | | bug: 3367646 Change-Id: I9550f17f163950d80113fbcb8c9dd8a7d014cf6a
* Merge "Show ime switch icon when there is a hard keyboard" into honeycombsatok2011-01-201-0/+2
|\
| * Show ime switch icon when there is a hard keyboardsatok2011-01-211-0/+2
| | | | | | | | Change-Id: Ife3a8733b1a1bf43b195ecf4b8c5082b6538d0a0
* | Refine InputMethodInfo APIKen Wakasa2011-01-211-23/+32
| | | | | | | | | | bug: 3370297 Change-Id: I2a18f3bdbe2fccb22e22cdae0f75aec5c703ad6d
* | Add android.provider.Settings.EXTRA_INPUT_METHOD_IDTadashi G. Takaoka2011-01-211-2/+1
| | | | | | | | Change-Id: Iecb7a9c265cafe96e7eec099341133da8e966f6f
* | Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGSTadashi G. Takaoka2011-01-201-1/+1
|/ | | | Change-Id: I27c318777355991ae4ad72d0b2480e93c8c5044e
* Fix the algorithm to get current input method subtype considering explicitly ↵satok2011-01-181-7/+21
| | | | | | and implicitly enabled subtypes. Change-Id: I2e6d9ae36a1335f67b6db7659244cdfb2bfe3068
* Implicitly/Explicitly subtypes bug.satok2011-01-171-6/+6
| | | | Change-Id: I6ccc22d4272ee92c0d8ba3f3c724d8f838d51310
* switchToLastInputMethod returns a implicitly enabled subtype in the historysatok2011-01-151-30/+56
| | | | | | Bug: 3353363 Change-Id: Id5f8a62017880330401ebd3e77d943eb7817e555
* Add input methods settings panelsatok2011-01-151-7/+2
| | | | | | | | | | Bug: 3141466 Bug: 3301559 Bug: 3284424 Moved from old master I4d9abeea Change-Id: I62fa64cc095e1b9ac34f21e7d4d2e0bb8a3e68fc
* Save input method subtype even if the current IME is not running.satok2011-01-141-1/+4
| | | | | Bug: 3325103 Change-Id: I6dfd19a0d494526cdb4cfb4230a5376ce94ca94a
* Update shortcut IME when asked. And match the language of subtype by ↵satok2011-01-121-6/+25
| | | | | | | | "startWith" not "equals". Bug: 3329578 Change-Id: Ib45ca20560c96faa6e2798242f3d1c3fe5156457
* Fix NPE when the shortcut subtype was not found.satok2010-12-221-37/+41
| | | | | | Bug: 3300904 Change-Id: I1bc2578b63bb842363d70e48c77e9f9fee8fac6b
* Add a parameter to InputMethodManagerService.getEnabledSubtype for allowing ↵satok2010-12-211-7/+68
| | | | | | | | to select subtypes implicitly if no subtype is enabled. Bug: 3142286 Change-Id: I92d019d0648c552e6d7695c3530aa81ae054d702
* Fix build breakagesatok2010-12-171-6/+6
| | | | Change-Id: I5db5bcafc61f0aea5279e2f8679094a900b6f6cc
* Change "more" button to call InputMethodConfigure in Settingssatok2010-12-161-6/+24
| | | | | | | - Open input methods config fragment in Settings application - Add input to showInputMethodAndSubtypeEnabler Change-Id: I3f5c8a6a136aeb91326aa87475edee76517a8467
* Auto-show IME for dialogs on large screens.Dianne Hackborn2010-11-291-11/+25
| | | | | | | | | | On a large screen the IME is not going to as significantly cover a pan & scan window, so allow it to auto-show if the app hasn't otherwise specified its visibility. Also some fixes here and there. Change-Id: I10227ec59c43454e06e6870633f53426f4d78b83
* Fix build breakagesatok2010-11-251-0/+12
| | | | | | - Reverted unintenitionally removed function Change-Id: If083119e31c28b6f73d8ac85f2df4a8ab12dcb7f
* Removed InputMethodSubtypePickersatok2010-11-251-24/+2
| | | | Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
* Store the current IME's token in the system bar for changing the current IME ↵satok2010-11-251-48/+59
| | | | | | | | | | | | | to a shortcut IME from the system bar Bug: 3212206 Bug: 3201828 - Added a shortcut IME button. This will be used for calling a shortcut IME (e.g. Voice input) - Made the positions of IME buttons left aligned - IME token is required to change IME because of the security reasons. Change-Id: I48ba5e2509b3aa1bfd2394f9201427fa6b93c6d3
* Add an API to set InputMethodAndSubtypesatok2010-11-241-8/+21
| | | | Change-Id: I66f1a4c8e0d98705614f12a737e7efcd0263b72a
* Change return type of getShortcutInputMethodsAndSubtypes to ↵satok2010-11-241-19/+29
| | | | | | | | | | Map<InputMethodInfo, List<InputMethodSubtype>> bug: 3201828 - Brushed up the code Change-Id: I11ad9d1d749bd8947144ca7f1676bab3cf777fd6
* Add an API to get shortcut IMEssatok2010-11-231-22/+133
| | | | | | - If there are no selected shortcut IMEs, the most applicable voice input will be selected as a shortcut IME Change-Id: Ibd0f7ef5101013569c303820a3adc9038a97356d
* Synchronize getCurrentInputMethodSubtypesatok2010-11-231-17/+21
| | | | Change-Id: I8bcedb39baba10e7035d5c1c11f41f74943874d1
* Return the enabled subtypes for the current InputMethod when the input value ↵satok2010-11-181-9/+14
| | | | | | of getEnabledInputMethodSubtypeList was null Change-Id: I6892064dbc2214946871a0ba4ad08e00a2eb6c7b
* Add a function to get enabledInputMethodAndSubtypesatok2010-11-171-4/+33
| | | | Change-Id: Ie97635343249aa63e33028c2843cab103125ca92