summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Berry <robertberry@google.com>2020-03-26 12:06:19 -0400
committerRobert Berry <robertberry@google.com>2020-03-30 13:45:02 -0400
commit793b0f4bcba68e7f15ba3c84ab17c53535e7bd7d (patch)
tree726ab8368c8c8fe21ed8e5e894b0b0a911463a60 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent76c2a127278eb1af1a0b4e79d4eb9c8f31cee7ba (diff)
Sync granularity of gestures with vsync
Gesture dispatch should match the refresh rate of the Display, in order to create smooth animations. The previous behavior was to split gestures up into 100ms steps. Retain that behavior for AccessibilityService instances that are targeting pre-R. For R, split gestures up into enough steps to closely track refresh rate. Test: manual Bug: 150190594 Change-Id: I80b24227f86916945abf7ff8bfb60a91fc12f50e
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions