diff options
author | George Mount <mount@google.com> | 2021-05-21 17:55:59 +0000 |
---|---|---|
committer | George Mount <mount@google.com> | 2021-05-21 18:28:23 +0000 |
commit | d2cbe50f18fb86eff9092077f77614f3e1ae9817 (patch) | |
tree | 6274430de69137ffbcbafe30d5c27c438c72cb52 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 265c337728f7b4489def57ac020d8a4bf0e1f667 (diff) |
Fix overscroll doesn't affect scrolling when released
Bug: 188531406
When an EdgeEffect is flung past 0 into negative values, it
shows a stretch from the other side. To prevent this, the EdgeEffect
animation is now terminated when it reaches 0. I also made it so
that dragging to a value of 0 releases the EdgeEffect.
I also fixed the nested scrolling so that the stretch release
of ListView occurs before the onNestedPreScroll().
Test: new tests and manual testing
Change-Id: Ia20a6b96d25cf31ef143511828ddce5c33cee804
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions