diff options
author | Ben Lin <linben@google.com> | 2021-03-04 12:02:11 -0800 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2021-03-04 15:23:52 -0800 |
commit | bc696ba302352a09ddfc61ea8bfb7d6e1badc63a (patch) | |
tree | 5a9583d89b658426629fb6410d29d95a39a7db16 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4a08dabf99d899cf2609fbad35ccedd1318b9f17 (diff) |
PiP: Refine pinch-resizing by damping rotation.
This adds:
- push back rotation starting by 5 degrees. Until the user input has
more than 5 degrees of rotation, we assume the user doesn't really want
to rotate it and only want to move/resize, so it's less jarring/jittery.
- Dampen the rotation once the user rotates past a certain amount.
Bug: 181068706
Test: Manual.
Change-Id: I0fd95d9cb2ad2eff053ce92817af22513d11cc62
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions