summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/InputMethodManagerService.java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Add a setter of InputMethodSubtype to InputMethodManagersatok2010-11-131-2/+17
| | | | | | - Public API: void setCurrentInputMethodSubtype(int pos) Change-Id: I55daa19ba924999def544bf841f00bf54852f3e1
* Reset IME to the build-in IME when there is something wrong with the current ↵satok2010-11-131-5/+13
| | | | | | | | | | | IME. Bug: 3186000 - By this change, there will be no need to find new applicable IME in Settings application - This change handles the edge case that there is something wrong with the current IME Change-Id: Idb42b6184ac135370064b967305faa81f1b382b2
* Add a function to switch back to the last used IMEsatok2010-11-131-0/+15
| | | | Change-Id: Iac7bcc2ee16dd04d91a3e75b160622d246788c9a
* Save the history of InputMethodSubtype for reverting the subtype when IME ↵satok2010-11-111-47/+228
| | | | | | | | | | | was changed. - Re-revert the change https://android-git.corp.google.com/g/#q,78962,n,z *** If you want to see the diff between reverted change and new change, please see the diff between patch set 1 and the latest patch set - TODO: Add a public function "switchToLastInputMethod" Change-Id: Ic85d54b3b68e47a22360acaeb81202a366a34586
* Revert "Add a history of InputMethodSubtype for getting the last subtype of ↵Tadashi G. Takaoka2010-11-091-226/+47
| | | | | | selected IME when IME was changed." This reverts commit 1ab852fbcfe155c9d4373b7130f8515591669634.
* Add a history of InputMethodSubtype for getting the last subtype of selected ↵satok2010-11-091-47/+226
| | | | | | IME when IME was changed. Change-Id: I66752a881726c0ce2816a9d54de60fb0d992e968
* Change API for getting InputMethodSubtype's mode from resource id to Stringsatok2010-11-051-12/+12
| | | | Change-Id: I00aa99f8ab9901d40806a6bb336ab718eb857e8b
* Find the most applicable subtype when there is no selected subtype but IME ↵satok2010-11-041-10/+61
| | | | | | has subtypes Change-Id: I1239d67a65abd5eedebd689d02f007961b9c5d73
* Update the subtype icon properly.satok2010-11-021-0/+7
| | | | Change-Id: Ib89959d1ea13f1e6f56e6280f90532e6695c4a00
* Fix a bug that enabled Subtype ID can't be saved propery.satok2010-11-011-5/+4
| | | | Change-Id: Iccf175c55ebfd86f3045ad27bff4f34d7963ebc7
* Add a functionarity for showing / hiding IME button on the system barsatok2010-10-301-0/+17
| | | | | | | | Bug: 3077030 - IME communicates with status bar directly. Change-Id: Ic5b6b5b7a2b8ea62372dcc9b9c36d81b9f2db651
* Remove InputMethodAndSubtypeEnabler and call intent of ↵satok2010-10-271-4/+3
| | | | | | Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER Change-Id: I467cfba9644ec266f6a98f7aec0886ad205fef4f
* Add a cancel button to InputMethodPicker and InputMethodSubtypePickersatok2010-10-081-0/+6
| | | | Change-Id: Ia64b9716c18da5a541c7fc04a507541d2ab952da
* Show "more" button in the dialog of InputMethodSubtypePickersatok2010-10-071-24/+60
| | | | | | - Handle subtypes correctly in InputMethodPicker Change-Id: I0ff9baec46724ca9dee2a7943fee69d4b204589e
* Add InputMethodEnabler for enabling input methods and subtypessatok2010-10-071-2/+29
| | | | | | | | - Copyed functionarity from LanguageSettings.java TODO: Save enabled InputMethodSubtypes Change-Id: I7b4fb1a79cb8b3229f88773d261430e23ba7aae2
* Add utility of enabled InputMethod settings to InputMethodManagerServicesatok2010-10-051-118/+201
| | | | | | | | | | - Add setter of enabled InputMethodSubtypes - Enabled InputMethods are saved as follows: -- enabled_inputmethod0;enabled_subtype0;enabled_subtype1:enabled_inputmethod1 - TODO: Fix Settings application to parse new Enabled InputMethod string. -- Currently IMMS doesn't save InputMethodSubtypes so this will not break Settings application. Change-Id: Icd0f13de396ce286ff6563e8c2775d53bcdacbf3
* resolved conflicts for merge of 6a3eddb4 to masterDianne Hackborn2010-09-301-7/+15
|\ | | | | | | Change-Id: I1ca1d100274d4a733ef2bf58b0d5d7217b4f858e
| * Rub in a little 'ol log-b-gone.Dianne Hackborn2010-09-301-7/+15
| | | | | | | | | | | | Mmmmmm... great fresh scent! Change-Id: I050e70b31b5d4a9c6731f15a4b51a3620a33a78d