Test that preferKeepClear adds to custom keep clear Rects

Since ViewParents can be set to not clip their children, custom keep
clear areas can extend beyond the bounds of its hosting View.
If preferKeepClear is set, the View's bounds should be reported as
a keep clear area, but it should still report the custom Rects.

Bug: 221073574
Test: atest KeepClearRectsTests
Change-Id: Ia60b1400350b540cdb7bf005685b5c1da04e110a
1 file changed