commit | 396f55a04df1b3fdfa3e7192ce14f050aed9a6d9 | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Tue Oct 18 14:07:54 2016 -0700 |
committer | Aurimas Liutikas <aurimas@google.com> | Fri Oct 21 15:58:49 2016 +0000 |
tree | e98eb7d96e23349e01d2088721d83be65939ed3e | |
parent | ce39f74a7df80d767ab019080256a023875453a0 [diff] |
Improve PagerSnapHelper flinging and documentation. - Expose createSnapScroller method in SnapHelper to allow extending classes to change snapping scroll speed. - Limit the maximum duration that the scroll animation takes on flings. This limit is now 398ms: - 100ms for scrolling - 298ms deceleration (100ms /.3356 <- see LinearSmoothScroller) - Added more documentation for PagerSnapHelper class. Test: passes the existing tests. Change-Id: I5d0244f44aefc91b82ee4b4145e453da3c9112e6