aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/RichInputMethodManager.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-612/+0
|
* Experimental automatic language switching support.Yohei Yukawa2016-01-221-0/+41
| | | | | | | | | | | With this CL, LatinIME switches the current subtype from its enabled subtypes based on the first locale in EditorInfo#hintLocales. This functionality is still experimental, and will be triggered only when EditorInfo#hintLocales is specified by the application. Bug: 22859862 Change-Id: Ibd0559b370d8aa0d50d1bada8ecfdac0ed8db898
* Remove ALS from LatinIME.Dan Zivkovic2015-03-111-3/+3
| | | | | | This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
* Handle null InputMethodSubtype.Dan Zivkovic2015-03-061-3/+4
| | | | | | Bug 19627494. Change-Id: I50dc77c59ced0f2e7c07a49ae0cb040197c2ab35
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-111-25/+6
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* LatinIME portion of multi-lang option removal.Dan Zivkovic2015-01-291-18/+0
| | | | | | Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
* Merge "Cleanup InputMethodInfoCache"Tadashi G. Takaoka2014-12-171-22/+32
|\
| * Cleanup InputMethodInfoCacheTadashi G. Takaoka2014-12-121-22/+32
| | | | | | | | Change-Id: I40afeb4557c3b1ad32bd90f67502a625df2bc3fb
* | Remove SubtypeSwitcherTadashi G. Takaoka2014-12-121-0/+10
|/ | | | Change-Id: Ic4def69a9f742f13c98bc3e518c406658b52797d
* Disable multiple language inputJean Chalard2014-12-111-3/+1
| | | | | Bug: 18705799 Change-Id: I73730ccf59e2697acfb3fe436c01b94c40307f2f
* Add NetworkConnectivityUtils classTadashi G. Takaoka2014-12-111-19/+2
| | | | Change-Id: I7bd71f1d4ef0fc0fe21ddfd9f3e11463f53ac4e7
* Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcherTadashi G. Takaoka2014-12-011-29/+25
| | | | Change-Id: I5661a7926cf5a404788516c542b25cc0707bb417
* Remove unneeded Context argumentTadashi G. Takaoka2014-11-211-5/+4
| | | | Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
* Move current subtype management code to RichInputMethodManagerTadashi G. Takaoka2014-11-061-0/+39
| | | | Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
* Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManagerTadashi G. Takaoka2014-11-061-2/+109
| | | | Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
* Move some methods out from SubtypeSwitcherTadashi G. Takaoka2014-11-061-0/+30
| | | | Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
* 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 Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-231-1/+4
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-1/+0
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* [ML25] Add an hasDict method.Jean Chalard2014-10-161-3/+3
| | | | | | | | | We used to have separate methods for existence of dicts according to whether it's a file or a resource. This unifies both. Bug: 11230254 Bug: 17979623 Change-Id: I728773461f3465f756d06297c3f3bee34390c3e6
* [ML24] Add facilities to read the script of a subtypeJean Chalard2014-10-141-1/+5
| | | | | | | | ...or more exactly, the script of the keyboard layout set associated with a given subtype. Bug: 11230254 Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
* Performance fix for multiple language subtypesJean Chalard2014-10-141-7/+7
| | | | | | | | The code would iterate all enabled subtypes each time getCurrentSubtype() is called, which is really quite frequent. Bug: 11230254 Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
* [ML20.1] Move getRichInputMethodSubtype to additional featuresJean Chalard2014-10-091-2/+2
| | | | | Bug: 11230254 Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7
* Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype"""Jean Chalard2014-08-251-3/+7
|\
| * Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-3/+7
| | | | | | | | | | | | | | | | This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
* | Merge "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-221-7/+3
|\|
| * Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-7/+3
| | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | Merge "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-3/+7
|\|
| * [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-221-3/+7
| | | | | | | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* | Pass a new argument to StatsUtils.Mohammadinamul Sheik2014-08-221-1/+2
|/ | | | | Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488 Bug: 17013677
* 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