summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Aaron Liu <aaronjli@google.com> 2023-12-11 10:59:13 -0800
committer Aaron Liu <aaronjli@google.com> 2023-12-12 12:29:54 -0800
commit438a755acfab3017a5dd9e931b75eb4fe208bf41 (patch)
treed9ed940c15485ad5260d2d8261eb8fc2206a5d98 /libs/input/PointerController.cpp
parente2b283d902e0ff7907280bdc2e56214b812b324a (diff)
Do not autoscale textsize
Instead, use dp instead of sp. SP has been historically difficult for the numpad keys as they do not fit in the buttons. These buttons should not scale on scale density as they are not paragraph text. I looked at iOS and the font on the pin pad also do not scale based on text scale. Test: open user switcher, user edit info, keyboard, and then choose avatar. This will open the bouncer and observe pin screen. Bug: 301892345 Flag: NONE Change-Id: I7633c4a8f9f728ad4136165e57c7f468dc0298f4
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions