summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2019-05-15 14:32:50 -0700
committerLucas Dupin <dupin@google.com>2019-05-15 14:32:50 -0700
commit727890f180bd580aee4f5e51d308a63c460afe7e (patch)
tree267f35faa93b9bd978477bac61f7e34612272ad2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8575ede8fc2e3eb2d2e288a073e55d460c0961f3 (diff)
Calculate pattern bounds correctly
Use stable position on screen to calculate if pattern should be dragged or not. Before we were only comparing bounds to events, that would be on different coordinates (on a parent for example.) Test: draw pattern starting at top left Test: draw pattern starting at bottom right Fixes: 132687980 Change-Id: Ibe2d7fc113bf8bc3a9ab4910b3ab21062b59e7f3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions