diff options
author | Matt Pietal <mpietal@google.com> | 2019-04-08 09:57:07 -0400 |
---|---|---|
committer | Matt Pietal <mpietal@google.com> | 2019-04-08 09:57:07 -0400 |
commit | d568294c1a587fd712b41f072d6e1a521fe09a72 (patch) | |
tree | fa7b15c8b588dbf4fb3b9efc49144b991f2dcfe0 /libs/hwui/renderthread/RenderThread.cpp | |
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
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions