History log of /frameworks/native/services/inputflinger/InputReader.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
06936feb07bf6fbef262e4adebeb8e53910d8cf4 05-Apr-2017 Santos Cordon <santoscordon@google.com> Add uniqueId to Virtual Display and pass through to inputflinger (2/2)

This CL adds:
1) Adds uniqueId (protected via system/sig permission) to virtual
displays.
2) Add support for N virtual display viewports into inputflinger.
3) Set the virtual display's viewports in inputflinger if it has the
uniqueId value set to non-null. (a) Moving the new viewport from java to
native inputflinger and (b) adding "uniqueId" value to viewports makes
up the great majority of this change.
4) From the inputflinger side, we also read in a new value from the
input device configuration files called 'touch.displayId'.
5) When touch.displayId and the virtual display's uniqueId match,
inputflinger links the two.

Test: Start VR and ensure that the virtual viewport shows up when running
'adb shell dump input". Run a VR app, and ensure that the virtual input
device is associated with the new virtual viewport.

Bug: 36051620
Change-Id: I662f09f863a3dc94c570e7e7f30b83888b3f514c
Merged-In: I662f09f863a3dc94c570e7e7f30b83888b3f514c
/frameworks/native/services/inputflinger/InputReader.cpp
d84e646db469c82df107b17a7da7334c24a51245 31-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Do not fade pointer icon on every key press.

Bug: 34203295
Test: focus on a text input widget, move mouse around,
type something: mouse pointer stays visible.

Change-Id: I29028233e8d919b91c49a24b9e9c0cf4bdd38fe1
/frameworks/native/services/inputflinger/InputReader.cpp
78f97b3263053c388080a738b56499139517c3b6 16-Dec-2016 Vladislav Kaznacheev <kaznacheev@google.com> Support pointer capture in InputReader

When pointer capture is enabled, the pointer icon is hidden,
the pointer location is not changing, and CursorInputMapper
generates "captured" events with relative offsets instead of
absolute positions.

Captured events have their source set to a newly introduced
SOURCE_MOUSE_RELATIVE (of SOURCE_CLASS_TRACKBALL).

Test: InputReader_test --gtest_filter=
CursorInputMapperTest.Process_PointerCapture

Bug: 30897034
Change-Id: Id30cb8e7edac56ab813e22a834cc44ab263d1003
/frameworks/native/services/inputflinger/InputReader.cpp
7823e124e00576e20e47ec717cbe8bc89f0f2bf2 29-Sep-2016 Mark Salyzyn <salyzyn@google.com> Replace cutils/log.h and rationalize log/log.h and android/log.h

- cutils/log.h treat as deprecated and lead by example
- android/log.h to be used instead of log/log.h if possible
- add system includes that are assumed as side effects
- define LOG_TAG first

Test: compile
Bug: 31289077
Bug: 30465923
Change-Id: I8d99b24c333578c9b5aa9f2a01324bd0bba268dd
/frameworks/native/services/inputflinger/InputReader.cpp
a5e161b1207ef447a51e99856097d69d4a6111e1 29-Sep-2016 Mark Salyzyn <salyzyn@google.com> Replace cutils/log.h and rationalize log/log.h and android/log.h

- cutils/log.h treat as deprecated and lead by example
- android/log.h to be used instead of log/log.h if required
- add system includes that are assumed as side effects of log.h
- modules that use SLOG should use SLOG for all logging (installd)
- define LOG_TAG first
- remove logging infrastructure if not used

Test: build
Bug: 31289077
Change-Id: Iea147a0104c7ab7f12451304131d6500f42141e7
/frameworks/native/services/inputflinger/InputReader.cpp
63b0cd22d2c3b0d13a374b8daa27eff627c62270 09-Sep-2016 gaoshang <gaoshang@xiaomi.com> Merge "redirect to call assignPointerIds if there is id < 0 case" am: 85598ce5ac am: cad6f2e83d
am: 5224061e83

Change-Id: I309ad478fe3628fb249e921e908b96f26673c5b3
85598ce5ac3042a722d336e1b3fb5cbaa1b4f8d0 09-Sep-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "redirect to call assignPointerIds if there is id < 0 case"
1a632def894f8fec6961d126fcc568c6a7c19441 24-Aug-2016 gaoshang <gaoshang@xiaomi.com> redirect to call assignPointerIds if there is id < 0 case

Symptom: If assignPointerIds() is not called, the unknown value of
outPointer.id will lead to undefined things
Root Cause: mHavePointerIds be overwritten to true in last cycle
Solution: recover mHavePointerIds=false if any id < 0, to call assignPointerIds()

https://code.google.com/p/android/issues/detail?id=221273

Change-Id: I65ca0b82a6fceb495a0de17315b1f49cdab5fba0
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
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>
/frameworks/native/services/inputflinger/InputReader.cpp
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.
/frameworks/native/services/inputflinger/InputReader.cpp
2c09b78656dd97727f94fada81845b133cf142f3 13-Jan-2016 Prashant Malani <pmalani@google.com> Revert "inputflinger: Add support for scaling and true value reporting"

This reverts commit ee03865fe5fc6ffe9deda0e0870a18206027cfaf.
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
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>
/frameworks/native/services/inputflinger/InputReader.cpp
fbbaf2efbb7781e86e509709169edf4b5c8fe036 22-Jun-2015 Michael Wright <michaelwr@google.com> Cancel touches as well as pointer gestures.

Bug: 19264992
Change-Id: Idbe964a1a35c190a32f845e2a19542d54652d011
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.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.
/frameworks/native/services/inputflinger/InputReader.cpp
70b41ef580644fd0fe6fa9b8ac7e4a745cfb6db3 14-May-2015 Michael Wright <michaelwr@google.com> Revert "Add new MotionEvent actions for button press and release."

This reverts commit 48a8a0e4322969e1551536d6183af3a1faa2240b.
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
45ccacf937d0d5a957348327ad9947ae96c5d472 21-Apr-2015 Michael Wright <michaelwr@google.com> Default to TOOL_TYPE_STYLUS for external stylus events.

Change-Id: Ife6a7c4802e8b1ec1ff8445e639f8a6d90a00592
/frameworks/native/services/inputflinger/InputReader.cpp
e2434fecb9650b64a24ad87cda3f32260d804bc1 21-Apr-2015 Michael Wright <michaelwr@google.com> Revert "Increase stylus data timeout."

This reverts commit 8b0673ce0ca97952d3ed9cb8912b31f367e41c0c.
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
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>
/frameworks/native/services/inputflinger/InputReader.cpp
063ff53d0b0a0d670ea0185e687526d8fd302820 08-Apr-2015 Tim Kilbourn <tkilbourn@google.com> Pass through availability of audio mic for input devices.

Bug: 15374820
Change-Id: Id2ca6da10165e3a887ebfbb18f663a3bf316ac79
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp
3da3b8436c743e4ba16ce6802b499a5bb7cd07bd 30-Aug-2014 Michael Wright <michaelwr@google.com> Fix type for temp variable

Change-Id: I8e2d229da326e5182692f94660336169fb249da7
/frameworks/native/services/inputflinger/InputReader.cpp
bcbf97ef8fb6eaf527014ed9e7d979ad4fe9fdd2 29-Aug-2014 Michael Wright <michaelwr@google.com> Add logging for switch state

Bug: 17004602
Change-Id: I15c9feb7b28274183742936c20e34e7fb07e0b70
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
41d2f80739700a56fd6a670923a2966add8dae61 18-Mar-2014 Mark Salyzyn <salyzyn@google.com> inputflinger: 64 bit compile issues

Change-Id: I73c37eb19b28d987ff13632a999e71d6c96cc3e0
/frameworks/native/services/inputflinger/InputReader.cpp
dcfcf5d0ae73b79af60da5e72c070c481ffb1189 17-Mar-2014 Michael Wright <michaelwr@google.com> Add idc config option for handling key repeats

Bug: 13285870
Change-Id: I3c1cd5fb0a02dfb3432c1f04d0eef2d4970857ea
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.cpp
1b1fe314c4e74ef85afe4dacd7ba1e87e6862aa3 11-Feb-2014 Michael Wright <michaelwr@google.com> Revert "Move inputservice over to frameworks/native"

This reverts commit 2dceb67f1f32bd2ec589c4ac3d83da0b8dbe4a5c.
/frameworks/native/services/inputflinger/InputReader.cpp
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
/frameworks/native/services/inputflinger/InputReader.cpp