commit | 8a8b1f632ad8926bd23c85de75c86558b429cce7 | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Thu Jun 10 14:47:15 2021 -0700 |
committer | Ben Lin <linben@google.com> | Thu Jun 10 14:47:15 2021 -0700 |
tree | 23d4db6b2789bf59ede44c4ef566b074d553ee92 | |
parent | 53c5d85befa46d3e7519311c8f513ef368800460 [diff] |
PiP: Divide up the magnetic percent by 2. At max size, doing a brute percentage calculation using width / minWidth ends up with a magnetic distance that's too big. Divide by 2 again to make it more natural. Bug: 190657668 Test: Pinch to max size, drag down - doesn't immediate snap to it anymore Change-Id: Ib5de742b753239a151686c1a85b27a6fe553a577