History log of /frameworks/native/services/inputflinger/InputReader.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a44766cf0ec1cb017a6aee2c74e5d64fa37f44e5 22-Jun-2015 Michael Wright <michaelwr@google.com> Cancel touches as well as pointer gestures.

Bug: 19264992
Change-Id: If48e0953b972c9d69f516906adf7c6faf67e3eb8
/frameworks/native/services/inputflinger/InputReader.h
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.h
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.h
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.h
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.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
/frameworks/native/services/inputflinger/InputReader.h
b85401d4badec20da60a588ee5d04cb139036a5d 17-Apr-2015 Michael Wright <michaelwr@google.com> Mark all InputReaderContext methods as pure virtual

Also, fix the build.

Change-Id: I45d3daa8c0710b2f9421e8ffd011d2d39c05e030
/frameworks/native/services/inputflinger/InputReader.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
/frameworks/native/services/inputflinger/InputReader.h
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.h
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.h
bcbf97ef8fb6eaf527014ed9e7d979ad4fe9fdd2 29-Aug-2014 Michael Wright <michaelwr@google.com> Add logging for switch state

Bug: 17004602
Change-Id: I15c9feb7b28274183742936c20e34e7fb07e0b70
/frameworks/native/services/inputflinger/InputReader.h
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.h
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.h
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
/frameworks/native/services/inputflinger/InputReader.h
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.h
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.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
/frameworks/native/services/inputflinger/InputReader.h
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.h
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.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
/frameworks/native/services/inputflinger/InputReader.h