• Home
  • History
  • Annotate
  • only in /frameworks/native/services/inputflinger/
History log of /frameworks/native/services/inputflinger/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0c17a2b2ea5c7bd4f6c9bd426e67c40022e3d84c 11-Nov-2014 Craig Mautner <cmautner@google.com> Stop consuming input on error dialogs.

This code is no longer necessary and was preventing input from
reaching their desired windows. See bug 17648830.

Change-Id: Ib1c026ece70e6fa98343340b89af4199d6d0ffca
nputDispatcher.cpp
nputWindow.h
ffb497743831ae4857b674629b58ea3c46d01431 11-Oct-2014 Jeff Brown <jeffbrown@google.com> Improve ANR diagnostics.

Print more details about the exact reason that an ANR has occurred.
Also start checking that the window actually has a registered
input connection that is not in a broken state. These windows
are supposed to be cleaned up by the window manager promptly
as if the app had crashed but the pattern of ANRs we are observing
suggests that broken windows might be sticking around longer than
they should.

Bug: 17721767
Change-Id: Ie2803a3fa9642381ecadc198fec15e1b70d93c20
nputDispatcher.cpp
nputDispatcher.h
2e732956adffbdf37374115d52646ddae9498a96 24-Sep-2014 Michael Wright <michaelwr@google.com> Only mark repeated keys as PASS_TO_USER if the original key was.

Bug: 17629695
Change-Id: Ic569aba4149c6cc321c2cf8aede7c5e8a1196234
nputDispatcher.cpp
3da3b8436c743e4ba16ce6802b499a5bb7cd07bd 30-Aug-2014 Michael Wright <michaelwr@google.com> Fix type for temp variable

Change-Id: I8e2d229da326e5182692f94660336169fb249da7
nputReader.cpp
bcbf97ef8fb6eaf527014ed9e7d979ad4fe9fdd2 29-Aug-2014 Michael Wright <michaelwr@google.com> Add logging for switch state

Bug: 17004602
Change-Id: I15c9feb7b28274183742936c20e34e7fb07e0b70
nputReader.cpp
nputReader.h
62fbb16383d6d8268821f947e2c6d0828f7e2b41 18-Aug-2014 Michael Wright <michaelwr@google.com> Shelve InputFlinger for another release. DO NOT MERGE

Change-Id: I0f034a2b8b1d9192f61f5001799bd3aa4b3964c7
ndroid.mk
nputFlinger.cpp
nputFlinger.h
ain.cpp
78f2444aaf09ba05c7b7e79d85f1e7efafa9fa94 07-Aug-2014 Michael Wright <michaelwr@google.com> Revert "Revert "Add system accelerators for BACK and HOME.""

This reverts commit d671f98a27f547ebcddff8dc962fe895549355e2.

Change-Id: Ibec48f81653bd2f755fc59a241fa7836baf53233
nputDispatcher.cpp
nputDispatcher.h
d671f98a27f547ebcddff8dc962fe895549355e2 07-Aug-2014 Michael Wright <michaelwr@google.com> Revert "Add system accelerators for BACK and HOME."

This reverts commit 278b525d25b852554015ec4f92862f9297b502fd.
nputDispatcher.cpp
nputDispatcher.h
278b525d25b852554015ec4f92862f9297b502fd 05-Aug-2014 Michael Wright <michaelwr@google.com> Add system accelerators for BACK and HOME.

Meta+Backspace -> BACK
Meta+Enter -> HOME

Bug: 14066931
Change-Id: Iff1d027300fa9911626785944a6d8efe4f62235e
nputDispatcher.cpp
nputDispatcher.h
677d87ec50b9e8cdf88c61be07ad8c6d7f68f9dd 17-Jun-2014 Dan Albert <danalbert@google.com> Use openssl's SHA1 instead of bionic's.

Bionic is removing its SHA1.

Change-Id: I7d15986ebac9e0f0eb7ff93457780bd90a4f1d4f
ndroid.mk
ventHub.cpp
5aa26b274595f12e98abaad364cf9e3061b2dfe7 10-Jun-2014 Mark Salyzyn <salyzyn@google.com> inputflinger: 64-bit compile issues

Change-Id: I9861f96a8234d5f57b664baead7a465771b63bd5
ventHub.cpp
bc6001b026069714177526eb1120b0011d6f2a51 02-May-2014 Narayan Kamath <narayan@google.com> Change InputMessage.motion.pointerSize to a uint32_t.

This ensures it's the same size in both 32 and 64 bit
processes and also brings it in line with struct
MotionEntry.

Change-Id: I66bb8b8d8664763e7dcbd489686051f563d5e1dc
nputDispatcher.cpp
2eefe69f9ed5d1199fc6ba8ab3e11efe1643f93d 30-Apr-2014 Conley Owens <cco3@android.com> Merge "Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay"
51eb29fa9a2ffe9c5adb9ea25bfbd51992ff16a4 23-Apr-2014 Conley Owens <cco3@android.com> Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay

This fixes a bug where a View with filterTouchesWhenObscured will have
all touches filtered when in magnification accessibility mode. This is
due to magnification being a separate Window over top of the running
Activity. The method onFilterTouchEventForSecurity in View will then
always return false when filterTouchesWhenObscured is enabled on the
View. By adding the magnification Window to the list of Trusted Overlays
we can ensure that touches will work properly with this property
enabled.

This corresponds to AOSP change
I07706588a625682d05da5cb19f401139eb08a54c

Change-Id: Iba095433a1f9045349d1b47a58a33b850ed31c97
nputWindow.cpp
nputWindow.h
872db4f11e407accccba9d37c335ef7e3597eba4 23-Apr-2014 Michael Wright <michaelwr@google.com> Move key attribute information out of native.

Native doesn't ever actually care about the attributes of keys, so
move all of it up into the managed layer and move all of the key
names down so they're defined once.

Change-Id: Ic8ded13ce050b2b98744735ff50d11e8d882d7d5
nputDispatcher.cpp
nputReader.cpp
dc5992e48ca88d882313d206f8174efcc5e01455 11-Apr-2014 Jeff Brown <jeffbrown@google.com> Plumb display power state through display manager.

Eliminated the bright here and woke here policy flags since they
were unused. Simplified the input dispatch policy somewhat.

Bug: 13133142
Change-Id: I74b4dc866c44c46ed43006a48a857f0da4c07cc9
nputDispatcher.cpp
nputDispatcher.h
ests/InputDispatcher_test.cpp
0516ed85c880733e906821a291e95223d9d34878 02-Apr-2014 Michael Wright <michaelwr@google.com> Misc. buttons aren't gamepad keys.

BUTTON_[1-9] are intended to be misc. buttons so the kernel will
assign them to non-gamepad devices. As such, we shouldn't treat them
as belonging to gamepads at all.

Bug: 13432364
Change-Id: Ida52ec45dadb53df1a9d36ac3ab212a2d2b56359
ventHub.cpp
37764c71a0ac79142f90bb112b6cabffb940b955 27-Mar-2014 Narayan Kamath <narayan@google.com> Cherry pick parts of f5df700e6ce.

This is logically a part of the merge conflict resolution for
22d07464 to master. These files moved across git repositories.

Change-Id: Id95bfa0bf503295f2c02a201f4bec5243d169ec4
ventHub.cpp
nputDispatcher.cpp
nputReader.cpp
41d2f80739700a56fd6a670923a2966add8dae61 18-Mar-2014 Mark Salyzyn <salyzyn@google.com> inputflinger: 64 bit compile issues

Change-Id: I73c37eb19b28d987ff13632a999e71d6c96cc3e0
nputDispatcher.cpp
nputReader.cpp
ain.cpp
38dcdff3087f01ba02aabfc17b3ff6c549bb5707 19-Mar-2014 Michael Wright <michaelwr@google.com> Generate ACTION_CANCEL on joystick disconnect.

Bug: 11480300
Change-Id: I46706838eec0711c6bf345301e7b4ccbad83b063
nputDispatcher.cpp
dcfcf5d0ae73b79af60da5e72c070c481ffb1189 17-Mar-2014 Michael Wright <michaelwr@google.com> Add idc config option for handling key repeats

Bug: 13285870
Change-Id: I3c1cd5fb0a02dfb3432c1f04d0eef2d4970857ea
nputReader.cpp
nputReader.h
42f2c6a92ca54ff77003ac174e0771351fbe537c 12-Mar-2014 Michael Wright <michaelwr@google.com> Controllers must have buttons and a movement mechanism.

Some devices have joystick axes or DPad keys, but no gamepad buttons (or vice
versa). We shouldn't count these as gamepads since games can't really be
expected to work with this setup in the general case. Instead, require that a
device has a movement mechanism (joystick axes or DPad buttons), as well as at
least one gamepad button before considering it a controller.

Bug: 13432364
Change-Id: I64372e69d29c775094e2b1faa89714da8c29e2be
ventHub.cpp
71b16e81f9cbf2e288611f32c43ea7fb4a331fcf 10-Mar-2014 Jason Gerecke <killertofu@gmail.com> Support unique calibration per orientation

Updates the format of the calibration XML to store the Surface rotation
that a specific calibration applies to. Also updates the API to require
a rotation value for get/set, and has the native framework supply this
according to the current rotation whenever it changes.

Change-Id: If38563ceba27c9d8a75f9fd7928c8d7c9d187afb
nputReader.cpp
nputReader.h
ests/InputReader_test.cpp
489fda8d476f3fc10b0251263cc69528b736257b 08-Sep-2012 Jason Gerecke <killertofu@gmail.com> Add test for InputReader location calibration

This patch adds a test for the new native location calibration
code. The Java interface is not tested.

Change-Id: Id7496486f6b6e2ade12ada607b62d1594af488e8
nputReader.h
ests/InputReader_test.cpp
12d6baa9b832f16a28f048ed5ffab75a76ed9c41 28-Jan-2014 Jason Gerecke <killertofu@gmail.com> Initialize mAffineTransform and update on modification

This patch causes the InputReader to update its mAffineTransform to reflect
the currently-set calibration on startup and whenever its value is changed
through the InputManagerService.

Change-Id: I4719122a28afa9833772040f0433780a84240b9d
nputReader.cpp
nputReader.h
ests/InputReader_test.cpp
af126fb538c39d5488d62695b1bfb2990a3ef7db 10-May-2012 Jason Gerecke <killertofu@gmail.com> Introduce mAffineCalibration for location calibration

The variable mAffineCalibration describes the affine transformation
that should be applied to the raw X/Y location in order to get it
into a calibrated state.

Change-Id: I68aa43420ffe7fcaa1ada4acd7390d37e6966a1f
nputReader.cpp
nputReader.h
c5e2442e59c427a921139722a7431e412f359dd8 27-Feb-2014 Jeff Brown <jeffbrown@google.com> Add touch.wake IDC property to control wakeup.

Normally we do not wake the device when the internal touch screen is
touched. This behavior can now be configured by setting a property
in the input device configuration file. Add the following line to
the IDC file to enable an initial touch to wake the device from sleep.

touch.wake = 1

Change-Id: Ifd6d4f51afacd30d85f475725a66e6fcccde9cbb
nputReader.cpp
nputReader.h
f086ddbb97e59bd4a0c27745f6e6cc9832a2d4f8 11-Feb-2014 Jeff Brown <jeffbrown@google.com> Add support for injecting events into ActivityContainers.

Enhanced the input system to support concurrent dispatch of touch
events on multiple displays which is required for this to work.

Add method to apply offset to PointerCoords.

Change-Id: I55fe4a9a8785ae5a2d3341d214fa3c5107f3963a
nputDispatcher.cpp
nputDispatcher.h
ests/InputDispatcher_test.cpp
d02c5b6aace05d9fd938e2d03705ac4f60f8da19 11-Feb-2014 Michael Wright <michaelwr@google.com> Move inputservice over to frameworks/native

Add all of the underlying input system pieces, minux PointerController and
SpriteController, to inputflinger. This is in preparation for moving input to
its own process and the addition of the input HAL.

Try 2.

Change-Id: I5f571fe86eb570885ae994e1f0552fb558930346
ndroid.mk
ventHub.cpp
ventHub.h
nputApplication.cpp
nputApplication.h
nputDispatcher.cpp
nputDispatcher.h
nputListener.cpp
nputListener.h
nputManager.cpp
nputManager.h
nputReader.cpp
nputReader.h
nputWindow.cpp
nputWindow.h
ointerControllerInterface.h
ests/Android.mk
ests/InputDispatcher_test.cpp
ests/InputReader_test.cpp
1b1fe314c4e74ef85afe4dacd7ba1e87e6862aa3 11-Feb-2014 Michael Wright <michaelwr@google.com> Revert "Move inputservice over to frameworks/native"

This reverts commit 2dceb67f1f32bd2ec589c4ac3d83da0b8dbe4a5c.
ndroid.mk
ventHub.cpp
ventHub.h
nputApplication.cpp
nputApplication.h
nputDispatcher.cpp
nputDispatcher.h
nputListener.cpp
nputListener.h
nputManager.cpp
nputManager.h
nputReader.cpp
nputReader.h
nputWindow.cpp
nputWindow.h
ointerControllerInterface.h
2dceb67f1f32bd2ec589c4ac3d83da0b8dbe4a5c 10-Feb-2014 Michael Wright <michaelwr@google.com> Move inputservice over to frameworks/native

Add all of the underlying input system pieces, minux PointerController and
SpriteController, to inputflinger. This is in preparation for moving input to
its own process and the addition of the input HAL.

Change-Id: I1419a740b38756bd0d54fef5f5ca337e6815b1b0
ndroid.mk
ventHub.cpp
ventHub.h
nputApplication.cpp
nputApplication.h
nputDispatcher.cpp
nputDispatcher.h
nputListener.cpp
nputListener.h
nputManager.cpp
nputManager.h
nputReader.cpp
nputReader.h
nputWindow.cpp
nputWindow.h
ointerControllerInterface.h
7ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4 22-Jul-2013 Mathias Agopian <mathias@google.com> move services executables sources in their respective src folder

Change-Id: Ic65434a26c7fed1699abf0851fec6faa40e09c0c
ndroid.mk
ain.cpp
40c9e0a3989222b4c27c88f54b6acf67b58a68cf 15-Jul-2013 Jeff Brown <jeffbrown@google.com> Add skeleton of input flinger.

Change-Id: I7f25080e446d4d3d9de9b18fe432a09bc751e0d9
ndroid.mk
nputFlinger.cpp
nputFlinger.h