summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-06-11 14:42:55 -0700
committerjorgegil@google.com <jorgegil@google.com>2021-06-15 17:33:09 -0700
commitc73eb5d3f7c19e43b8cca27699ddc6094617be93 (patch)
tree4058a18c43a9f2305b8fc61fe4b1c5ff04e3221e /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentfe788b0b7b7a8297facb17ed0d29a7d053b0015a (diff)
Start pinchResize only if pointers are inside PIP
The PipResizeGestureHandler was previusly signaling a start of the pinch resize without checking that both pointers were within the PIP bounds region. This caused the TouchState to be reset with a single tap outside the PIP window while drag-moving it with another finger, which led to PIP becoming stuck without snapping to the edges. With this CL, we make sure that both fingers are inside PIP before starting resetting the touch state and allowing the pinch resize to start. Bug: 188640607 Bug: 186607893 Test: move the PIP with one finger and while still holding it tap anywhere outside of PIP with another finger - verify you can still keep moving the PIP with the first finger normally. Change-Id: I2137180ea1f333fe2e0b67e52d57da5ff9a2d094
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions