commit | 1bd662453b41f64bcafdb125aae73782bdc40a4c | [log] [tgz] |
---|---|---|
author | Evan Laird <evanlaird@google.com> | Wed May 22 20:55:08 2024 -0400 |
committer | Evan Laird <evanlaird@google.com> | Tue May 28 19:54:37 2024 +0000 |
tree | dd67d1afd28badfba7acc8701f03b07c8c665401 | |
parent | 939bd52b0f14d6a88c6a9cc78672f44c4ff08724 [diff] |
Add pixel scaling to ScreenDecorationUtils SreenDecorationUtils was querying rounded_corner_radius directly using static methods defined in RoundedCorners.java, and was not taking into consideration the potential for physical pixel scaling. This CL replicates the logic that exists in RoundedCorners.java and ScreenDecorations.java to implement similar scaling in the static getter. Test: manual Flag: NONE Bug: 335357341 Change-Id: I3ce403510b3ca35970685fc97a4fbcedaeb79151