commit | a4d22d718affbc7145d1012157feb819557b5c06 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Wed Sep 16 23:19:26 2015 +0100 |
committer | Tim Murray <timmurray@google.com> | Thu Sep 17 00:18:13 2015 +0000 |
tree | ced2beb0037ee1b354b367144cddf120d4c13978 | |
parent | 6b04e3a6ea042be0e012f7501fadb461b3d772a7 [diff] |
Send power hint on fling gestures. Use the existing PointerEventListener infrastructure to listen for gestures that look like flings and hint to the power system when they happen. Since we don't actually have a bound for the fling like a regular application would, limit them to five seconds and refresh every time a new fling is seen until the five second time period is up. bug 24059298 Change-Id: I5757a1e88f2ab2ef08cccefa8221d809ae71bb6f