commit | 312e5e6e1b0fa8b1998ad6757387cd4186bfab8b | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Thu Nov 19 17:16:53 2015 -0800 |
committer | Aurimas Liutikas <aurimas@google.com> | Fri Nov 20 18:00:22 2015 +0000 |
tree | eaa317c040b3a48004b2d999fd79fd6333ccb69a | |
parent | 5e550159eb4cdd8427f5877f75541e32547eb15f [diff] |
Fix swipe to refresh arrow trimming and scaling issues for quick scrolls. For fast scrolls refresh circle arrow would get stuck in a bad state because we only called setStartEndTrim and setArrowScale only when overscrollTop < mTotalDragDistance. So it was possible that the last update for adjusted percentage was less than one. This CL calls setStartEndTrim and setArrowScale for all values of overscrollTop. Bug: 25311564 Change-Id: Iae7182b42c8f2c61a64e78c36e82f20ff5ea7403