DO NOT MERGE ANYWHERE. Fix ViewPager margin drawing for cases drawAt < 0.
DO NOT MERGE ANYWHERE. Fix ViewPager margin drawing for cases drawAt < 0.

ViewPager drawAt value depends on setCurrentItem and it will
go negative for items before current item. Margin drawing bound
calculation was doing rounding that was only valid for positive numbers.
In a case of drawAt -0.99997 it causes the margin to be between 0 and 0.

Bug: 27611657
Change-Id: I89650ecb612f7e124ffe8267bee8e6ed9ef9f8d3
(cherry picked from commit 7f435eb14a778aec816a653871bc0c9112664c72)

aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx