commit | 0901fc33f7fb3ebdd91892465a592ffa2e929966 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Thu Jan 28 22:55:34 2021 +0000 |
committer | George Mount <mount@google.com> | Wed Feb 10 21:23:15 2021 +0000 |
tree | bc2fafa9a3ad7ee09f2a4add52b95bd2c471cd8e | |
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