summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-05-04 07:45:53 +0000
committer Roy Chou <juchengchou@google.com> 2023-05-04 07:45:53 +0000
commit8860d574aff0f4dda7f7862489cf4603ada9f126 (patch)
tree8944363c6d837799843a7d476e54c77cd22d4a3a /libs/hwui/AutoBackendTextureRelease.cpp
parent40e35dfad3830a1aa1d3ae582a4ef67475b05e48 (diff)
fix(non linear font scaling)!: fix status bar date/battery text being cut off when 200% font scaling
We adjust related height dimens to assure the date and battery percentage textview could display properly when large font scaling. Besides, the BatteryStatusChip height should also update when font scaling changed to ensure the battery percentage text would not be cut off. Therefore, we also adjust the dimen from dp to sp. For this CL, we only adjust the height dimens to fix the text cut off issue. The icon scaling issue would be in future CLs. Bug: 272071029 Test: manually - screenshot attached in bug Change-Id: Idbc27deff035d34706b534bd5cb3a8dbb36fc9d0
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions