summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2021-07-27 14:09:17 -0400
committer Derek Sollenberger <djsollen@google.com> 2021-07-29 14:53:30 -0400
commit547d0a6ae89bb08302eb2c545af0098ccf51c20e (patch)
tree4cd8b07e411e29b6b833d98c8928a8acc26ad641 /libs/battery/LongArrayMultiStateCounterTest.cpp
parentc8a5fd575b0701ae494510132f9d10cdeb95ec10 (diff)
Use clipping when layer bounds are too small to mirror the crop's corner
If the corners of the bounds only partially align with the crop we need to ensure that the resulting shape can still be represented as a round rect. This CL accounts for the fact that the round rect implementation will recompute the value of the corner radius if the radius is greater than the width or height to which it is applied. See https://www.w3.org/TR/css-backgrounds-3/#corner-overlap Test: atest librenderengine_test Bug: 145094543 Change-Id: I48d04ea726e8765de0e300c2608ed5c4e6fe6bbc
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions