commit | d568294c1a587fd712b41f072d6e1a521fe09a72 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Mon Apr 08 09:57:07 2019 -0400 |
committer | Matt Pietal <mpietal@google.com> | Mon Apr 08 09:57:07 2019 -0400 |
tree | fa7b15c8b588dbf4fb3b9efc49144b991f2dcfe0 | |
parent | e0283ded0a7b2a2010f614943f939e1adc81ebeb [diff] |
Sharesheet - Fix scroll behavior moving past bounds ResolverDrawerLayout is tracking fractions of pixels, but just drops these fractions when offsetting the child views. When scrolling up and down continuously, this can lead to the view scrolling past the window bounds. Do not discard these fractions. Track the remainders and add them in when the sum to >= 1px. Bug: 129979914 Test: Manual scrolling test Change-Id: I0e8ea04baca341c6b6e0573e086f3f2f8c2b39b5