History log of /frameworks/native/include/input/Input.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
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
/frameworks/native/include/input/Input.h
09be485667fc96df24d2e2ab6ce4fc4f26588739 23-Oct-2015 Nick Kralevich <nnk@google.com> resolve merge conflicts of 834ac204ce to klp-modular-dev. am: 7f1ea80d65 am: fa632f6ad7 am: 9ec978732f am: 1b28b05d2e am: 0370a03b6e am: 18e7c64ea8 am: 6eac97d4ba
am: 69b8174c5e

* commit '69b8174c5e184d0a314821d24893e931946ede83':
DO NOT MERGE: fix build breakage
0370a03b6e74e40d5110b83fed2243bf072aee73 23-Oct-2015 Nick Kralevich <nnk@google.com> resolve merge conflicts of 834ac204ce to klp-modular-dev. am: 7f1ea80d65 am: fa632f6ad7 am: 9ec978732f
am: 1b28b05d2e

* commit '1b28b05d2edf11f49717b53cd49a9161892f0388':
DO NOT MERGE: fix build breakage
1b28b05d2edf11f49717b53cd49a9161892f0388 23-Oct-2015 Nick Kralevich <nnk@google.com> resolve merge conflicts of 834ac204ce to klp-modular-dev. am: 7f1ea80d65 am: fa632f6ad7
am: 9ec978732f

* commit '9ec978732f8dd82e7adef3e37097eaca3fbd65f0':
DO NOT MERGE: fix build breakage
fa632f6ad7be6b1f488dd3d1b825a82456db5097 23-Oct-2015 Nick Kralevich <nnk@google.com> resolve merge conflicts of 834ac204ce to klp-modular-dev.
am: 7f1ea80d65

* commit '7f1ea80d65996ab687ff56a884da915535cdc176':
DO NOT MERGE: fix build breakage
7f1ea80d65996ab687ff56a884da915535cdc176 23-Oct-2015 Nick Kralevich <nnk@google.com> resolve merge conflicts of 834ac204ce to klp-modular-dev.

Bug: 23905002
Change-Id: Ic7262861af91a8fff27692c0f68761cb3ab12aa3
a82ace99f76ed815e16ab64eae2e9e55871a8b8f 23-Oct-2015 Flanker <i@flanker017.me> add number constraint for samples per MotionEvent am: 5d17838ade am: 72c8ca4a01 am: 9964d83869 am: 90dc6dc825
am: 9830f11dc6

* commit '9830f11dc6b6aa4001c79147966fdb9eaa71c2f2':
add number constraint for samples per MotionEvent
834ac204ce52d874cdd7ae921e5a4d85c5e42c52 22-Oct-2015 Nick Kralevich <nnk@google.com> DO NOT MERGE: fix build breakage

fix klp-dev only build breakage.

frameworks/native/libs/input/Input.cpp: In member function 'android::status_t android::MotionEvent::readFromParcel(android::Parcel*)':
frameworks/native/libs/input/Input.cpp:494:47: error: 'UINT16_MAX' was not declared in this scope

Bug: 23905002
Change-Id: I4b6b864ca64d39a8873d045a61e0ddaea2ab9109
/frameworks/native/include/input/Input.h
9830f11dc6b6aa4001c79147966fdb9eaa71c2f2 22-Oct-2015 Flanker <i@flanker017.me> add number constraint for samples per MotionEvent am: 5d17838ade am: 72c8ca4a01 am: 9964d83869
am: 90dc6dc825

* commit '90dc6dc825ebd1f0f4c9474fad887cd7eac8e9bd':
add number constraint for samples per MotionEvent
9964d83869565cf4dda432129cfe50f6ede19338 22-Oct-2015 Flanker <i@flanker017.me> add number constraint for samples per MotionEvent am: 5d17838ade
am: 72c8ca4a01

* commit '72c8ca4a0191827fd3265c0820b685a6cf420be1':
add number constraint for samples per MotionEvent
72c8ca4a0191827fd3265c0820b685a6cf420be1 22-Oct-2015 Flanker <i@flanker017.me> add number constraint for samples per MotionEvent
am: 5d17838ade

* commit '5d17838adef13062717322e79d4db0b9bb6b2395':
add number constraint for samples per MotionEvent
5d17838adef13062717322e79d4db0b9bb6b2395 07-Sep-2015 Flanker <i@flanker017.me> add number constraint for samples per MotionEvent

Bug:23905002

Signed-off-by: Adam Lesinski <adamlesinski@google.com>

(cherry picked from commit 552a8a5d8df32f659b8d11311a244cdc6d3b7733)

Change-Id: I9b7ea859889b7697bee4165a2746602212120543
/frameworks/native/include/input/Input.h
0ee1b1ff1f454e72a5b2ef2fbe78f7b66eba8bd4 13-Oct-2015 Adam Lesinski <adamlesinski@google.com> am 5bba4236: am 76fc5f18: am 16b0ae10: Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev

* commit '5bba4236a86bbf4537bc27810803b9b224b0840f':
add number constraint for samples per MotionEvent
552a8a5d8df32f659b8d11311a244cdc6d3b7733 07-Sep-2015 Flanker <i@flanker017.me> add number constraint for samples per MotionEvent

Bug:23905002
Change-Id: Ifd24802977c3dcdd1dbc5120a78aac41beae4603

Signed-off-by: Adam Lesinski <adamlesinski@google.com>
/frameworks/native/include/input/Input.h
30dddd6f49b04ac5160c1de702cafe09b42ce1d1 13-Aug-2015 Elliott Hughes <enh@google.com> am 6a846dd5: am 5f5a0e0f: Merge "Lose HAVE_ANDROID_OS from frameworks/native."

* commit '6a846dd51885df861f4e1e30fcca86b9dd2f4092':
Lose HAVE_ANDROID_OS from frameworks/native.
6071da7ef84c60645572654504813d492b8b21d5 13-Aug-2015 Elliott Hughes <enh@google.com> Lose HAVE_ANDROID_OS from frameworks/native.

Change-Id: I8e6af2a46a9d875192fc7957ada9b5f66d84bad6
/frameworks/native/include/input/Input.h
21957b9c6d731dc67067e702c644dc7f4c4ff48d 17-Jun-2015 Michael Wright <michaelwr@google.com> Add method to set action button on MotionEvent

Change-Id: I09f00fa1c2b793a88772f67fe195860ec436179d
/frameworks/native/include/input/Input.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/include/input/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/input/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/input/Input.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/include/input/Input.h
8f6710fdeb96a3482adf1a6a2d46d67b0ce8e9db 10-Jun-2014 Michael Wright <michaelwr@google.com> Bump axis limit

Change-Id: I53d18646be2b884c5022f10c7c4ea8f6cda176c8
/frameworks/native/include/input/Input.h
db1972bd8e9b055f2df77d57ac55f1c02ebdd278 03-Jun-2014 Narayan Kamath <narayan@google.com> am 26063a91: am f1dd859b: Merge "x86_64: Align uint64_t/int64_t structure member to 8 bytes"

* commit '26063a9155ddd18d858cea7fac7c1ddf71e1bcb7':
x86_64: Align uint64_t/int64_t structure member to 8 bytes
26063a9155ddd18d858cea7fac7c1ddf71e1bcb7 03-Jun-2014 Narayan Kamath <narayan@google.com> am f1dd859b: Merge "x86_64: Align uint64_t/int64_t structure member to 8 bytes"

* commit 'f1dd859baa114995bcbcfb7119e939d0b4f45ed5':
x86_64: Align uint64_t/int64_t structure member to 8 bytes
83e0e425c61c4e03f61114a88f117db1553cd44c 23-May-2014 Fengwei Yin <fengwei.yin@intel.com> x86_64: Align uint64_t/int64_t structure member to 8 bytes

To make sure the stature which pass between 32/64bit process have
same memory layout for 32/64bit.

Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
Co-Authored-by: Narayan Kamath <narayan@google.com> (Unit test only.)
Change-Id: I1bc2d12cce41ec0bc484adcaf968f274bec75c12
/frameworks/native/include/input/Input.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
/frameworks/native/include/input/Input.h
db19e463fe5a4e00a0214c564527ba67f31e1afb 09-Apr-2014 Jeff Brown <jeffbrown@google.com> Remove unnecessary policy flags.

Bug: 13133142
Change-Id: Ib6c63ebad25d84f78623b4a46ccf83953d235fe7
/frameworks/native/include/input/Input.h
d0bd3911462f42487944dbaf85d87d569e2f9633 19-Mar-2014 Michael Wright <michaelwr@google.com> Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGE

Bug: 11480300
Change-Id: I5a4096970c9e588d134f05dd0eb3a9c91c836b2f
/frameworks/native/include/input/Input.h
9b04f860f23481d39c3b45379a324d3630966825 19-Oct-2013 Michael Wright <michaelwr@google.com> Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

Change-Id: Ie6dbce926280c748f39e3c54d2ed4accbdcf9e59
/frameworks/native/include/input/Input.h
962a108856767d6f5c17cf2854b13fef0315f8ca 18-Oct-2013 Michael Wright <michaelwr@google.com> Parse LED mappings in keylayout files. DO NOT MERGE

Change-Id: I2b34939cc0df256e6b872502ea93f2884b4c8334
/frameworks/native/include/input/Input.h
ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4 11-Feb-2014 Jeff Brown <jeffbrown@google.com> Add method to apply offset to PointerCoords. (DO NOT MERGE)

Change-Id: I3dc2ba22b026e5b8e1c3d90f7366ec09a59ce6b6
/frameworks/native/include/input/Input.h
313eff7bb7e5eedbdbea805343451fd473241266 16-Jul-2013 Jeff Brown <jeffbrown@google.com> Completely remove skia dependency from libinput.

Including the tests...

Change-Id: I6ec8f1a5ae7e7514831d7e3b430b3b37b0841b92
/frameworks/native/include/input/Input.h
5a2f68e5a5526ba80b5192776e2f0e349626777d 16-Jul-2013 Jeff Brown <jeffbrown@google.com> Fix PDK build.

Quick hack to remove Skia dependency from libinput.

Change-Id: Ibaf2e312236f5e3f7251fa903ce381456a77467c
/frameworks/native/include/input/Input.h
5912f95d26f77d2b6df13e1f2672e48e3f9b871c 02-Jul-2013 Jeff Brown <jeffbrown@google.com> Move input library code from frameworks/base.

Change-Id: I4983db61b53e28479fc90d9211fafff68f7f49a6
/frameworks/native/include/input/Input.h