summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2020-11-02 11:37:36 -0800
committerchaviw <chaviw@google.com>2020-11-02 11:40:41 -0800
commit0bc6b36215e7af9740a3214157cae06d6a04f958 (patch)
tree33d148fcf8c00e4e1ba8331f587e40b8d1df053f /rs/java/android/renderscript/ProgramStore.java
parentc0850b8e6d6e5f14c5775d885a04ebef02b5f9aa (diff)
Use transform in pointerCoordsFromNative and not just offset
The raw pointer coords are purely raw coordinates in screen space. They do not include any transformation. Therefore, we need to use the transform object and not just offset values to calculate the transformed coordinates. Test: MotionEventTest#testTransformShouldApplyMatrixToPointsAndPreserveRawPosition Fixes: 162446411 Change-Id: Idd4c10f0ff5243006a6240558f6b12cf139b455d
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions