aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/RichInputMethodManager.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Restore additional subtypes when the package is updatedYohei Yukawa2014-07-041-6/+10
| | | | | | | | | | | | With this CL, Intent#ACTION_MY_PACKAGE_REPLACED will not only update the visibility of the setup activity but also reconstruct additional subtypes. This is important because the system always removes all the additional subtypes whenever the package is updated. BUG: 15890448 Change-Id: Ic36ea68f50b1ac89b4cbd268ee53f9a5e5d60afd
* Merge "Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod""Yohei Yukawa2014-06-101-13/+4
|\
| * Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"Yohei Yukawa2014-06-131-13/+4
| | | | | | | | | | | | | | | | | | This reverts commit 1690992d1b5e37f21edb3040d5b939bd0f713efc. Build.VERSION.SDK_INT is bumped with I4716e71d72b2526fe635079d1b. We no longer need this workaround. Change-Id: I75a1c2a7055af17a7d40291aadd62ae9bb42e056
* | Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-3/+2
|/ | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Check OS codename for shouldOfferSwitchingToNextInputMethodYohei Yukawa2014-04-301-4/+13
| | | | | | | | | | Make sure if Build.VERSION.CODENAME is "REL" or not when Build.VERSION.SDK_INT is 19 (KitKat). This is a tentative workaround until Build.VERSION.SDK_INT is bumped to 20 or greater. BUG: 12965588 Change-Id: I0f6a8ef92af221240d247997ce65bd5e351b2d5e
* Use shouldOfferSwitchingToNextInputMethod when availableYohei Yukawa2014-04-281-0/+12
| | | | | | | | | | | | | | | | With this CL, LatinIME starts using InputMethodManager#shouldOfferSwitchingToNextInputMethod when available and API level is higher than 19 (KitKat). Note that relevant settings of LatinIME will be ignored if InputMethodManager#shouldOfferSwitchingToNextInputMethod is considered to be available at the moment. We will revisit here to reorganize the user visible settings before the new global IME switching mechanism becomes publicly available. BUG: 12965588 Change-Id: I0188fa56cba8e983c61cef3ae3400a0e3821f718
* Fix InputMethodInfo cache in RichInputMethodManagerTadashi G. Takaoka2014-03-031-25/+48
| | | | | Bug: 13271570 Change-Id: Ie06cd83baaaf674d8b34f0232c164c4541aceb43
* Move subtype related utility class to utils packageTadashi G. Takaoka2013-07-241-4/+6
| | | | Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
* Fix NPE in SubtypeLocale.getSubtypeDisplayNameTadashi G. Takaoka2013-07-231-1/+1
| | | | | | | | | This change moves the methods that create the subtype display name for spacebar from MainKeyboardView to SubtypeLocale class, and consolidates SpacebarTextTests with SubtypeLocaleTests. Bug: 9962955 Change-Id: Ifa0a08ff80bc30753a213c2feb471599ca63fa66
* Move settings related classes to "settings"Ken Wakasa2013-07-221-0/+1
| | | | Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Cache subtype lists reasonably.Jean Chalard2013-06-121-9/+33
| | | | | | | | | | | | | This will spare a lot of IPC for Latin IME at the cost of very little retained memory. This improves the loading by potentially a lot - between 15 and 30% when the layout is cached (which should now be the case almost every time), and half that if it's not. More importantly, it makes the load time less sensitive to high device load, which is one of the sore points. Bug: 8689779 Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9
* Don't use RichInputMethodManager in setup wizardTadashi G. Takaoka2013-06-071-7/+0
| | | | | | | | | | In setup wizard, InputMethodManager may not be able to be aware that this IME is installed, especially just after the IME is installed via GooglePlay app and hit the open button on the app to launch the setup wizard. Bug: 9299618 Change-Id: I00c8544178b41074253d49ae9481996ec56593d2
* Fix a crash on a secondary userSatoshi Kataoka2013-05-211-0/+7
| | | | | Bug: 9054063 Change-Id: I092ab6e0077578d0aca57d2e41dfbc00b46e1ba4
* Fix usages of getEnabledInputMethodSubtypeListSatoshi Kataoka2013-05-091-6/+11
| | | | | Bug: 8450279 Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e
* Implement IMM.switchToNextInputMethod() for ICSTadashi G. Takaoka2013-04-221-12/+115
| | | | | Bug: 8633367 Change-Id: Ifc0f97b1fdf5e5cc3601c24a503058c4822478dc
* Clean up public helper methods of SettingsValuesTadashi G. Takaoka2013-01-091-1/+1
| | | | Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3
* Simplify singleton class initializationTadashi G. Takaoka2013-01-071-1/+3
| | | | Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
* Set additional subtypes before getting current subtypeTadashi G. Takaoka2012-11-281-4/+20
| | | | | Bug: 7594188 Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191
* Add Spanish United States keyboardTadashi G. Takaoka2012-11-191-10/+24
| | | | | | | | | | | | | | | | | | The subtype locale name on the spacebar will be suppressed when only one subtype is enabled and - Subtype locale is equal to the system locale. or - Subtype language is equal to the system language but the subtype is implicitly enabled. Thus the "es_ES" system locale chooses "es" subtype keyboard implicitly but the keyboard doesn't have the subtype name on its spacebar. This change also removes Spanish Latin America keyboard. Bug: 7531804 Change-Id: Ib929e8235d643c0ba039eb010e18ab721a734e15
* Fix language switch key behaviorTadashi G. Takaoka2012-11-141-0/+5
| | | | | Bug: 7075923 Change-Id: I306e1ff5d9f873541e84e1fafb64b9473947f623
* Enhance ImfUtils to InputMethodManagerWrapper classTadashi G. Takaoka2012-11-121-0/+213
Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020