aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/RichInputMethodManager.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove ALS from LatinIME.•••This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725 Dan Zivkovic2015-03-111-3/+3
* Handle null InputMethodSubtype.•••Bug 19627494. Change-Id: I50dc77c59ced0f2e7c07a49ae0cb040197c2ab35 Dan Zivkovic2015-03-061-3/+4
* Remove shortcut support from LatinIME.•••Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Dan Zivkovic2015-02-111-25/+6
* LatinIME portion of multi-lang option removal.•••Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99 Dan Zivkovic2015-01-291-18/+0
* Merge "Cleanup InputMethodInfoCache"Tadashi G. Takaoka2014-12-171-22/+32
|\
| * Cleanup InputMethodInfoCache•••Change-Id: I40afeb4557c3b1ad32bd90f67502a625df2bc3fb Tadashi G. Takaoka2014-12-121-22/+32
* | Remove SubtypeSwitcher•••Change-Id: Ic4def69a9f742f13c98bc3e518c406658b52797d Tadashi G. Takaoka2014-12-121-0/+10
|/
* Disable multiple language input•••Bug: 18705799 Change-Id: I73730ccf59e2697acfb3fe436c01b94c40307f2f Jean Chalard2014-12-111-3/+1
* Add NetworkConnectivityUtils class•••Change-Id: I7bd71f1d4ef0fc0fe21ddfd9f3e11463f53ac4e7 Tadashi G. Takaoka2014-12-111-19/+2
* Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher•••Change-Id: I5661a7926cf5a404788516c542b25cc0707bb417 Tadashi G. Takaoka2014-12-011-29/+25
* Remove unneeded Context argument•••Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12 Tadashi G. Takaoka2014-11-211-5/+4
* Move current subtype management code to RichInputMethodManager•••Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb Tadashi G. Takaoka2014-11-061-0/+39
* Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager•••Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e Tadashi G. Takaoka2014-11-061-2/+109
* Move some methods out from SubtypeSwitcher•••Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e Tadashi G. Takaoka2014-11-061-0/+30
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-1/+1
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-231-1/+4
* Fix some compiler warnings•••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 Tadashi G. Takaoka2014-10-211-1/+0
* [ML25] Add an hasDict method.•••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 Jean Chalard2014-10-161-3/+3
* [ML24] Add facilities to read the script of a subtype•••...or more exactly, the script of the keyboard layout set associated with a given subtype. Bug: 11230254 Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd Jean Chalard2014-10-141-1/+5
* Performance fix for multiple language subtypes•••The code would iterate all enabled subtypes each time getCurrentSubtype() is called, which is really quite frequent. Bug: 11230254 Change-Id: I91feb36de6eca84967e848fc585aae04b350be89 Jean Chalard2014-10-141-7/+7
* [ML20.1] Move getRichInputMethodSubtype to additional features•••Bug: 11230254 Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7 Jean Chalard2014-10-091-2/+2
* Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype"""Jean Chalard2014-08-251-3/+7
|\
| * Revert "Revert "[ML1] Introduce RichInputMethodSubtype""•••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 Jean Chalard2014-08-251-3/+7
* | Merge "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-221-7/+3
|\|
| * Revert "[ML1] Introduce RichInputMethodSubtype"•••This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f Jean Chalard2014-08-221-7/+3
* | Merge "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-3/+7
|\|
| * [ML1] Introduce RichInputMethodSubtype•••Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9 Jean Chalard2014-08-221-3/+7
* | Pass a new argument to StatsUtils.•••Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488 Bug: 17013677 Mohammadinamul Sheik2014-08-221-1/+2
|/
* Restore additional subtypes when the package is updated•••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 Yohei Yukawa2014-07-041-6/+10
* Merge "Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod""Yohei Yukawa2014-06-101-13/+4
|\
| * Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"•••This reverts commit 1690992d1b5e37f21edb3040d5b939bd0f713efc. Build.VERSION.SDK_INT is bumped with I4716e71d72b2526fe635079d1b. We no longer need this workaround. Change-Id: I75a1c2a7055af17a7d40291aadd62ae9bb42e056 Yohei Yukawa2014-06-131-13/+4
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-3/+2
|/
* Check OS codename for shouldOfferSwitchingToNextInputMethod•••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 Yohei Yukawa2014-04-301-4/+13
* Use shouldOfferSwitchingToNextInputMethod when available•••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 Yohei Yukawa2014-04-281-0/+12
* Fix InputMethodInfo cache in RichInputMethodManager•••Bug: 13271570 Change-Id: Ie06cd83baaaf674d8b34f0232c164c4541aceb43 Tadashi G. Takaoka2014-03-031-25/+48
* Move subtype related utility class to utils package•••Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df Tadashi G. Takaoka2013-07-241-4/+6
* Fix NPE in SubtypeLocale.getSubtypeDisplayName•••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 Tadashi G. Takaoka2013-07-231-1/+1
* Move settings related classes to "settings"•••Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f Ken Wakasa2013-07-221-0/+1
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-0/+1
* Cache subtype lists reasonably.•••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 Jean Chalard2013-06-121-9/+33
* Don't use RichInputMethodManager in setup wizard•••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 Tadashi G. Takaoka2013-06-071-7/+0
* Fix a crash on a secondary user•••Bug: 9054063 Change-Id: I092ab6e0077578d0aca57d2e41dfbc00b46e1ba4 Satoshi Kataoka2013-05-211-0/+7
* Fix usages of getEnabledInputMethodSubtypeList•••Bug: 8450279 Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e Satoshi Kataoka2013-05-091-6/+11
* Implement IMM.switchToNextInputMethod() for ICS•••Bug: 8633367 Change-Id: Ifc0f97b1fdf5e5cc3601c24a503058c4822478dc Tadashi G. Takaoka2013-04-221-12/+115
* Clean up public helper methods of SettingsValues•••Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3 Tadashi G. Takaoka2013-01-091-1/+1
* Simplify singleton class initialization•••Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1 Tadashi G. Takaoka2013-01-071-1/+3
* Set additional subtypes before getting current subtype•••Bug: 7594188 Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191 Tadashi G. Takaoka2012-11-281-4/+20
* Add Spanish United States keyboard•••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 Tadashi G. Takaoka2012-11-191-10/+24
* Fix language switch key behavior•••Bug: 7075923 Change-Id: I306e1ff5d9f873541e84e1fafb64b9473947f623 Tadashi G. Takaoka2012-11-141-0/+5
* Enhance ImfUtils to InputMethodManagerWrapper class•••Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020 Tadashi G. Takaoka2012-11-121-0/+213