commit | 85adc772550b47b54812a397530d08dde923ac5a | [log] [tgz] |
---|---|---|
author | Robert Horvath <robhor@google.com> | Wed Feb 23 19:11:51 2022 +0100 |
committer | Robert Horvath <robhor@google.com> | Wed Mar 02 11:15:58 2022 +0100 |
tree | f9e8ab4d6bf5db8ac02fd32c06fd3533f86e9110 | |
parent | 9f05a8fd05baac626b3a6b1009717684d5c2a4f4 [diff] |
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