commit | 6ee69ed2e6b7d2e7abe1a50b12c327d9dc38fd08 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Fri Aug 04 15:30:05 2023 -0700 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Aug 08 21:23:19 2023 +0000 |
tree | 9c19f875ebdb078ee8e4e3f6e8a723b0d66c8b89 | |
parent | 336c012b6ecfb45f919229ea6c2b7604d79e443f [diff] |
Fix ScrollView and HorizontalScrollView overscroll retraction Bug: 288270962 When overscrolling, the scroll was being stuck beyond the range of the scroll. This left it in a funny position and the next time the ScrollView or HorizontalScrollView had an interaction, it would snap to a valid scroll offset. This CL allows the scrolling to move the content back to the expected position without affecting the stretch. Test: new tests, manual testing (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3bd8d8e9a98922a9d5201e0cc6484753512ec97d) Merged-In: I8f5ae18d44adf55d9ce026b0e31f3d1a140d57c6 Change-Id: I8f5ae18d44adf55d9ce026b0e31f3d1a140d57c6