diff options
author | Mady Mellor <madym@google.com> | 2017-04-10 10:05:17 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2017-04-14 14:14:49 -0700 |
commit | 5574425c32c75825004471434e0cd2fccdd4e5c0 (patch) | |
tree | b5beb43572b36c967fe425829ba9c965da4732c7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | dc52fd316802316d65174feebb5e210b7c2db7de (diff) |
Improve swipe to show notification menu gesture
- Increases minimum velocity for dismiss (100->500 dp/sec)
- Increases minimum distance for dismiss (40->60% of notification width)
- Alters logic when menu was already showing and notification
gets moved (if it doesn't move enough sticks to menu, else it looks
for dismiss or snap back into position)
- Changes swipe helper so that the dismiss direction takes the
translation into account
Test: manual / had some people play with the gesture
Bug: 28693375
Change-Id: Ibe4c51627a78b9c3b7d889cf7e06a63da7113072
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions