diff options
author | Winson Chung <winsonc@google.com> | 2020-06-12 20:30:28 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2020-06-12 20:31:03 -0700 |
commit | e7a25c27278eb56b372c34aed5fd7faedfceafc6 (patch) | |
tree | cc6ee599268a2f71ea95e51dc6f3bbe9680b2815 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a4c3cd425be47e35deb386b5e340ac50103a7355 (diff) |
Minor touch changes for resizing
- Pilfer whenever we cross the threshold in either axis (otherwise
the app under pip will continue to receive touch events while
it is resizing)
- Only resize once you pass the threshold, otherwise a sloppy tap
would trigger an unexpected micro-resize
- Handle cancel when triggering notification from launcher (when
pip starts pilfering touches and sends a cancel to launcher, it
should not continue to treat that as an up event and trigger
notifications to show)
Change-Id: Id31d12484f7ecd55a8e48073979c1886764a9648
Bug: 158887398
Test: Resize PIP, try resizing over home with a swipe down
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions