commit | 160d12ee51672e1482f95a349edb49630398d335 | [log] [tgz] |
---|---|---|
author | Vladislav Kaznacheev <kaznacheev@google.com> | Thu Jun 18 17:30:57 2015 +0300 |
committer | Vladislav Kaznacheev <kaznacheev@google.com> | Fri Jun 19 11:22:59 2015 +0300 |
tree | 5efa6f28137df4342c6c32b8a45d84d7d891cb6a | |
parent | 275294dbce30eb1f9ef4847d0f9c3d6b602de06c [diff] |
Fix huge bounce-back in ListView when double-flinging The bounce-back reliably happened when AbsListView.fling was called with high enough velocity (>50000). Such values caused integer overflow when squared in the course of some ballistic calculations in OverScroller.fitOnBounceCurve. Bug: 19056278 Change-Id: I35d5376c67bc6847955b44ee268e89bce2db81d0