Account for offset rounding errors during layout for DrawerLayout
In some cases a layout can occur that would alter the expected
movement patterns of DrawerLayout. Make sure that any movement from
rounding differences is accounted for and any state adjusted.
By updating lp.onScreen during the layout process to take the new real
position of the view into account, this state will be up to date when
computeScroll is called to update other associated drawer state used
later in touch interception, scrim drawing, drawer view visibility,
etc.
Bug 8918177
Change-Id: Ib65a86af448a433cd36bd0d5f49c6697c33a91f3
1 file changed