History log of /frameworks/native/include/android/input.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/include/android/input.h
494ed550f5aea1332984fb9f0f11036fc58bd716 24-Sep-2016 Dan Albert <danalbert@google.com> Migrate libandroid headers to ndk_headers.

Test: make native
Bug: http://b/30465923
Change-Id: I0ef0b3630670241c4efd22515b6ab13eb41a81b3
/frameworks/native/include/android/input.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>
/frameworks/native/include/android/input.h
858b3b388904c196bc2932530c957ca373aaee17 13-Jan-2016 Prashant Malani <pmalani@google.com> resolve merge conflicts of 14af23d140 to master.

Change-Id: I1eee295f592bad672ad093dfbd9c0c2b555df0ed
d983fd11d4a00b03f92d09f32c08840e66d90777 13-Jan-2016 Prashant Malani <pmalani@google.com> Revert "inputflinger: Initial support for rotary encoders."

This reverts commit ac72bbf4e46d6689070df09a25db2960a9036eb2.
/frameworks/native/include/android/input.h
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/include/android/input.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>
/frameworks/native/include/android/input.h
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/include/android/input.h
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/include/android/input.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/include/android/input.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/include/android/input.h
bf6d5e012cd9b15568c2351831f3349cf564bf18 28-Mar-2015 Johan Euphrosine <proppy@google.com> frameworks/native: document native types and enums

Change-Id: Id94b610f27b87426abb30e13484cbd16990aa995
/frameworks/native/include/android/input.h
8769436bba6b0601f6110f907324c7cfe51cae7a 05-Feb-2014 David Friedman <dmail@google.com> Fixed apparent copy/paste mistake
Bug: 11634373

Change-Id: I9b0ac4d3b4a9a2999b2013abd39465a062ec51ea
/frameworks/native/include/android/input.h
75765d3af58ad7ed97c0d646c936294ba861848f 30-May-2013 Andrew Hsieh <andrewhsieh@google.com> am 1c45dc66: Merge "Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event"

* commit '1c45dc66c77f0ddb246a55d780206a183740ff7f':
Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event
26c24162817a1986c2afbff15dbe896b0cbcc01d 26-May-2013 Andrew Hsieh <andrewhsieh@google.com> Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event

See b.android.com/55873

Change-Id: I92c549e1a595662d4df8fa0e47675ccb2b8814fd
/frameworks/native/include/android/input.h
aadaca7169b847d855cf43d94f74800e9faadfc8 11-Mar-2013 Michael Wright <michaelwr@google.com> Add TOUCH_NAVIGATION input source

Change-Id: Id76e2e85246269ba7b16bb9635e41593b45cac1c
/frameworks/native/include/android/input.h
e1c61d3cc8458ce9a15d8109f728e60f5248939d 23-Mar-2012 Mathias Agopian <mathias@google.com> move ndk headers to frameworks/native

Change-Id: Ib740333753818ff8f8230ed009211b447e30cbee
/frameworks/native/include/android/input.h