summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSiarhei Vishniakou <svv@google.com>2018-08-28 14:42:23 -0700
committerSiarhei Vishniakou <svv@google.com>2018-08-28 17:37:10 -0700
commitbf33d19cb04c30738d5726fff137ec3a0efc855c (patch)
tree97e7e3ff033e5cf1c1922c46437827530c511430 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5733d64cac88607671cd4e6059be80cb8cfa926a (diff)
Remove VelocityTracker abstraction
For older hardware with noisy touchscreens, a custom version of velocity tracker, NoisyVelocityTracker, was needed. Since the hardware keeps improving, and with recent bugfixes in VelocityTracker, these additional layers of abstractions are no longer needed. Some more improvements: - mVelocityTracker is now never null - VelocityTracker already clears its state when receiving ACTION_DOWN, so no need for additional object destruction / creation. Replace these calls with VelocityTracker.clear() instead. Test: manual interaction with notification panel (pulling down, flinging at various points). Bug: 113070322 Change-Id: I186a6b1c3fc91ec6c18bc0248d6e36f76c65e564
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions