e7a57d128038492445caac998d55983fb6085dfa |
23-Jun-2016 |
Jim Miller <jaggies@google.com> |
Enable fingerprint sensor navigation to invoke QuickSettings - rename "FP_NAV" to more generic "SYSTEM_NAVIGATION" based on other reviews. Fixes bug 28869612 Change-Id: I384c0fa372a2ecda7250fccd0dbdfd6312423a85
nputReader.cpp
|
46d93642469afcdcd988429ba37962c3c7f98fb5 |
26-May-2016 |
Michael Wright <michaelwr@google.com> |
Mark the multiwindow divider as a trusted overlay. am: b9be0cf397 * commit 'b9be0cf397eb6053fb5b472d91cf2d6a22c6693f': Mark the multiwindow divider as a trusted overlay. Change-Id: I1906ca39ce35a436ba65c3815e0bdda8a3c00e9e
|
b9be0cf397eb6053fb5b472d91cf2d6a22c6693f |
26-May-2016 |
Michael Wright <michaelwr@google.com> |
Mark the multiwindow divider as a trusted overlay. Having it be untrusted breaks the permissions granting dialog in multiwindow mode. Bug: 28828041 Change-Id: I9193dbce7315ebaa205673edd4f406d0b72665c8
nputWindow.cpp
nputWindow.h
|
c1b50820d0d59c5b83c393f9aa475c1821107d2d |
18-May-2016 |
Jim Miller <jaggies@google.com> |
Add fingerprint sensor navigation keys. Change-Id: If27d1170ede8bf3124644d47d90384313137bb18 Allow fingerprint navigation keys to be remapped by device rotation. Change-Id: Ibfd827504e8c9aa6895bdca79eeb13be2784d5fe
nputReader.cpp
|
455f288a7db0e94be6a5c5277c8f09eb1b1ffd13 |
18-Apr-2016 |
Michael Wright <michaelwr@google.com> |
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev am: 58dc18a am: ab4b3c3 am: 2352674 am: c846278 * commit 'c846278141c94385a2c931a1df80ed3ffcc8e7c2': Add new MotionEvent flag for partially obscured windows. Change-Id: Ia0940c0440b94922fde7a93ef5d95df59aed3c3e
|
ab4b3c3b01da510227c7724ea2b68a6ce0bffc80 |
18-Apr-2016 |
Michael Wright <michaelwr@google.com> |
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev am: 58dc18a * commit '58dc18a43d0a832c3d684bbc27f8d4a3341c1582': Add new MotionEvent flag for partially obscured windows. Change-Id: I7d75c5a4c41e9b56cceac91ae731a85a3186b8f7
|
cdcd8f2b25a4bf32bb7506fc98ba541d274c9a31 |
23-Mar-2016 |
Michael Wright <michaelwr@google.com> |
Add new MotionEvent flag for partially obscured windows. Due to more complex window layouts resulting in lots of overlapping windows, the policy around FLAG_WINDOW_IS_OBSCURED has changed to only be set when the point at which the window was touched is obscured. Unfortunately, this doesn't prevent tapjacking attacks that overlay the dialog's text, making a potentially dangerous operation seem innocuous. To avoid this on particularly sensitive dialogs, introduce a new flag that really does tell you when your window is being even partially overlapped. We aren't exposing this as API since we plan on making the original flag more robust. This is really a workaround for system dialogs since we generally know their layout and screen position, and that they're unlikely to be overlapped by other applications. Bug: 26677796 Change-Id: I9e336afe90f262ba22015876769a9c510048fd47
nputDispatcher.cpp
nputDispatcher.h
nputWindow.cpp
nputWindow.h
|
763a3a46eecafc5a713f9a0bd4ff08388dc97f98 |
08-Mar-2016 |
Andrii Kulian <akulian@google.com> |
Caps Lock toggle with Meta + Alt (1/2) Caps Lock implementation in frameworks/native Bug: 27482276 Change-Id: I848f660f1dd8d20e49b27f141f612387c7e30c47
nputReader.cpp
nputReader.h
|
3a5ecd847bf30db5c08510e4da63d0a7707d9ce2 |
04-Feb-2016 |
Prashant Malani <pmalani@google.com> |
Merge changes from topic 'rotary-master' * changes: inputflinger: Add support for scaling and true value reporting inputflinger: Initial support for rotary encoders.
|
d5453eaea530b5f1f92d73b63b8006ad7a710ccc |
03-Feb-2016 |
Dan Albert <danalbert@google.com> |
Merge "Fix typo from last commit." am: ae8442856b am: 9d6acce68a am: 805e3f03dc * commit '805e3f03dc3848e47b99a45b49ed9bbf65906e00': Fix typo from last commit.
|
8b10c65312c0cd9a76fe9bdae2917e13d1e120eb |
03-Feb-2016 |
Dan Albert <danalbert@google.com> |
Fix typo from last commit. Bad commit: https://android-review.googlesource.com/#/c/200449/1 Change-Id: I412e2740951f15cf843bd36a50476070c0cb1ebd
ests/InputDispatcher_test.cpp
|
c29d0845f5db1a1ad4847fe2d8f3cf9a83390ab4 |
03-Feb-2016 |
Dan Albert <danalbert@google.com> |
Merge "Clean up warnings in inputflinger." am: f3606ef25f am: ca5ad095f4 am: 82d47db481 * commit '82d47db4815ab8b49f4c399ba16d2af12926cfe1': Clean up warnings in inputflinger.
|
1bd2fc059c73c91f64d86b0eee59eda6ba888354 |
03-Feb-2016 |
Dan Albert <danalbert@google.com> |
Clean up warnings in inputflinger. Bug: http://b/26936282 Change-Id: Ie1fb281425c3b8c4b3e6e88dc5722d51b77ee093
nputDispatcher.cpp
ests/InputDispatcher_test.cpp
ests/InputReader_test.cpp
|
dae627a509817fa4668ca86e95a7a2b0ef60435e |
12-Jan-2016 |
Prashant Malani <pmalani@google.com> |
inputflinger: Add support for scaling and true value reporting -1/+1 somewhat simplifies the values that can be generated by rotary encoders, and rules out the possibility of batching and more nuanced movement reporting. So, we modify the device configuration to allow values other than -1 and 1 to be supported. In order to give the developer a sense of what these values map to in terms of angular displacement, we also parse a resolution configuration from the devices IDC file. This will be specified as: device.res = xxxx of type float. If a value is not provided, a default res value of 0.0f is used. This patch also adds a per device scaling factor, which is used to suitably modify the values reported (as well as the resolution) to tune the input events generated and resulting UI according to the hardware. This can be specified in the IDC file as: device.scalingFactor = xxxx of type float. If a scaling factor is not provided, a default of 1.0f is used. Bug: 22836852 Bug: 18707397 Change-Id: I13686f64de1b52d3f6c97b2587ae41e52d1db6e2
nputReader.cpp
nputReader.h
|
1941ff5815e9f8a09f6ae643addbb4119482cf16 |
12-Aug-2015 |
Prashant Malani <pmalani@google.com> |
inputflinger: Initial support for rotary encoders. This change introduces support for rotary encoder input devices. We also define a new input source (namely, AINPUT_SOURCE_ROTARY_ENCODER) and a new axis of input (namely, AXIS_SCROLL), since the rotary encoder motion doesn't necessarily tie to a horizontal or vertical scroll motion. A ROTARY_ENCODER input device class is also introduced, corresponding to the new input source. A new input source can be defined as producing rotary encoder motion events, if its corresponding .idc file contains the following declaration: device.type = rotaryEncoder Bug: 18707397 Change-Id: I8ccd540908311d1ff44fdfeba81b691895413641 Signed-off-by: Prashant Malani <pmalani@google.com>
ventHub.cpp
ventHub.h
nputReader.cpp
nputReader.h
|
858b3b388904c196bc2932530c957ca373aaee17 |
13-Jan-2016 |
Prashant Malani <pmalani@google.com> |
resolve merge conflicts of 14af23d140 to master. Change-Id: I1eee295f592bad672ad093dfbd9c0c2b555df0ed
|
99008f317d1c4b3462170594fb25ed443544e54d |
13-Jan-2016 |
Prashant Malani <pmalani@google.com> |
Revert "inputflinger: Add support for scaling and true value reporting" am: 2c09b78656 am: cd7ddc7cac am: 918263dac8 am: 63da2d7082 * commit '63da2d70828a817e2afd79d0a0f27a64723984c0': Revert "inputflinger: Add support for scaling and true value reporting"
|
d983fd11d4a00b03f92d09f32c08840e66d90777 |
13-Jan-2016 |
Prashant Malani <pmalani@google.com> |
Revert "inputflinger: Initial support for rotary encoders." This reverts commit ac72bbf4e46d6689070df09a25db2960a9036eb2.
ventHub.cpp
ventHub.h
nputReader.cpp
nputReader.h
|
2c09b78656dd97727f94fada81845b133cf142f3 |
13-Jan-2016 |
Prashant Malani <pmalani@google.com> |
Revert "inputflinger: Add support for scaling and true value reporting" This reverts commit ee03865fe5fc6ffe9deda0e0870a18206027cfaf.
nputReader.cpp
nputReader.h
|
21612a2815f75ac4d5d43861d19201016dead8b8 |
13-Jan-2016 |
Prashant Malani <pmalani@google.com> |
inputflinger: Add support for scaling and true value reporting am: ee03865fe5 am: a777e8b70f am: 9363c7fa06 am: 60f161920b * commit '60f161920be227121df1a57be430b1b5cf94bd4f': inputflinger: Add support for scaling and true value reporting
|
ee03865fe5fc6ffe9deda0e0870a18206027cfaf |
12-Jan-2016 |
Prashant Malani <pmalani@google.com> |
inputflinger: Add support for scaling and true value reporting -1/+1 somewhat simplifies the values that can be generated by rotary encoders, and rules out the possibility of batching and more nuanced movement reporting. So, we modify the device configuration to allow values other than -1 and 1 to be supported. In order to give the developer a sense of what these values map to in terms of angular displacement, we also parse a resolution configuration from the devices IDC file. This will be specified as: device.res = xxxx of type float. If a value is not provided, a default res value of 0.0f is used. This patch also adds a per device scaling factor, which is used to suitably modify the values reported (as well as the resolution) to tune the input events generated and resulting UI according to the hardware. This can be specified in the IDC file as: device.scalingFactor = xxxx of type float. If a scaling factor is not provided, a default of 1.0f is used. Bug: 22836852 Bug: 18707397 Change-Id: I13686f64de1b52d3f6c97b2587ae41e52d1db6e2
nputReader.cpp
nputReader.h
|
63e6f36aee68530bbfd828204c8a5ef07267ab8c |
24-Nov-2015 |
Pavlin Radoslavov <pavlin@google.com> |
Use GID "wakelock" to control access to kernel wakelock Bug: 25864142 Change-Id: I2731849378f6ff57fb026dab4288426c45cd60cd
ost/inputflinger.rc
|
fa1706afaf12b48fe0ab6d4b061b614bf901b173 |
03-Dec-2015 |
Jun Mukai <mukai@google.com> |
Add relative-x/y axis for mouse devices. Used by Ie21e521f3e5c581f976dc0feb5d84bfa48b046cd. Bug: 5452473 Change-Id: I4189eb4d93f50c2865b7a325727be5ceebcc71f8
nputDispatcher.cpp
nputReader.cpp
|
93b94d5e4c934644daccf3fa6149bd169172d4f4 |
08-Dec-2015 |
Prashant Malani <pmalani@google.com> |
Merge "inputflinger: Initial support for rotary encoders." into cw-e-dev am: 68fca5a176 am: e50ab08fd6 am: b7b7fa1769 am: 37ee3a755c * commit '37ee3a755cca56b9324bcc16ef0a781a14f5671d': inputflinger: Initial support for rotary encoders.
|
68fca5a1763203164a19a9aa983895242a671387 |
08-Dec-2015 |
Prashant Malani <pmalani@google.com> |
Merge "inputflinger: Initial support for rotary encoders." into cw-e-dev
|
3dd617bbad0fe73739ea592d735773c0730b0601 |
09-Oct-2015 |
Amirhossein Simjour <asimjour@google.com> |
When using trackpad, mouse pointer shows instead of circle The mouse pointer showing instead of circle for all gestures except FREEDOM. FREEDOM gesture still is using spots to be able to show all the fingers. Bug: 24139978 Change-Id: I91e916de02e690f6727b097345a919e536ffdc92
nputReader.cpp
nputReader.h
|
a42832ef53aa10e3192bb2cf7b6572b047ef39e6 |
08-Oct-2015 |
Puneet Kumar <puneetster@google.com> |
am 1f8b6b57: am 98d740d7: am 94973aeb: am a2f78b44: Merge "Inputflinger: hook up key event replacement processing" into mnc-dr-dev * commit '1f8b6b57b25635011c70e5e7aaebb60bdb3b97af': Inputflinger: hook up key event replacement processing
|
0faaa0bd7aa5dadea7c365fbb1f186da6eb097ef |
24-Sep-2015 |
Dmitry Torokhov <dtor@google.com> |
Inputflinger: hook up key event replacement processing Add handling of "replacement" key events in InputReader and EventHub by consulting device's character key map (if exists) for presence of replacement key code for given get code and meta state combination, before passing it to InputDispatcher. This enables defining special keys, such as ESC, on keyboards lacking enough physical keys, via combination of normal keys and modifiers, for example AltR + 1 => ESC. Bug: 24504154 Change-Id: I7e36104808bedcf724436c1fbb63d37c35cca8af
ventHub.cpp
ventHub.h
nputReader.cpp
nputReader.h
ests/InputReader_test.cpp
|
8e812826015786e07cb83664f22f69b2f2c72586 |
22-Jun-2015 |
Michael Wright <michaelwr@google.com> |
DO NOT MERGE Cancel touches as well as pointer gestures. Bug: 24302031 Change-Id: Idbe964a1a35c190a32f845e2a19542d54652d011
nputReader.cpp
nputReader.h
|
a16b98c64f5246650aa5b6bc397a2d1fa6539107 |
22-Sep-2015 |
Michael Wright <michaelwr@google.com> |
DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures." into mnc-dev" This reverts commit 9b70ab7a3cb260205e81e40ba181a86710d2eb95, reversing changes made to 153008efb5a00ed3c18d588ce15f90d2442a9786. Bug: 24302031 Change-Id: Ia746381b30be3b54cb646ed412b7271962c4b02a
nputReader.cpp
nputReader.h
ost/InputDriver.cpp
ost/InputDriver.h
|
2e7f0146a04fe2dbe5ca0389752709e235c64acc |
10-Sep-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Refactor InputHost and InputDriver The host implementation of the HAL interface is largely done by the InputDriver, so have it implement the opaque input_host_t type rather than the InputHost itself. This allows the HAL interface to cast the input_host_t pointer to an InputDriver pointer in order to implement the host functionality. Change-Id: I72de1e90eb6ee5e346c15707b8a6b793005bbccb
ost/InputDriver.cpp
ost/InputDriver.h
ost/InputHost.cpp
ost/InputHost.h
|
ac72bbf4e46d6689070df09a25db2960a9036eb2 |
12-Aug-2015 |
Prashant Malani <pmalani@google.com> |
inputflinger: Initial support for rotary encoders. This change introduces support for rotary encoder input devices. We also define a new input source (namely, AINPUT_SOURCE_ROTARY_ENCODER) and a new axis of input (namely, AXIS_SCROLL), since the rotary encoder motion doesn't necessarily tie to a horizontal or vertical scroll motion. A ROTARY_ENCODER input device class is also introduced, corresponding to the new input source. A new input source can be defined as producing rotary encoder motion events, if its corresponding .idc file contains the following declaration: device.type = rotaryEncoder Bug: 18707397 Change-Id: I8ccd540908311d1ff44fdfeba81b691895413641 Signed-off-by: Prashant Malani <pmalani@google.com>
ventHub.cpp
ventHub.h
nputReader.cpp
nputReader.h
|
48f7ec35a2f8f31a6fe8530ece855e9c23900924 |
21-Aug-2015 |
Tom Cherry <tomcherry@google.com> |
update bundled rc files to their contents from rootdir/init.rc Bug 23186545 Change-Id: Ic6b2ba78ff90242b031ab1e88a81da8118f9eafd
ost/Android.mk
ost/inputflinger.rc
|
a44766cf0ec1cb017a6aee2c74e5d64fa37f44e5 |
22-Jun-2015 |
Michael Wright <michaelwr@google.com> |
Cancel touches as well as pointer gestures. Bug: 19264992 Change-Id: If48e0953b972c9d69f516906adf7c6faf67e3eb8
nputReader.cpp
nputReader.h
|
fbbaf2efbb7781e86e509709169edf4b5c8fe036 |
22-Jun-2015 |
Michael Wright <michaelwr@google.com> |
Cancel touches as well as pointer gestures. Bug: 19264992 Change-Id: Idbe964a1a35c190a32f845e2a19542d54652d011
nputReader.cpp
nputReader.h
|
2e099b24258633ebe884515eb7719bdd82458ff2 |
29-Jun-2015 |
Michael Wright <michaelwr@google.com> |
am fd0fdaf7: am 3643c88f: Merge "Send cancelation events to monitors when injection fails." into mnc-dev * commit 'fd0fdaf73b1e8fbf643152f532f500be70f11a26': Send cancelation events to monitors when injection fails.
|
fd0fdaf73b1e8fbf643152f532f500be70f11a26 |
29-Jun-2015 |
Michael Wright <michaelwr@google.com> |
am 3643c88f: Merge "Send cancelation events to monitors when injection fails." into mnc-dev * commit '3643c88f7b557e241d65c4857eaf49e28e7c03a2': Send cancelation events to monitors when injection fails.
|
3643c88f7b557e241d65c4857eaf49e28e7c03a2 |
29-Jun-2015 |
Michael Wright <michaelwr@google.com> |
Merge "Send cancelation events to monitors when injection fails." into mnc-dev
|
39c32ecf379adab1a54eaa0908e3993dffadcd00 |
23-Jun-2015 |
Michael Wright <michaelwr@google.com> |
am 7d3ad695: Merge commit \'71997c1a\' into manualmerge * commit '7d3ad695304a1f24026227e630add6edd76fd0d6': Add new AINPUT_SOURCE_BLUETOOTH_STYLUS
|
7d3ad695304a1f24026227e630add6edd76fd0d6 |
23-Jun-2015 |
Michael Wright <michaelwr@google.com> |
Merge commit '71997c1a' into manualmerge Change-Id: Ia68fbd20ce66571dfd33764e52c3a00e2285e648
|
2f78b68cf15c3d96eccbb242316d174ed739dc69 |
12-Jun-2015 |
Michael Wright <michaelwr@google.com> |
Add new AINPUT_SOURCE_BLUETOOTH_STYLUS Bug: 21531826 Change-Id: I3792860ad3f6579ceb50ccaa212f8fbd471a9b6b
nputReader.cpp
|
fa13dcf39f09534ab8e95aec6f15a61a7f500b4c |
12-Jun-2015 |
Michael Wright <michaelwr@google.com> |
Send cancelation events to monitors when injection fails. Bug: 20649729 Change-Id: I46cd14ac1f040d404c0b1581b38fa07a944e5fb9
nputDispatcher.cpp
nputDispatcher.h
|
a393c62f22695fdca59f6a8be9d72ae8b8bf92c8 |
10-Jun-2015 |
Michael Wright <michaelwr@google.com> |
am f8b34319: am 043bd36b: Merge "Only log dropped input when disabled for the first event." into mnc-dev * commit 'f8b34319a4c1ccce63b5a8e4732f162d228085cb': Only log dropped input when disabled for the first event.
|
f8b34319a4c1ccce63b5a8e4732f162d228085cb |
10-Jun-2015 |
Michael Wright <michaelwr@google.com> |
am 043bd36b: Merge "Only log dropped input when disabled for the first event." into mnc-dev * commit '043bd36b0d50efa81d010c64009317af160d5fec': Only log dropped input when disabled for the first event.
|
3a9817228928a8db68c34afe547c9ba18169af5b |
10-Jun-2015 |
Michael Wright <michaelwr@google.com> |
Only log dropped input when disabled for the first event. Bug: 19851495 Change-Id: I8cb8076723c1ca1732c3bc37f283d8eb48b7bee0
nputDispatcher.cpp
nputDispatcher.h
|
c472986d4cb55b91547f28b06e89fe555c786a92 |
09-May-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Mock out more inputflinger host functions Change-Id: I3de1e95930578410d8f7c1e77329c00f05b72325
ost/InputDriver.cpp
ost/InputDriver.h
|
3e38aad0227134a804ba79e9690194ec4c13502e |
07-Apr-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Basic implementation of input device properties. The input host can load an idc file and pass the resulting property map to a HAL module. Change-Id: Ic8188c9eca193c78686ff67680cf37be91c47526
ost/InputDriver.cpp
|
baaeb2b83f9cff99660123578481a87abb26b54d |
14-May-2015 |
Michael Wright <michaelwr@google.com> |
am 7c000280: Merge changes from topic \'button_actions\' into mnc-dev * commit '7c000280a57f352c2485dcaea1d5bfe20f7bfe63': Fix input tests to work with new MotionEvent member Revert "Revert "Add new MotionEvent actions for button press and release.""
|
c01f5d2e1989a502d58359f2f0c9812831160107 |
14-May-2015 |
Michael Wright <michaelwr@google.com> |
am c921ce26: Merge "Revert "Add new MotionEvent actions for button press and release."" into mnc-dev * commit 'c921ce268155e8e1d75bd423514bb5a3ee363440': Revert "Add new MotionEvent actions for button press and release."
|
9897516aba469689ca8b1e9e7de7671bcaeb2fac |
14-May-2015 |
Michael Wright <michaelwr@google.com> |
am f27e6681: Merge "Add new MotionEvent actions for button press and release." into mnc-dev * commit 'f27e6681048f3ee7a589ab824a1041667ff838e0': Add new MotionEvent actions for button press and release.
|
7b159c9a4f589da7fdab7c16f3aefea25e0e7e4f |
14-May-2015 |
Michael Wright <michaelwr@google.com> |
Revert "Revert "Add new MotionEvent actions for button press and release."" This reverts commit 70b41ef580644fd0fe6fa9b8ac7e4a745cfb6db3.
nputDispatcher.cpp
nputDispatcher.h
nputListener.cpp
nputListener.h
nputReader.cpp
nputReader.h
ests/InputDispatcher_test.cpp
|
70b41ef580644fd0fe6fa9b8ac7e4a745cfb6db3 |
14-May-2015 |
Michael Wright <michaelwr@google.com> |
Revert "Add new MotionEvent actions for button press and release." This reverts commit 48a8a0e4322969e1551536d6183af3a1faa2240b.
nputDispatcher.cpp
nputDispatcher.h
nputListener.cpp
nputListener.h
nputReader.cpp
nputReader.h
ests/InputDispatcher_test.cpp
|
48a8a0e4322969e1551536d6183af3a1faa2240b |
11-May-2015 |
Michael Wright <michaelwr@google.com> |
Add new MotionEvent actions for button press and release. Introduce ACTION_BUTTON_PRESS and ACTION_BUTTON_RELEASE as actions to signal a button press or release. If these actions happen simulanteously with a DOWN or UP event then they're explicitly ordered to happen after the DOWN or preceding the UP in order to send them to the most recently targeted view. Also, introduce new stylus button constants that differ from the constants we use for mouse buttons. Bug: 20704355 Change-Id: Ib960a5004db5429ad2fc8db020704773e2978327
nputDispatcher.cpp
nputDispatcher.h
nputListener.cpp
nputListener.h
nputReader.cpp
nputReader.h
ests/InputDispatcher_test.cpp
|
9e4009334673d68716291e97a1defc30657c4a99 |
13-May-2015 |
Michael Wright <michaelwr@google.com> |
am 4866f087: Merge "Use previous pressure value if the current fusion data is zero." into mnc-dev * commit '4866f087181af02e870b2d2fc1d4be8d38c2f36e': Use previous pressure value if the current fusion data is zero.
|
eab5a1ed7c6262992b4abe7fb9abe752b1932087 |
13-May-2015 |
Michael Wright <michaelwr@google.com> |
am 4eed0f8f: Merge "Synthesize events for pressure and button changes." into mnc-dev * commit '4eed0f8f8dd3673e55a93c0b62b8b9ebefa135cf': Synthesize events for pressure and button changes.
|
53dca3aadda499824d3d0b2bbc25a72fc1a37877 |
23-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Use previous pressure value if the current fusion data is zero. Occasionally we'll receive the stylus up signal (pressure = 0) before we receive the touch screen up signal. Rather than giving pointer a pressure value of 0 (which is one of the signals of hovering) or falling back to the touchscreen pressure values (which would make for an inconsistent stream), use the previous pressure value which should always be non-zero for a stream of fused data. Bug: 20449776 Change-Id: I71eb97e7c4ea53e42b0eb54fc1f8ae7f89aad9d1
nputReader.cpp
nputReader.h
|
43fd19fd1a22d95ed985a0680fd8806d918f3ba7 |
21-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Synthesize events for pressure and button changes. Even when there isn't movement on the touchscreen we should produce events for pressure and button state changes generated by external stylii. Change-Id: I9fd7ba85902d5d6bfb28d5e5ff5d8f340a94c2bf
nputReader.cpp
nputReader.h
|
104e268c3222b1481bd20f8fc85eea0e364f5962 |
27-Apr-2015 |
Michael Wright <michaelwr@google.com> |
am 5da11106: am 7ecc8952: Merge "Check orientation range has been initialized first" * commit '5da11106b3aa10d515d0f080c27f315d5830dc85': Check orientation range has been initialized first
|
e893dddb3f6f84bfdbf875df643ad4b20fb77599 |
21-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Merge "Default to TOOL_TYPE_STYLUS for external stylus events."
|
5e17a5de888632c7e72171765bc70c8b9169f7ed |
21-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Increase stylus data timeout. Temporarily increase the stylus timeout while we figure out where the delay in BT information is coming from. Change-Id: I27ab5a4db4ad14358c6e6803961612420371fce9
nputReader.cpp
|
45ccacf937d0d5a957348327ad9947ae96c5d472 |
21-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Default to TOOL_TYPE_STYLUS for external stylus events. Change-Id: Ife6a7c4802e8b1ec1ff8445e639f8a6d90a00592
nputReader.cpp
|
e2434fecb9650b64a24ad87cda3f32260d804bc1 |
21-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Revert "Increase stylus data timeout." This reverts commit 8b0673ce0ca97952d3ed9cb8912b31f367e41c0c.
nputReader.cpp
|
8b0673ce0ca97952d3ed9cb8912b31f367e41c0c |
21-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Increase stylus data timeout. Sometimes stylus data will be delayed by 30 - 40ms. By increasing the timeout we pretty much always pick up stylus data and the touch latency feels surprisingly small. Change-Id: I39f5b9037ce0444b1e957149d3f1c3a3137804cb
nputReader.cpp
|
4af18b90c149deba620270670c8c630a3fe56165 |
20-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Always update external stylus state. This prevents us from dropping any states (namely the pressure transition from non-zero to zero) if we get the touch up before we get the stylus data. Change-Id: Ifc198628d35b7079dc5ec23d81f9681d122757a0
nputReader.cpp
|
b85401d4badec20da60a588ee5d04cb139036a5d |
17-Apr-2015 |
Michael Wright <michaelwr@google.com> |
Mark all InputReaderContext methods as pure virtual Also, fix the build. Change-Id: I45d3daa8c0710b2f9421e8ffd011d2d39c05e030
nputReader.h
|
842500e146cdc0036b2a1a3e2acc7626d005128b |
14-Mar-2015 |
Michael Wright <michaelwr@google.com> |
Fuse stylus and touch screen data. TODO: Ensure we dispatch new pressure and button data when stylus is stationary. Change-Id: I10a665a9b81ff4b9acd01bf72f0fc2e0c2abc203
ventHub.cpp
ventHub.h
nputReader.cpp
nputReader.h
ests/InputReader_test.cpp
|
e5364c8c02f1a943e78dee600ac45573d5cdcbbf |
06-Apr-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Add method stubs for input device properties. Change-Id: Icd785cb55ae2b225102fa249240837a91a41aae3
ost/InputDriver.cpp
ost/InputDriver.h
|
18a81488f928a94bdeede9b884f9b56c8da0c5fc |
14-Apr-2015 |
baik.han <baik.han@lge.com> |
Check orientation range has been initialized first To avoid nan or infinity when orientation value is used for calculation without being initialized, check mOrientedRanges.haveOrientation value before using mOrientedRanges.orientation.min or .max value. Change-Id: I68ed9ab36819c5faa6422e9f061e1275aeed11e3 Signed-off-by: Baik Han <baik.han@lge.com>
nputReader.cpp
|
063ff53d0b0a0d670ea0185e687526d8fd302820 |
08-Apr-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Pass through availability of audio mic for input devices. Bug: 15374820 Change-Id: Id2ca6da10165e3a887ebfbb18f663a3bf316ac79
ventHub.cpp
ventHub.h
nputReader.cpp
nputReader.h
|
943f0a45d055a9f9ddce4d2628647d9114dcaa86 |
31-Mar-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Merge "Stub implementations of HAL usage callbacks."
|
3447df165f53d76791221531b769801741cfe04a |
26-Mar-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Use EPOLLWAKEUP properly. We were trying to use it only when it wasn't supported. Bug: 19937342 Change-Id: Id35aef9ad84f101f7ada2eb87fb91e5c5e2b3357
ventHub.cpp
|
8943ce38a65cc852d49a141d654a4f149ce57c34 |
28-Feb-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Stub implementations of HAL usage callbacks. Change-Id: I5c7effddb7fce85d7d33ea79ff7005d37943f520
ost/InputDriver.cpp
ost/InputDriver.h
|
ca870723d16201a07bad946f0b64f777772b066f |
24-Feb-2015 |
Michael Wright <michaelwr@google.com> |
Merge "Remove eng tag from input tests."
|
eb4ed3e41dc3db11251b30018ac1b65a9fa828e7 |
24-Feb-2015 |
Michael Wright <michaelwr@google.com> |
Remove eng tag from input tests. Tests always get built with the platform now anyways. Also, remove the dependency on libandroidfw since it causes issues on PDK builds. Change-Id: Ib73ec620abac3782d9fdae48778064c06b30aae0
ests/Android.mk
|
857a35d26756f7eab1fe58a84bd31123caf480b7 |
24-Feb-2015 |
Michael Wright <michaelwr@google.com> |
Merge "Move inputflinger process to host directory"
|
6f783602c05c519238200fed55b0afa097737ca1 |
14-Feb-2015 |
Michael Wright <michaelwr@google.com> |
Move inputflinger process to host directory Change-Id: I08ee44bf8b93e7f1760ee9f8d9876a1e2e2e86c8
ndroid.mk
nputFlinger.cpp
nputFlinger.h
ost/Android.mk
ost/InputDriver.cpp
ost/InputDriver.h
ost/InputFlinger.cpp
ost/InputFlinger.h
ost/InputHost.cpp
ost/InputHost.h
ost/main.cpp
ain.cpp
|
ae5a081ddfcd8a1b400d94081464346e5c49cc21 |
18-Feb-2015 |
Jeff Brown <jeffbrown@google.com> |
am 7735c058: am c9aa628d: Cancel touch events when a low-level touch gesture occurs. * commit '7735c058869e0a7fd716054110aa6cb4eff4b075': Cancel touch events when a low-level touch gesture occurs.
|
7735c058869e0a7fd716054110aa6cb4eff4b075 |
18-Feb-2015 |
Jeff Brown <jeffbrown@google.com> |
am c9aa628d: Cancel touch events when a low-level touch gesture occurs. * commit 'c9aa628d065eb08d6fa30f0ac21c6eca4cfbab75': Cancel touch events when a low-level touch gesture occurs.
|
c9aa628d065eb08d6fa30f0ac21c6eca4cfbab75 |
12-Feb-2015 |
Jeff Brown <jeffbrown@google.com> |
Cancel touch events when a low-level touch gesture occurs. When the touch firmware or driver sends a key event that is triggered by a low-level gesture such as a palm slap. For this to work, the touch device's .kl file must specify the "GESTURE" flag for each key that is produced by a gesture. Note that the "VIRTUAL" flag should also be specified for any such keys for which we would like to generate haptic feedback. eg. key 142 SLEEP VIRTUAL GESTURE Bug: 19264992 Change-Id: Ief494ec7e3ca66d2358a1001fdfae4f263ee1cd1
nputReader.cpp
nputReader.h
|
e0e29de5c1e9a630679b44af214dc869cd53b809 |
10-Jan-2015 |
Elliott Hughes <enh@google.com> |
am 23958e14: am a7dcab69: Merge "We have POSIX clocks, and we don\'t need to ask for the openssl headers." * commit '23958e1436565b333ce7f3022bc52a10d4732ef6': We have POSIX clocks, and we don't need to ask for the openssl headers.
|
23958e1436565b333ce7f3022bc52a10d4732ef6 |
10-Jan-2015 |
Elliott Hughes <enh@google.com> |
am a7dcab69: Merge "We have POSIX clocks, and we don\'t need to ask for the openssl headers." * commit 'a7dcab6954467fa3726824a099b83d0e7490d6d5': We have POSIX clocks, and we don't need to ask for the openssl headers.
|
5ea47f7a3222357c4b16500ad66ce493d017ebb2 |
10-Jan-2015 |
Elliott Hughes <enh@google.com> |
We have POSIX clocks, and we don't need to ask for the openssl headers. This code doesn't need to run on the Mac, and the BoringSSL transition will be easier without references to external/openssl. Change-Id: I14ea11fa2911af0f4e95e69636e6a2c26126cbe0
ndroid.mk
ventHub.cpp
|
a3ef067c0080253fb9adc0867792c19e882f015a |
24-Dec-2014 |
Narayan Kamath <narayan@google.com> |
am 106547c1: am 033f7e8e: Merge "InputDispatcher: Optimize count()" * commit '106547c1e33453b7e20b7b387087092d36aa6a72': InputDispatcher: Optimize count()
|
106547c1e33453b7e20b7b387087092d36aa6a72 |
24-Dec-2014 |
Narayan Kamath <narayan@google.com> |
am 033f7e8e: Merge "InputDispatcher: Optimize count()" * commit '033f7e8e35ac76404fe823a67e07ba7c42bc357c': InputDispatcher: Optimize count()
|
033f7e8e35ac76404fe823a67e07ba7c42bc357c |
24-Dec-2014 |
Narayan Kamath <narayan@google.com> |
Merge "InputDispatcher: Optimize count()"
|
65dbe971b1bcefdaa353662f7bde5ea327544113 |
18-Nov-2014 |
Jon McCaffrey <jmccaffrey@nvidia.com> |
InputDispatcher: Optimize count() Count items as they are added and removed rather than iterating over the entire list to count them. Increases performance slightly, particularly when tracing is turned on, which causes count to be queried more often, and when the number of items in the queues grow large. This can happen due to applications not responding, for example. Change-Id: I0f11f7edd46089612af910cdfabfeb3ee685d7d9
nputDispatcher.cpp
nputDispatcher.h
|
ebcc45df7737f571b0f55c9deebd299cbadd2e25 |
18-Nov-2014 |
Chih-hung Hsieh <chh@google.com> |
am accddd9c: am 947a6adf: Merge "Remove comparisons that can\'t be true" * commit 'accddd9ca0bef572674b895b9b2b0553b133c793': Remove comparisons that can't be true
|
accddd9ca0bef572674b895b9b2b0553b133c793 |
18-Nov-2014 |
Chih-hung Hsieh <chh@google.com> |
am 947a6adf: Merge "Remove comparisons that can\'t be true" * commit '947a6adf97d9ba86e3ef5704d523b4971246ff1e': Remove comparisons that can't be true
|
6183eb72ec16ef36a31a9d92ad4268247a906ef0 |
17-Nov-2014 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Remove comparisons that can't be true keyBitmask and ledBitmask are arrays, "!their address" always evaluates to false. clang complains about this. Change-Id: I6aed45a203b0eeaad2093dbdebea03a2c2fc1a3d Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
ventHub.cpp
|
06235085c605702ccbca00fc06b37b464da4ace2 |
16-Nov-2014 |
Dan Albert <danalbert@google.com> |
am 36ec7a8b: am d72ff140: Merge "Move frameworks/native to libc++." * commit '36ec7a8b99e287d923bfacd2ef69661818aeb85e': Move frameworks/native to libc++.
|
36ec7a8b99e287d923bfacd2ef69661818aeb85e |
16-Nov-2014 |
Dan Albert <danalbert@google.com> |
am d72ff140: Merge "Move frameworks/native to libc++." * commit 'd72ff140e0df44106cd8539396ce686aa8f3306a': Move frameworks/native to libc++.
|
6d72063cfd28ab4e5ed9d3405c7e9389d8e78bad |
16-Nov-2014 |
Dan Albert <danalbert@google.com> |
Move frameworks/native to libc++. I'm pretty sure I had done this before... Must have been new dependencies that slipped in when L merged in. Bug: 15193147 Change-Id: Ib9b1b8a65665d25c33c6141b9476a8e13c4084e0
ests/Android.mk
|
d2af15668826604036f60eb6348ece330e5420e3 |
12-Nov-2014 |
Craig Mautner <cmautner@google.com> |
am 66af95fa: am 83cbc5a7: Merge "Stop consuming input on error dialogs." into lmp-mr1-dev * commit '66af95fa175baa8c0c9b9b2caa5141f66d635928': Stop consuming input on error dialogs.
|
66af95fa175baa8c0c9b9b2caa5141f66d635928 |
12-Nov-2014 |
Craig Mautner <cmautner@google.com> |
am 83cbc5a7: Merge "Stop consuming input on error dialogs." into lmp-mr1-dev * commit '83cbc5a7588793435fd986e220fe1f9b88342069': Stop consuming input on error dialogs.
|
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
|
6e6d754ecc6ecb65e3d06ae790b36d89549999e7 |
17-Oct-2014 |
Narayan Kamath <narayan@google.com> |
am 39efe3e5: Clean up unused parameter warnings. * commit '39efe3e5bf6282a4851e0eb3b938060c8f7790ae': Clean up unused parameter warnings.
|
39efe3e5bf6282a4851e0eb3b938060c8f7790ae |
17-Oct-2014 |
Narayan Kamath <narayan@google.com> |
Clean up unused parameter warnings. Manual application of change 692018430f115343e36b0680acc659f2a731a5d7. Change-Id: I100f838d70e591a13abb198dc420000ef114a429 (cherry picked from commit 97a3367a1b49b1761e3485765b2bd3f2293f9638)
ests/InputDispatcher_test.cpp
ests/InputReader_test.cpp
|
97a3367a1b49b1761e3485765b2bd3f2293f9638 |
17-Oct-2014 |
Narayan Kamath <narayan@google.com> |
Clean up unused parameter warnings. Manual application of change 692018430f115343e36b0680acc659f2a731a5d7. Change-Id: I100f838d70e591a13abb198dc420000ef114a429
ests/InputDispatcher_test.cpp
ests/InputReader_test.cpp
|
27d0e598fda4d619998e536636dc43220728f679 |
12-Oct-2014 |
Jeff Brown <jeffbrown@google.com> |
am 465c8f13: am 2e5f8eaa: am ffb49774: Improve ANR diagnostics. * commit '465c8f1387b231133fb29bdeb0eb685c30e8da00': Improve ANR diagnostics.
|
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
|
9bd5bcc958f4f7625662b79420f02c9902b4619c |
26-Sep-2014 |
Michael Wright <michaelwr@google.com> |
am 2344006b: am 4b20d402: Merge "Only mark repeated keys as PASS_TO_USER if the original key was." into lmp-dev * commit '2344006b6e43ffd081f55228d150f26d932f15fe': Only mark repeated keys as PASS_TO_USER if the original key was.
|
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
|
22371776ffdee6bf37cc44cae3ba2ad3e5cb184d |
05-Sep-2014 |
Michael Wright <michaelwr@google.com> |
am 41943dd0: am 9e24c319: Merge "Fix type for temp variable" into lmp-dev * commit '41943dd027740873180bea8d30b65d71f0077654': Fix type for temp variable
|
53047e593dc7cc1d2cfb651e17373dfa7ff57fc1 |
02-Sep-2014 |
Michael Wright <michaelwr@google.com> |
am 883fccb5: am bcbf97ef: Add logging for switch state * commit '883fccb5f89c005502af27a18322f9fa302ac1b3': Add logging for switch state
|
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
|