History log of /packages/apps/Launcher3/src/com/android/launcher3/StylusEventHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
522142af51fed5d23492c00bc8a37ec0cca8fdcc 17-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Removing call to isButtonPressed as its only Lollipop and above

Change-Id: I0d70befa25baf4864303833111652dbf1d19daa5
/packages/apps/Launcher3/src/com/android/launcher3/StylusEventHelper.java
ef044dd380ac3abf354027750efdc16d5d48ac70 03-Jun-2015 Mady Mellor <madym@google.com> Stylus support: creating and setting listeners for stylus button press

This updates almost(*) all locations that use a long press listener to
also set a custom touch listener that recognizes the stylus button press
action.

The stylus button press action is: when a stylus touches a view while the
primary stylus button is pressed which may occur on a DOWN or MOVE event.

*The location this is *not* enabled for is: Longpress to enter "overview"
mode -- this isn't really a selection or drag n drop action; it is also
easy to accidentally do this while using the stylus gesture to drag n drop
items which is not an ideal interaction. Also not set for the "cling" that
demonstrates this.

Bug: 20430722
Change-Id: I9343f143261a7b4fada9afca28b8a11a60dbecca
/packages/apps/Launcher3/src/com/android/launcher3/StylusEventHelper.java