commit | bc696ba302352a09ddfc61ea8bfb7d6e1badc63a | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Thu Mar 04 12:02:11 2021 -0800 |
committer | Ben Lin <linben@google.com> | Thu Mar 04 15:23:52 2021 -0800 |
tree | 5a9583d89b658426629fb6410d29d95a39a7db16 | |
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