History log of /frameworks/base/services/java/com/android/server/InputMethodManagerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9d08143fa72ad87572a7d5c714f379262a73e1b2 10-Jan-2013 Satoshi Kataoka <satok@google.com> Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled"

This reverts commit 32b812054cce27d1c70b53ba8ac729c7186b105e

Bug: 7976890

Change-Id: I75ab60734153719b199cf7281d23f5eb1ad2d1bc
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
32b812054cce27d1c70b53ba8ac729c7186b105e 19-Dec-2012 satok <satok@google.com> Fix a bug where disabled auxilialy IME is unexpectedly re-enabled

Bug: 7872918

This is a serious issue which the disabled system auxilialy IME is unexpectedly re-enabled by re-building internal IMI cache.

Change-Id: I0727cc973dfaea9823194021ce94af8665b98373
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
81f8b7c66750a0a89c8e6b6037136ca169c96f95 04-Dec-2012 satok <satok@google.com> Fix an issue on installing 3rd-party IME by a non-primary user

Bug: 7573552

Currently IMMS doesn't receive install/uninstall messages. Accordingly enabled IMEs' list is not refreshed properly.

Change-Id: I25e9798a65f528dd270cd6bb1f14b1d887194787
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
1af084113713743c70df04702083fff5a5325482 27-Nov-2012 Satoshi Kataoka <satok@google.com> Merge "Hide current soft input when a background user gains window focus." into jb-mr1.1-dev
bc7b6fc2a4b701596a2c8eecc4aeef522abeeafa 14-Nov-2012 John Spurlock <jspurlock@google.com> Fix IME down caret in keyguard nav bar bug.

The input method manager service now keeps track of whether or not
the ime was shown on the keyguard. This prevents activities behind
the keyguard from incorrectly showing the down-caret in the keyguard.

Bug:7498792
Change-Id: I0de01ec29cb544e902305b0f9d9fb94a73835e7b
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
8d03305b576e429909e420c235163c2be1aae732 19-Nov-2012 Satoshi Kataoka <satok@google.com> Hide current soft input when a background user gains window focus.

Bug: 7507226
Change-Id: If58f68469e21eaaba8536c4b54b3aa8cf8c08eb5
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
15451bd7afedb98a84574f69086936f883371c83 16-Nov-2012 Satoshi Kataoka <satok@google.com> Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected

Bug: 7540140
Change-Id: Iaac951ff457c35751b442e84ac07f1f86be93494
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
2ea9bae7121f1df5461437d7d08fa550cdf6e0b0 03-Nov-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7457380: IME leaves a mark after user switching

The gnarly stuff where we keep track of the old input method
window as if it was still there was sitting around leaving things
in a stuck state. Now we clear this out at key points in the
window manager (freezing screen, user change), and the input
method manager service is less aggressive about asking the window
manager to do it.

Also fixed a problem that was causing flickers during some
wallpaper transitions -- when we are animating two things on
top of the wallpaper and one of them disappears, we need to
make sure the wallpaper target points to whatever the current
target should be (if any), not left pointing to the old target
that has gone away.

Change-Id: I2fb9600f569a5bd5e3528aaf24cde9340af56cb0
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
f043de93ebb5178fb4b5c8f14e143c6f08bcc26f 24-Oct-2012 Amith Yamasani <yamasani@google.com> Fix a crash in InputMethodManagerService due to permission failure.

Clear calling identity before sending broadcast to the current user.

Bug: 7403829
Change-Id: If2b27d07d917b892470163e1303883b29a86c0e4
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
cd75706117432e33d11639e675bcff50479a6bb9 20-Oct-2012 Amith Yamasani <yamasani@google.com> System server should always send broadcasts to a specific or all users

Bug: 7368245

Log a warning if the system process calls unqualified sendBroadcast()
and other calls.

As a result of the logging above, found a few more method calls such as
bindService() that would benefit from being more explicit to avoid
future confusion and reduce the log warnings.

Change-Id: I17f15c8be9adf7becd456d6abbab606f19befdbf
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
c86884cd839123e3be3cc97c8f293ac47d3624a9 09-Oct-2012 Satoshi Kataoka <satok@google.com> Fix an issue on showInputMethodPickerFromClient

Bug: 7302748
Change-Id: Iff4345d26b3d6e4bfedf893bbd6a864c771df01d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
3ba439d6481b7f23ade44bfde0700aaa1e076a32 05-Oct-2012 Satoshi Kataoka <satok@google.com> Fix the issue on the input method switch picker

Bug: 7292731
Change-Id: I8cb51dd01e4c467fff511d4ecee79426f9b2ed80
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
3573950e0b30178dc963de3fa00aba2ebcfd552d 02-Oct-2012 Satoshi Kataoka <satok@google.com> Close the current input method when attached view doesn't have a handler

Bug: 7187452
Change-Id: Iba4f7ac89f5806e871aaeb97f366935b83b95a5a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
135e5fb71242b1151929e2ea7bf221ff421e6ad2 28-Sep-2012 Satoshi Kataoka <satok@google.com> Always accept API calls from processes which have INTERACT_ACROSS_USERS_FULL in InputMethodManagerService

Bug: 6931482
Change-Id: I1620413578b9e8da6564664219f65bdc00d5ecfd
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d08a9238db0de62c956788ceebb227d099ad88c2 28-Sep-2012 Satoshi Kataoka <satok@google.com> Fix ime swtich issue

Bug: 7250097
Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
5ade83ba1233b33c5570caac6e081229e32d6cec 26-Sep-2012 Satoshi Kataoka <satok@google.com> Treat additional inputmethod subtypes per user

Bug: 6931482
Change-Id: I4f7c7e69a80534da3a48ac508ff7a9e7511f33ce
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4e1ab15b305aac26ad8819fc3b2951e20985944d 13-Sep-2012 Satoshi Kataoka <satok@google.com> Enable multi-user function for IMF

Bug: 6931482

Change-Id: Ib23849d352db33f0747aa9d5a178f00ac726c13b
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
e62e6d8731ab1e02c1632ebc011792d07b902af8 02-Jul-2012 Satoshi Kataoka <satok@google.com> Add subtypeId for keeping enabled "InputMethodSubtype"s even if subtype parameters are changed

Bug: 6752230
Change-Id: I3a2d512e395fe8645edf6ab82108948b927c629a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
758143ecfedbe08cc6c4fed0ad8ad7a854194ca4 07-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Window position not reported if the window is not moved.

1.If a window is shown but never moved the window window
is never notified for its current location. Therefore,
accessibility nodes do not contain correct bounds in
screen coordinates.

bug:6926295

Change-Id: I7df18b095d33ecafffced75aba9e4f4693b0c393
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
39606a007a5b1309dd000234f2b8cf156c49fd0f 01-Aug-2012 Dianne Hackborn <hackbod@google.com> Make AtomicFile a public API. It's about time!

Change-Id: Ib34e294747405b7ab709cb0bbb2d9a0cc80ce86a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4c0e7152e74d091eb78af8baacd38287ba95a1a1 20-Jun-2012 satok <satok@google.com> Workaround: Never reset the default IME if the system is not ready

Bug: 6685037
Change-Id: Ifb311f85154beadd4787ec73669bedfdf1f5172d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
590d515d912396a0c293d78529ac0dbc224400bf 14-Jun-2012 Daniel Sandler <dsandler@android.com> Show even fewer notifications in Setup.

Restricting to pkg="android" didn't filter out things like
open wifi networks, etc. So now we have a whitelist:
notifications must be sent the "android" pseudo-package,
*and* they must have one of these "kind" tags:

- android.system.imeswitcher (IME switcher, needed by SUW)
- android.system.update (OTAs)

Note that OTAs currently use a fullScreenIntent, so they
bypass this logic anyway, but for consistency's sake we now
allow OTA icons in the status bar explicitly.

Bug: 6645469
Change-Id: Ib2e2f22d7a0817a1acaf8137ed4f3c7d3ddf8af5
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
a6e41342e2159402e33866e7145be357065d9c9a 23-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #5680541: onStartInputView called upon focus loss

We should tell the app that it is inactive, before unbinding.
Otherwise when it is told to unbind it will see that it is still
supposed to be active and immediately re-bind.

Also change the calls to set the active state to go through the
message dispatch path, to ensure ordering is correct.

Change-Id: I246241eac8f7521f42c4c1eee7f46097337e7303
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
ac92087a9a1c464d4b0a58c82dae01cbaa088e89 22-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6499411: Characters not displayed (but suggestion bar is working)

The problem was that when dismissing the lock screen, the window manager
would briefly turn off force hiding when it started animating the transition
and then turn it back on until the transition was done.

This would cause it to briefly switch focus to the app behind and then
take focus off it. The app would find out it got focus, and re-start
input on itself, asking the input method service to do so. At this
point the input method service would ask the window manager if the
caller really had focus, and it may or may not be told no depending
on the timing. If it is told no, then it doesn't allow the focus
switch to happen at that point, ignoring the new input connection,
and ultimately when focus does really switch the IME is left talking
with an old dead input connection.

I added some code to the input connection to make sure when we are
no longer using one that we mark it inactive and can't use it. This
bug was especially difficult to track down because it would only
visibly break when a GC happened during this time, causing the weak
reference on the input connection to become null. With this change
it will now always break (though in the scenario here only if you
hit the race condition correctly).

Change-Id: I81a6164dc140c548da1a9736e42cd253e8238a80
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d81e950265356c81276b73da68a535ffa48d72f0 20-May-2012 satok <satok@google.com> Fix the issue on the inconsistent condition of InputMethodSubtype

Bug: 6510104
Change-Id: I67790e5f59d0d05340b74eca1029c60f381061b8
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0a1bcf4e0d0c26af3f6ad3e57726082c92549bd3 16-May-2012 satok <satok@google.com> Consolidate the initialization of InputMethodManagerService not to use resource values until system ready

Bug: 6477193
InputMethodManagerService have used the resource value of "isDefault" in the constructor. We should wait to use that value until system ready.
Change-Id: I682fc109c303d8c7fd33d494c59e8e28d6dc6fa5
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
e0a99414bd3737ad976bf4a040c184bebd8e2e3d 09-May-2012 satok <satok@google.com> Fix the issue that the insets linger after closing the voice input

Bug: 6456954
Change-Id: Idf7700271cf882dfbf35c9d16f0f173a791221bc
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
93d744deb167d5c681b5bb5627fd36a92f1ea79a 09-May-2012 satok <satok@google.com> Fix sort order of the input method switcher in IMMS

Bug: 6333988
Change-Id: Ief392c9157f2a37600e517ec9caf586ffb9d5f0d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
fdf419e81d795593e3792c9e78f33ed899ff098e 08-May-2012 satok <satok@google.com> Do not return stale subtypes

Bug: 6294329
Change-Id: I3f0713f94c291298dfd447d1b65bd7c6d2858492
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
5b927c431f54ea47c3333afb7940d79e2e863f1a 01-May-2012 satok <satok@google.com> Reset the default system ime to the proper one when the system locale is changed

The framework automatically enables only valid system default IMEs and IMEs that have at least one English subtype at the initial boot and system locale changes.

Settings: I9af4065e4b9f933

Bug: 6422666
Bug: 6422390
Change-Id: I0b86ddba692144521f30e0b9086ddd67bfb9a793
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d0d7503fd3e941113094532f28986f49b11b5fdb 20-Apr-2012 Dianne Hackborn <hackbod@google.com> Move handling of package changes to a background thread.

Helps get rid of some jank when installing applications.

Change-Id: I97d0022f82d67796e334d37086e5911dd6ca6b62
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
6ec6f79e1ac1714e3b837796e99f07ff88f66601 18-Apr-2012 Jeff Brown <jeffbrown@google.com> Support loading keyboard layout overlays from resources.

Added the concept of a keyboard layout overlay, which is
a key character map file that has "type OVERLAY".

Added support for loading keyboard layout overlays from
resources dynamically. The layouts are reloaded whenever they
are changed in the Settings application or an application
is installed. This is somewhat more aggressive than necessary
so we might want to optimize it later.

Before system-ready, the input system uses just the generic
keyboard layouts that are included on the device system image.
After system-ready, it considers the user's selected keyboard
layout overlay and attempts to load it as necessary. We need to
wait until system-ready before doing this because we need to
be in a state where it is safe to start applications or access
their resources.

Bug: 6110399
Change-Id: Iae0886d3356649b0d2440aa00910a888cedd8323
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
01038492ff0317f0d3cff54d8a7ee36bb31ff175 09-Apr-2012 satok <satok@google.com> Show physical keyboard control button on the input method switch dialog

Bug: 5240095
Change-Id: Ica768083f95c33dc1e494a28ba7d8b6eb989b0ef
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
2c93efc9eb188532472edc9e0c3e1ab8121aa20d 02-Apr-2012 satok <satok@google.com> Hide ongoing notification icon when the screen is locked.

Bug: 5858903
Change-Id: Ibee9123f4a520e77f4baf8bdd3d75364ab451100
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0aec3ea6defdee1ee4a9c0d6c4a3c13df3e7b812 25-Feb-2012 Dianne Hackborn <hackbod@google.com> am 911b505f: am dc5fa185: am 133dc2d7: Merge "Fix issue #6048808: sometimes auto-correct is inactive" into ics-mr1

* commit '911b505f11c719906985f169a4f45930bdec8695':
Fix issue #6048808: sometimes auto-correct is inactive
7663d80f6b6fd6ca7a736c3802013a09c0abdeb9 24-Feb-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6048808: sometimes auto-correct is inactive

My previous change to speed up the time the IME is dismissed was
fundamentally flawed. That change basically switched the order
the application called the input method manager service from doing
startInput() and then windowGainedFocus(), to first windowGainedFocus()
and then startInput().

The problem is that the service relies on startInput() being done
first, since this is the mechanism to set up the new input focus,
and windowGainedFocus() is just updating the IME visibility state
after that is done. However, by doing the startInput() first, that
means in the case where we are going to hide the IME we must first
wait for the IME to re-initialize editing on whatever input has
focus in the new window.

To address this, the change here tries to find a half-way point
between the two. We now do startInput() after windowGainedFocus()
only when this will result in the window being hidden.

It is not as easy as that, though, because these are calls on to
the system service from the application. So being able to do that
meant a fair amount of re-arranging of this part of the protocol
with the service. Now windowGainedFocus() is called with all of
the information also needed for startInput(), and takes care of
performing both operations. The client-side code is correspondingly
rearranged so that the guts of it where startInput() is called can
instead call the windowGainedFocus() entry if appropriate.

So... in theory this is safer than the previous change, since it
should not be impacting the behavior as much. In practice, however,
we are touching and re-arranging a lot more code, and "should" is
not a promise.

Change-Id: Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
688bd47fccf1a1373e6287bc49b5b33fad12b7f3 09-Feb-2012 satok <satok@google.com> Add an api to switch to the next IME and subtype

Bug: 5975302

Change-Id: I48aa4220159c65f456d61a324efcdf0a1ceec91c
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
c36905673a7bcafe9ec74e82e6c4977f2aca6a50 10-Jan-2012 satok <satok@google.com> Enable subtypes when the implicitly enabled subtype is not ascii capable keyboard
Bug: 5806103

Change-Id: I1a83b227498073c47567f73566043c273809adc9
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
3afd6c0d4d5c2c80cf0450941babaee32ec9c7ee 18-Nov-2011 satok <satok@google.com> Hide/show ime switch icon properly

Bug: 5481999
Change-Id: I4b3dde7285a9ac49da8d5d1133fddd0807b03f4d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
2c84cfc001fb92a71811bf7384b7f865ff31ff9d 31-Oct-2011 Dianne Hackborn <hackbod@google.com> Various performance and other work.

- IME service now switches between visible and perceptible depending on
whether it is being showm, allowing us to more aggressively free its
memory when not shown.

- The activity display time is no longer delayed by the activity
transition animation.

- New -R (repeat) option for launching activities with the am command.

- Improved some documentation on Loader to be clear about some methods
that apps should not normally call.

- FrameworkPerf test now allows you to select individual tests to run.

Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
15452a487a4c0274f4217cd060aa54446f30a8f3 28-Oct-2011 satok <satok@google.com> Hide ime switcher when the screen is turned off.

Bug: 5481999
Change-Id: Ifc870f1350db2a67405c05f6de447a69dc050408
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
e0d32a60da29e133e5b4ff46133628476d83872c 20-Oct-2011 Jean Chalard <jchalard@google.com> Fix a warning from the binder, step 3.

This patch fixes the following warning:
W/Binder: The following Binder class should be static or
leaks might occur: com.android.server
.InputMethodManagerService.MethodCallback

...in hope of removing a possible memory leaks.

Bugs: 5481376, 5461066
Change-Id: I1764090a7059d9bf9e5d90683d7ac190c83415de
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
dc9ddaee9a710cf6f5d7f37350650f82e706c706 05-Oct-2011 satok <satok@google.com> Fix the behavior for choosing new default IME not to choose an auxiliary IME as the default IME

Bug: 5420127

Change-Id: I3649de36806fc24e1c85c2b15db5e37acad1f120
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4a553e3a70d26fac5d7b7ec1142e0cabfdd66670 03-Oct-2011 satok <satok@google.com> Prioritize the order of subtypes in method.xml for implicitly enabled subtypes

Bug: 5401115
Change-Id: I6d9229cd266e27b68a6b9a2892aabfba4fe4de00
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
59b424c3b6121c9579fc5efcc785ba084072a5ca 30-Sep-2011 satok <satok@google.com> Fix a logic to recconect IME in InputMethodManagerService

Bug: 5380216

Change-Id: I7af67265eebbd28f002210d7ac90dd18f1858f66
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9747f8977c55013e656a1e666a1647bb331954ce 12-Sep-2011 satok <satok@google.com> Fix the visiblity of the ime switcher icon.

Bug: 5288866
Change-Id: I99b4aee36c337b2fab1116e9245ddecd826c840c
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
38aac047431ea370509f956ad16224b39a71e586 06-Sep-2011 satok <satok@google.com> Do not show the label for auto subtypes

Change-Id: Ie62d0b83f2fcb2c93d3935bcaa5121d2adc56b7d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
05dbb65dfa3b81a4b70069ca6aa0a343b56565f9 22-Aug-2011 Ken Wakasa <kwakasa@google.com> Two line item for the IME switcher dialog.

bug: 5098770
Change-Id: I2b955973e7f223d8c98d8dac6aaa657a7a31b555
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
bffb83e96c2f3d01bf42490737201ab4de79c91b 02-Sep-2011 satok <satok@google.com> Merge "Add an option for the implicitly selected subtype"
a86f5e448cd6d29340ca6cbe509bc6384bc0d711 02-Sep-2011 satok <satok@google.com> Add an option for the implicitly selected subtype

Bug: 5057886
Change-Id: Iddde4724891501b4f18cade6a3d2c64b6124e58a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
ee5e77cafec2eae70890abdcc1646ed39b06eddd 02-Sep-2011 satok <satok@google.com> Make setAdditionalInputMethodSubtypes async

Bug: 5120261
Change-Id: Ic7869cfaa5361531e08d58d7dfa5ba0feab0613e
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
c593380d1bccbfbd45c404954b2670b65acc287f 31-Aug-2011 satok <satok@google.com> Fix crash in setAdditionalInputMethodSubtypes

Bug: 5142455
Change-Id: I5eca4c1a3d9a964db04c819fc671670ef1b81817
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
ed2b24ecc7842b27178fc584a9e5bd5b1ab07635 31-Aug-2011 satok <satok@google.com> Fix set additional subtypes.

Bug: 5102787
Change-Id: Ic38db8c33b6496a083e8158cd79fb54c21187b04
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
bc81b692d51a9cd6f9d61584aacd8308ac3366ea 26-Aug-2011 satok <satok@google.com> Do not show auxiliary subtypes on the lock screen

Change-Id: Id7cf5d122968790ba6d75d3b047d45ea99e4d0f6
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
dbf2950781ab0c4c0fc4ad9bd71b13c55ae6f471 25-Aug-2011 satok <satok@google.com> Dismiss the ime switch notification properly

Bug: 5159818

Change-Id: I606294dd453d3cc105714c62b945fcf1fa11164d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
661cd52e0e1d527132eb1cae604d3e64da7ec0cb 22-Aug-2011 Dianne Hackborn <hackbod@google.com> Add progress dialog for booting after an upgrade.

This introduces a new facility for code during the boot process
to display messages to the user through a progress dialog. This
is only for use when performing longer-than-usual post-upgrade
operations such as running dexopt on applications or upgrading
databases.

Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
5bc8e732bd831a308a5bc1720b0e4c9300d32f67 22-Jul-2011 satok <satok@google.com> Display the current ime and subtype name in the ongoing notification

Bug: 4903422
Change-Id: I3eaeb3decb75f687ad2af0d80340b819229c3ebe
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b858c732f665fe9610f2d913230ae625f44a8caa 22-Jul-2011 satok <satok@google.com> Delay load the settings for the ongoing ime swither

Bug: 5029803
Change-Id: I488ff7804a986b71bf01b3dfad0e65fd4707965d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
35be3dee17fed3036ad40b9dd2ea3ee7504b3dc3 19-Jul-2011 satok <satok@google.com> Merge "Hide "Configure input method" button when the screen is locked."
f90a33e92a7c8d4040c0e660a62336eb7293d785 19-Jul-2011 satok <satok@google.com> Hide "Configure input method" button when the screen is locked.

Bug: 5022109

Change-Id: I5c6b59044d03b3f0335de1f602d1c3749b038c75
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
91e88122cf28a48fd2e2260da7d3d87dd437227a 18-Jul-2011 satok <satok@google.com> Enable IMEs to set additional subtypes in background

Bug: 4591792

Change-Id: I7e61a576c56d1a3a56001bdf2fd51ad3801add01
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
683e2383c8549f95e00bade15daed3dbddf13950 12-Jul-2011 satok <satok@google.com> Change IME picker dialog from Activity to Broadcast

Change-Id: I4822899f34a2951d2f2a1258d1adcc7d8fccbb12
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0e7d7d632309409e2bc51d5317cf7a92a7541433 05-Jul-2011 satok <satok@google.com> Fix NPE in getLastInputMethodSubtype

Bug: 4991393
Change-Id: I4ced2a2ca4815c7cee84a72dc6131fb8c4ee7216
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4a28bde70e23b2ed151d52690da702da7f23cf5e 29-Jun-2011 satok <satok@google.com> Fix setAdditionalSubtypes

Change-Id: I01685c5fedf3b0c35a0dd7cb84ec3147ad32529a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7dca6cd82d0ca7110c09fe66c8eb4205b05e2688 29-Jun-2011 satok <satok@google.com> Show aux ime in the selection dialog if a keyboard is shown.

Bug: 4968819

Change-Id: If4ac4549f179637fe3ecd313edcb44d5eb89349f
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b6359414adabab2d64acc8ccc9e3b9c1b800b303 28-Jun-2011 satok <satok@google.com> Fix the visibility of ongoing IME switcher

Change-Id: Ifbfda4b0a54b9fc6ff36a14d5e493d9272dfed0f
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7cfc0ed21a3fafabafb40b38a8589808ad1517af 20-Jun-2011 satok <satok@google.com> Add an ongoing notification to switch IME

Bug: 4671417
Change-Id: I2b9e955003c1f6703978824c947d5f322a039714
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
e7c6998e0a953ae55487d4fe122739646f9280aa 03-Jun-2011 satok <satok@google.com> API to set additional subtypes

Bug: 4321667

- Due to the voice team's strong request

Change-Id: Ia8bbc277c0987bde996e6f65541877cec96a3ca1
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4f31353cb3b00c77c9420ef27ec949fd570ede3b 01-Jun-2011 satok <satok@google.com> Add an api to get the display name for InputMethodSubtype

Bug: 4321667

Change-Id: I55aa844ff33dae0cf8ef00072e87727992eb77c1
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9b4157935af9e44571187a9533c2cc9b413383bf 29-May-2011 satok <satok@google.com> Use isAuxiliary instead of ExtraValue for the auxiliary subtypes.

Change-Id: Ibce4f884e697ca789b9942cf3abad43741040a87
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
42c5a1666c4e576ccd5974233513100aad2c1534 26-May-2011 satok <satok@google.com> Fix internal variables and equals in SuggestionSpan

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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
f9f01008624e2d28c15a90d942fa36f98c8c967d 19-May-2011 satok <satok@google.com> Add Apis to send notifications when the suggestion was picked

- Due to a strong request from VoiceIME

Bug: 4443922

Change-Id: Ia539de0acf66053e0349daec459d75e36805f6bf
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
208d5634047111811de16fb63c43d0bc8b4fe6de 20-May-2011 satok <satok@google.com> Fix a bug on SwitchToLastInputMethod

Change-Id: Iab7531e7436375941ec3df4fba943af24e2f1231
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4fc87d61c29886c848789208c9e32ba9ac4e5dd3 20-May-2011 satok <satok@google.com> Fix switchToLastInputMethod to fall back into the applicable keyboard if there is no candidate ime

Change-Id: Iaf293cf6c6fb35a994f344b0afc30e9f523032f4
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
68f1b78b7b9139a0e34285ff641a664e664a14b8 11-Apr-2011 satok <satok@google.com> Add an API to get the last used input method subtype

Bug: 4075039

- Voice input requires to know the last used input method subtype.

Change-Id: I603a4fb88a2af5195e52188adfa6585ad80304fa
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b548a3cfa022451098cc73e25ce79f1776e78715 14-Mar-2011 satok <satok@google.com> Remove a workaround for the data inconsistency of SystemProperties

Bug: 3473532
Reverting: Ie3f5b484b5574e10a4

Depends on Bug: 3511230
This must be fixed before submitting this CL.

Change-Id: I435a294a818bec5675f0ada00d81c1b3e37d1dce
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
6e38d26c1e66cc957c33d4263013e02623ebd6da 04-Mar-2011 Ken Wakasa <kwakasa@google.com> Merge "Fix the sort order of the input methods & subtypes in the settings." into honeycomb-mr1
761eb3762f3602dd1859905ee4ba80f0ef6aec56 04-Mar-2011 Ken Wakasa <kwakasa@google.com> Fix the sort order of the input methods & subtypes in the settings.

It should have been the same as how the IME switcher panel does.

bug: 3364167
Change-Id: I48b98c9c4598720edf7cf09d1b9358a9ebed6051
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
48f91e35c5188f3dc78c12b8e8638a248221691b 04-Mar-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix Fragment.onInflate() to actually work correctly." into honeycomb-mr1
e3a7f628c6d9fef42be24999b3137ebe5c6f3525 04-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix Fragment.onInflate() to actually work correctly.

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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
81f6e3d8d214a8ffadb6bae63b705602fe165156 04-Mar-2011 Ken Wakasa <kwakasa@google.com> Append IME's name to the subtype name in the "Select input method" dialog

bug: 3364167
Change-Id: I79b5435ec457e9e71ae69dbfaad8e719db6ff6d3
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
a924dc0db952fe32509435fdb8dc9c84a9e181f3 17-Feb-2011 Dianne Hackborn <hackbod@google.com> Start window manager refactoring.

Move all of the pieces into a new com.android.server.wm package.

Change-Id: I942b7bcfb84ee0f843f47d58e55ffc5a93c0da94
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
a5e9ffa35ce84633cedfca769787873f62bd4622 16-Feb-2011 Ken Wakasa <kwakasa@google.com> Fix a bug in canAddToLastInputMethod()

bug: 3456057
Change-Id: I977e984aafb36fdb83ac05d19fe0c7324a36d0c5
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9c4cc03a354922df08efacfc486ef0e80144d3ea 14-Feb-2011 satok <satok@google.com> Add a method to check a string contained in ExtraValue of InputMethodSubtype

Change-Id: I34390537eaacd3ff8cfd336eaf5b9ca0d3e4b802
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7265d9bd6d80c5bedaa6de2b80f6619a301a07c8 14-Feb-2011 satok <satok@google.com> Add sort method to InputMethodSubtype

Bug: 3364167

Change-Id: I94ad55b8eab49dc9b233dcb4e74429863b406fb4
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b6109bb591bc02bf8a2d9d5ca76d69d1961c9b5f 03-Feb-2011 satok <satok@google.com> Register ENABLED_INPUT_METHODS to SettingsObserver

Bug: 3415292

- Registration is required for catching current IME or subtype is disabled

Change-Id: Ia95f16df5bd725c05b4f5085f975d235b88d4b6e
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4d733290a112fbe7ca5631ee870094b538f39d80 31-Jan-2011 satok <satok@google.com> Not to update IME when Settings version is older than the last updated version.

- 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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
8710e76a897cd546a79ee4338a4147eeb9f3e068 30-Jan-2011 Ken Wakasa <kwakasa@google.com> Follow up change to I741642ac

Fix wrong constant.

bug: 3404788
Change-Id: Ic5f849e6640a78a70951cf819d7e8ce53a9c2585
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
e40dea0d06ec1c04db80191fd2965363b4fac781 29-Jan-2011 satok <satok@google.com> Fix a bug that IME switch disappiers at switching IME subtype.

Bug: 3404788

Change-Id: I741642ac690a1b4c6ca1225ee271bffe39164170
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
857fd9b8562c29913e03ed29288bd1802d37dc60 28-Jan-2011 Joe Onorato <joeo@google.com> Plumb whether an input view is actually visible or not through from the IME
to the status bar.

Bug: 3391067
Change-Id: I049531155bf7ee0b29874916c0b5b0a45b73c09e
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
c445bcd0bce630948ee029d7c70b28226f0b6c9c 25-Jan-2011 satok <satok@google.com> Fix the return value of switch to last ime.

Change-Id: I5fe8cc696433a7ee72973d16d8f121d3362ab0e0
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
57ffc00239edcfe733832771e1429fca20182207 24-Jan-2011 satok <satok@google.com> Add a way that subtype will be excluded from a last input method

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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
bb4aa0683c8a0a1e617c6d5f03eda33f49b89ed9 19-Jan-2011 satok <satok@google.com> Show implicitly enabled subtypes in the input method selection dialog

bug: 3367646

Change-Id: I9550f17f163950d80113fbcb8c9dd8a7d014cf6a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0e5bf5051b02bc382fb7e6c975511af499b31624 21-Jan-2011 satok <satok@google.com> Merge "Show ime switch icon when there is a hard keyboard" into honeycomb
865b97761cc58053f45a8b06b531d60d8e482c3a 20-Jan-2011 satok <satok@google.com> Show ime switch icon when there is a hard keyboard

Change-Id: Ife3a8733b1a1bf43b195ecf4b8c5082b6538d0a0
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
586f051375d8d7aeece05329921f9f66fc6164cb 20-Jan-2011 Ken Wakasa <kwakasa@google.com> Refine InputMethodInfo API

bug: 3370297
Change-Id: I2a18f3bdbe2fccb22e22cdae0f75aec5c703ad6d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
2548020c364c4119d134c84cc7a00ffca2dcbe7b 20-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Add android.provider.Settings.EXTRA_INPUT_METHOD_ID

Change-Id: Iecb7a9c265cafe96e7eec099341133da8e966f6f
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
f49688fa17b70313c0734f00df73bc3308a749e9 20-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS

Change-Id: I27c318777355991ae4ad72d0b2480e93c8c5044e
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d871343dbbde38f25ac0b41155e2f9d2dd7aadca 17-Jan-2011 satok <satok@google.com> Fix the algorithm to get current input method subtype considering explicitly and implicitly enabled subtypes.

Change-Id: I2e6d9ae36a1335f67b6db7659244cdfb2bfe3068
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
f6cafb63753a26440cb3ad2e5124370aef650015 17-Jan-2011 satok <satok@google.com> Implicitly/Explicitly subtypes bug.

Change-Id: I6ccc22d4272ee92c0d8ba3f3c724d8f838d51310
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
df31ae6a3011d47421a6ac10021f9649dc34a156 14-Jan-2011 satok <satok@google.com> switchToLastInputMethod returns a implicitly enabled subtype in the history

Bug: 3353363

Change-Id: Id5f8a62017880330401ebd3e77d943eb7817e555
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
82beadfa067b1e286fa604f8d7960d769411c954 27-Dec-2010 satok <satok@google.com> Add input methods settings panel

Bug: 3141466
Bug: 3301559
Bug: 3284424

Moved from old master I4d9abeea

Change-Id: I62fa64cc095e1b9ac34f21e7d4d2e0bb8a3e68fc
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
ca83021e3555e8b2bd07ded7885dc44053cd1a25 13-Jan-2011 satok <satok@google.com> Save input method subtype even if the current IME is not running.

Bug: 3325103
Change-Id: I6dfd19a0d494526cdb4cfb4230a5376ce94ca94a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
3da922367c0dbe67b97fe97fcfca13fd93602f7a 11-Jan-2011 satok <satok@google.com> Update shortcut IME when asked. And match the language of subtype by "startWith" not "equals".

Bug: 3329578

Change-Id: Ib45ca20560c96faa6e2798242f3d1c3fe5156457
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7599a7fb1ab5b75ca801f7d7e448f4c097320e01 22-Dec-2010 satok <satok@google.com> Fix NPE when the shortcut subtype was not found.

Bug: 3300904

Change-Id: I1bc2578b63bb842363d70e48c77e9f9fee8fac6b
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
16331c8a1d33defccc5cbb18694def79196c921b 20-Dec-2010 satok <satok@google.com> Add a parameter to InputMethodManagerService.getEnabledSubtype for allowing to select subtypes implicitly if no subtype is enabled.

Bug: 3142286

Change-Id: I92d019d0648c552e6d7695c3530aa81ae054d702
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7fee71f66afef6421b92fa48e63d4bc73f5d0c27 17-Dec-2010 satok <satok@google.com> Fix build breakage

Change-Id: I5db5bcafc61f0aea5279e2f8679094a900b6f6cc
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
217f548e79ab1ac3dd9e5be8fb6feaa6dcbe4000 14-Dec-2010 satok <satok@google.com> Change "more" button to call InputMethodConfigure in Settings

- Open input methods config fragment in Settings application
- Add input to showInputMethodAndSubtypeEnabler

Change-Id: I3f5c8a6a136aeb91326aa87475edee76517a8467
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7d3a5bcf300aea7bffb1d46f28e244ca807f5e82 30-Nov-2010 Dianne Hackborn <hackbod@google.com> Auto-show IME for dialogs on large screens.

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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b416a71e56cdd50742eb897366a140775aa4cd61 25-Nov-2010 satok <satok@google.com> Fix build breakage

- Reverted unintenitionally removed function

Change-Id: If083119e31c28b6f73d8ac85f2df4a8ab12dcb7f
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
440aab54cab106030f1edafea4dec1f9d8624f9b 25-Nov-2010 satok <satok@google.com> Removed InputMethodSubtypePicker

Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
cd7cd2969f545ad061a9b4ecd0044f15eb1b4abb 20-Nov-2010 satok <satok@google.com> Store the current IME's token in the system bar for changing the current IME 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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
2820351489537698ad153c6397edf3270455edc5 24-Nov-2010 satok <satok@google.com> Add an API to set InputMethodAndSubtype

Change-Id: I66f1a4c8e0d98705614f12a737e7efcd0263b72a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
f3db1af8d55ab247b6db67baf4fe772c18f33cab 23-Nov-2010 satok <satok@google.com> Change return type of getShortcutInputMethodsAndSubtypes to Map<InputMethodInfo, List<InputMethodSubtype>>

bug: 3201828

- Brushed up the code

Change-Id: I11ad9d1d749bd8947144ca7f1676bab3cf777fd6
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4e4569dab5c75804b01a19b2d6e6101b445c1c68 19-Nov-2010 satok <satok@google.com> Add an API to get shortcut IMEs

- If there are no selected shortcut IMEs, the most applicable voice input will be selected as a shortcut IME

Change-Id: Ibd0f7ef5101013569c303820a3adc9038a97356d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
3ef8b29fa03fe3ae1c57fd891a12afa46128fff8 22-Nov-2010 satok <satok@google.com> Synchronize getCurrentInputMethodSubtype

Change-Id: I8bcedb39baba10e7035d5c1c11f41f74943874d1
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
884ef9a11fb25b80630265daee46c5609707751f 18-Nov-2010 satok <satok@google.com> Return the enabled subtypes for the current InputMethod when the input value of getEnabledInputMethodSubtypeList was null

Change-Id: I6892064dbc2214946871a0ba4ad08e00a2eb6c7b
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
67ddf9cbd5d7133c7f443cd3c55841ed1109c3a0 17-Nov-2010 satok <satok@google.com> Add a function to get enabledInputMethodAndSubtype

Change-Id: Ie97635343249aa63e33028c2843cab103125ca92
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b66d287e3003a0934d5714fbf15e554b3c814906 09-Nov-2010 satok <satok@google.com> Add a setter of InputMethodSubtype to InputMethodManager

- Public API: void setCurrentInputMethodSubtype(int pos)

Change-Id: I55daa19ba924999def544bf841f00bf54852f3e1
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
03eb319a3a7fe6fe9ab9eba6fc1f727285850906 11-Nov-2010 satok <satok@google.com> Reset IME to the build-in IME when there is something wrong with the current 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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
735cf38b8c7f8f91ad087511e44fe79018fa61d6 11-Nov-2010 satok <satok@google.com> Add a function to switch back to the last used IME

Change-Id: Iac7bcc2ee16dd04d91a3e75b160622d246788c9a
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
723a27ef3d7c94fc666abc52e0abd5e8526acb69 11-Nov-2010 satok <satok@google.com> Save the history of InputMethodSubtype for reverting the subtype when IME 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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0ba75bb22c2992f649ee5f7605a2b45442ad4862 09-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Revert "Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed."

This reverts commit 1ab852fbcfe155c9d4373b7130f8515591669634.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
1ab852fbcfe155c9d4373b7130f8515591669634 05-Nov-2010 satok <satok@google.com> Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed.

Change-Id: I66752a881726c0ce2816a9d54de60fb0d992e968
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9ef0283bdcd9534cc09ae37eb2b78771b95247b5 04-Nov-2010 satok <satok@google.com> Change API for getting InputMethodSubtype's mode from resource id to String

Change-Id: I00aa99f8ab9901d40806a6bb336ab718eb857e8b
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
8fbb1e84ee6497f89322f2e40453c1cfa83fb4ef 02-Nov-2010 satok <satok@google.com> Find the most applicable subtype when there is no selected subtype but IME has subtypes

Change-Id: I1239d67a65abd5eedebd689d02f007961b9c5d73
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
06e0744e9e1a04a07e2e1bf9279124223bd674da 02-Nov-2010 satok <satok@google.com> Update the subtype icon properly.

Change-Id: Ib89959d1ea13f1e6f56e6280f90532e6695c4a00
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
57c767c7b7a4cdcd0c33ec453a9f2c0b853999b6 01-Nov-2010 satok <satok@google.com> Fix a bug that enabled Subtype ID can't be saved propery.

Change-Id: Iccf175c55ebfd86f3045ad27bff4f34d7963ebc7
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
06487a58be22b100daf3f950b9a1d25c3ea42aa2 29-Oct-2010 satok <satok@google.com> Add a functionarity for showing / hiding IME button on the system bar

Bug: 3077030

- IME communicates with status bar directly.

Change-Id: Ic5b6b5b7a2b8ea62372dcc9b9c36d81b9f2db651
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
86417ea3f8041481a085823a1aa9f66d747231e8 27-Oct-2010 satok <satok@google.com> Remove InputMethodAndSubtypeEnabler and call intent of Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER

Change-Id: I467cfba9644ec266f6a98f7aec0886ad205fef4f
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0ff647b030287ab78eacfc2ba8da1a2bad5759ec 08-Oct-2010 satok <satok@google.com> Add a cancel button to InputMethodPicker and InputMethodSubtypePicker

Change-Id: Ia64b9716c18da5a541c7fc04a507541d2ab952da
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7f35c8cc88bea5230f001dd4356f864845d202e5 07-Oct-2010 satok <satok@google.com> Show "more" button in the dialog of InputMethodSubtypePicker

- Handle subtypes correctly in InputMethodPicker

Change-Id: I0ff9baec46724ca9dee2a7943fee69d4b204589e
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
47a44916e2fb33cf4751906386d5f5c903b28d8b 06-Oct-2010 satok <satok@google.com> Add InputMethodEnabler for enabling input methods and subtypes

- Copyed functionarity from LanguageSettings.java

TODO: Save enabled InputMethodSubtypes

Change-Id: I7b4fb1a79cb8b3229f88773d261430e23ba7aae2
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d87c2594c688b4ed8fc9c14053abfbc5ea87fb5e 29-Sep-2010 satok <satok@google.com> Add utility of enabled InputMethod settings to InputMethodManagerService

- 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
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
dc71b9e4d67327065a992924a021cad4bc100fa2 01-Oct-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 6a3eddb4 to master

Change-Id: I1ca1d100274d4a733ef2bf58b0d5d7217b4f858e
cef65eeb0315c3118bf8860d6f723cb49ff6bc52 01-Oct-2010 Dianne Hackborn <hackbod@google.com> Rub in a little 'ol log-b-gone.

Mmmmmm... great fresh scent!

Change-Id: I050e70b31b5d4a9c6731f15a4b51a3620a33a78d
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
ab751aa085433e9f735d2e7603459c6c7e9d2fb0 14-Sep-2010 satok <satok@google.com> Add methods for managing subtypes

- added showInputMethodSubtypePicker to public API
-- show the selector dialog for subtypes
- added getter, setter and event handler to InputMethodManagerService
- extract InputMethodSubtype to the top level class for using it in aidl
- TODO: make an enabler for input method subtypes
- TODO: handle the event of changing an input method subtype in LatinIME

Change-Id: I49f8c6675ac4b06511635d14a37bd398738eff33
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b88102f5b7e51552a3576cf197b4c8cf96f193d1 08-Sep-2010 Jeff Brown <jeffbrown@google.com> Input dispatcher ANR handling enhancements.

This change is essentially a rewrite of the main input dispatcher loop
with the target identification folded in. Since the input dispatcher now
has all of the window state, it can make better decisions about
when to ANR.

Added a .5 second deadline for processing app switch keys. This behavior
predates Gingerbread but had not previously been ported.

Fixed some timing inaccuracies in the ANR accounting that could cause
applications to ANR sooner than they should have.

Added a mechanism for tracking key and motion events that have been
dispatched to a window so that appropriate cancelation events can be
synthesized when recovering from ANR. This change helps to keep
applications in sync so they don't end up with stuck buttons upon
recovery from ANRs.

Added more comments to describe the tricky parts of PollLoop.

Change-Id: I13dffca27acb436fc383980db536abc4d8b9e6f1
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
913a8925c07e854a80bf5df87561f290d3a56d61 26-Aug-2010 satok <satok@google.com> DO NOT MERGE. Backport master InputMethodManagerService.java to gingerbread

Change-Id: Ied15b4f2f447ee3e3b858d4ca65c21c30dfa4eba
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
7a0f36bd93ad8a5b8cb3e1fe56dbdb43a0ad3a57 07-Jun-2010 Joe Onorato <joeo@android.com> Move status_bar_latest_event and LatestItemView into SystemUI.apk.

Then, now that StatusBarManagerService is the only thing in that package,
move it up to the regular services package. (I've been waiting for 4 years
to delete that package!)

Change-Id: If5faf44641319fd19e486d1f4e5bc1c6dfcff3ad
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0cbda99f8721ad9b03ada04d2637fb75a2a0feca 03-May-2010 Joe Onorato <joeo@android.com> The status bar draws its icons now.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
089de88fc2f08d284cf8031aa33cff06011a4162 12-Apr-2010 Joe Onorato <joeo@android.com> StatusBarService -> StatusBarManagerService

Change-Id: I7efc245395bd91a656b30d420c9b080877162360
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9d0f6dfdc1ac0b9374acf51572f273e9c9bbc9f9 29-Mar-2010 Jean-Baptiste Queru <jbq@google.com> Fix build

Change-Id: I8c68731786ab648dc916b09333b67acb26f81594
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
c89704a77f9c51ebd8c1cc6863e15ff402a56c86 29-Mar-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I6a8109d11dabc579501c598ab2927cf802797130
e861ec11c458b4f76eb80da518dfee6a400071bf 25-Mar-2010 Amith Yamasani <yamasani@google.com> Fix 2242164 Soft keyboard keeps getting enabled even if I disable it

On keyboardful devices, it is possible to disable the system soft input
method. Something changed in eclair that caused the ime to be re-enabled
on every package manager update (packages added/deleted).

Now keep track of disabled system imes in the settings db and search
in that list before enabling a system IME on package changes.

Every time the user goes to settings to enable/disable imes, the list
is re-created.

Any new system IMEs that may be added via an OTA will get enabled if
they have a different package name.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
83e48f57e937a2e582707056f164aefa3c2f7e1d 24-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2537384: Default keyboard input method switched
on Eclaire to FRE77D upgrade

We want to prefer system IMEs when our current IME disappears.

Change-Id: Ief7332bc4f029991cd833ce0968d75bde987b594
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
8cf1bcd1d26ddbb471e4968b70e32ecabe4f7a20 16-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2325621: Runtime restart after launching Android keyboard setting.

Again.

Change-Id: Icc36029767fbfea19e474aa0731e8271da1329db
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
20cb56e26e91df91bd64d4251222e0d421cdbe47 04-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix some bugs.

Bug #2376231: Apps lose window focus (and back key causes ANR) if the
lock screen is dismissed while the phone is in landscape mode

This is another case where we weren't recomputing the focused window
after changing the visibility policy.

bug #2479958: Investigate source of "Resources don't contain package
for resource number 0x7f0a0000"

Um, okay, so it turns out there were bugs all over the place where
we would load an XML resource from a another application, but not
use the Resources for that application to retrieve its resources...!
I think the only reason any of this stuff was working at all was
because it typically only cared about retrieving the resource
identifiers of the items (it would look up the values later).

Bug #2401082: Passion ERE26 monkey crash - InputMethodManagerService

Add some null checks.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d9894bc3b3d9db952988140613c1186e8990d7c0 03-Mar-2010 Tadashi G. Takaoka <takaoka@google.com> Fixed NPE by guarding the reference of variable

Bug: 2395174
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
97106ab5af0fdba00d6dbda4767b953e0a5829f4 03-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2325621 Runtime restart after launching Android keyboard setting .
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
8a9b22056b13477f59df934928c00c58b5871c95 27-Feb-2010 Joe Onorato <joeo@android.com> Switch the services library to using the new Slog
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
0c33ed2992b2eb484c229fd3322df14d97c10caa 23-Feb-2010 Devin Taylor <devin.taylor@garmin.com> Fix Memory Leak When Switching Input Methods

Fixes a memory leak when input methods are switched. Uses a variety of methods
to avoid holding a reference to the InputMethodService which created the binders,
which was leaking those InputMethodServices.

See http://code.google.com/p/android/issues/detail?id=6661 for reproduction steps.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa 20-Feb-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2438980: Implement package watcher for voice recognizer service setting

I am getting tired of writing package monitor code, realized this is missing in
a number of places, and at this point it has gotten complicated enough that I
don't think anyone actually does it 100% right so:

Introducing PackageMonitor.

Yes there are no Java docs. I am still playing around with just what this
thing is to figure out what makes sense and how people will use it. It is
being used to fix this bug for monitoring voice recognizers (integrating the
code from the settings provider for setting an initial value), to replace
the existing code for monitoring input methods (and fix the bug where we
wouldn't remove an input method from the enabled list when it got
uninstalled), to now monitor live wallpaper package changes (now allowing
us to avoid reverting back to the default live wallpaper when the current
one is updated!), and to monitor device admin changes.

Also includes a fix so you can't uninstall an .apk that is currently enabled
as a device admin.

Also includes a fix where the default time zone was not initialized early
enough which should fix issue #2455507 (Observed Google services frame work crash).

In addition, this finally introduces a mechanism to determine if the
"force stop" button should be enabled, with convenience in PackageMonitor
for system services to handle it. All services have been updated to support
this. There is also new infrastructure for reporting battery usage as an
applicatin error report.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b56ae20b22fd7283df32072a431ab6d4965f3c1b 05-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Rename media resource broadcasts
Add checks for fwdlocked and updated system apps
add more tests
remove duplicate adds
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
08675a3376819a82aa5ab344bc3e7b1635c30b05 28-Jan-2010 Suchi Amalapurapu <asuchitra@google.com> Apps on sdcard: Add new broadcasts

Add new broadcasts ACTION_MEDIA_RESOURCES_AVAILABLE and
ACTION_MEDIA_RESOURCES_UNAVAILABLE that get broadcast by
PackageManagerService when sdcard gets mounted/unmounted
by MountService so that packages on sdcard get recognized by
various system services as being installed/available or
removed/unavailable by the system.
The broadcasts are sent before the actual package cleanup which includes
mounting/unmounting the packages and we force a gc right after so
that any lingering file references to resources on sdcard get
released.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
1c633fc89bae9bf0af6fe643ac7ad2e744f27bed 09-Dec-2009 Dianne Hackborn <hackbod@google.com> Implement API to have new broadcasts replace existing broadcasts.

Use this in various places where it should serve no purpose to deliver
both broadcasts. This is intended to reduce somewhat the flurry of
broadcasts that we churn through during boot.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
ab5c49c7e7f5f61040650109a76f38a443fb852d 04-Dec-2009 Doug Zongker <dougz@android.com> move event log tags used by system server into this package

We can now locate event log tag definitions in individual packages
(and java constants for the tag numbers get auto-generated), so move
all the tags used by the system server into the package.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9db3d07b9620b4269ab33f78604a36327e536ce1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
6da35a0c1205398b7df4776e359f7794584fb128 21-Oct-2009 Brandon Ballinger <brandonb@google.com> Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
- Ensure system IMEs are put on the enabled list at startup/install.
- If the default IME is not installed, choose another one whenever building input method list.
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
dd9b82c283815747b75fe4434c65e4b6c9c9b54f 03-Sep-2009 Dianne Hackborn <hackbod@google.com> Add better service reporting.

This will be used elsewhere.

Change-Id: Id561fa7fed5eb65446312cb697813483903d33a6
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
cc27870098a5b6105d6007a18bebaec8940db2d5 03-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2097313: Latin IME crashes first use

Change-Id: I50c48b66aff5aff42e71058591d20775eba73fed
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
a34f1ad7c3a68d971e6332aa2fb1c16d083920b3 02-Sep-2009 Dianne Hackborn <hackbod@google.com> Fiddle system boot ordering.

This makes the system a little more careful to not start third party
code until it is ready to.

Also fix a little bug in SyncManager that would cause it to crash
during boot if sync was in a failure state.

Change-Id: Ib2d287d8441d155d393fe740a5f98690895fd358
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/services/java/com/android/server/InputMethodManagerService.java