diff options
author | Ben Lin <linben@google.com> | 2020-11-16 13:51:57 -0800 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2020-12-04 17:46:24 -0800 |
commit | 014f2975ce75db57bf342f3f67d03e6bf5e4e444 (patch) | |
tree | 36de3c130aa52e995f02d2dad70a8aef1351f94d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bd4b7bd4d5266b3c40c883a2a9b82f60d0639e51 (diff) |
Re-implement pinch-to-resize gesture.
This removes ScaleGestureDetector and instead just do the calculation
inside the class itself. As user sets two input points on the PiP
surface, this signals the start of the gesture, and as user drags the
two fingers, it resizes the PiP to the maximum possible size. After the
user releases their fingers, then it auto-offsets/snaps to the right
position.
Bug: 166478885
Test: Start a pinch-to-resize while feature flag is on
Change-Id: I634bd14e97f0cf0cc7bf9c1a1b64a1f12130e0e9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions