summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2024-05-22 20:55:08 -0400
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2024-05-29 18:19:52 +0000
commit5b56c5fb355c90713cb6ace02a9af36c5145ce1c (patch)
tree98482cc96e0d47be694e29a0767aac3fcb7d11ff /api/api.go
parent27c58b4b6566fe903abe9d91008e61efdbb7be44 (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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1bd662453b41f64bcafdb125aae73782bdc40a4c) Merged-In: I3ce403510b3ca35970685fc97a4fbcedaeb79151 Change-Id: I3ce403510b3ca35970685fc97a4fbcedaeb79151
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions