summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/StylusEventHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Removing call to isButtonPressed as its only Lollipop and aboveSunny Goyal2015-08-171-5/+3
| | | | Change-Id: I0d70befa25baf4864303833111652dbf1d19daa5
* Stylus support: creating and setting listeners for stylus button pressMady Mellor2015-06-021-0/+84
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