diff options
author | George Mount <mount@google.com> | 2021-01-28 22:55:34 +0000 |
---|---|---|
committer | George Mount <mount@google.com> | 2021-02-10 21:23:15 +0000 |
commit | 0901fc33f7fb3ebdd91892465a592ffa2e929966 (patch) | |
tree | bc2fafa9a3ad7ee09f2a4add52b95bd2c471cd8e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 36192d4044c093c1dd00f2cf6a78b9d431dd66a1 (diff) |
Update the EdgeEffect API
Bug: 178807038
EdgeEffect adds getDistance() to allow the developer to
determine how much of the pull was consumed by the EdgeEffect.
onPullDistance() is similar to onPull() except that it returns
the consumed pull distance.
A new constructor was added to allow EdgeEffect attributes to
apply to Views.
Test: I7f6d6153c1a5bc714ad1935ae0c78907e6839547
Change-Id: Ie29b081cb34af0219287bd1702fea8d273a78d74
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions