diff options
author | Ben Lin <linben@google.com> | 2021-01-14 18:10:37 -0800 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2021-01-23 01:06:06 -0800 |
commit | dd1d40ef0d62b10e0774123ba5e0f3b27708fa50 (patch) | |
tree | be28b9cf54db9a47c3e8ac1af3f2626d76d7ba3a /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 60a993de14864d2d3290c131ad75fe1511056a18 (diff) |
PiP pinch-to-resize: add double-tap to max/min size.
Per spec, max size would be the biggest possible bounds within the
movement bounds (displayWidth - 2 * insetWidth), and min size would be
40% of the width.
This also fixes the issue of portrait PiP not resizing correctly due to
wrong math being done in the resize algorithm.
Bug: 166478885
Test: Double-tap on PiP
Change-Id: I2e239d23a0e2519c0b482005614a1faddb1f808a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions