summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-07-15 17:44:53 -0700
committer Dianne Hackborn <hackbod@google.com> 2010-07-15 22:05:33 -0700
commit2c6081ce3593712f30dacd990a97209c791d6ced (patch)
tree4808bc521c207ea11ec0daceb98f77a6b47b00a0 /libs/hwui/Program.cpp
parentc5ed5910c9ef066cec6a13bbb404ec57b1e92637 (diff)
Implement native key pre-dispatching to IMEs.
This significantly re-works the native key dispatching code to allow events to be pre-dispatched to the current IME before being processed by native code. It introduces one new public API, which must be called after retrieving an event if the app wishes for it to be pre-dispatched. Currently the native code will only do pre-dispatching of system keys, to avoid significant overhead for gaming input. This should be improved to be smarted, filtering for only keys that the IME is interested in. Unfortunately IMEs don't currently provide this information. :p Change-Id: Ic1c7aeec8b348164957f2cd88119eb5bd85c2a9f
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions