summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-05-08 16:30:46 +0000
committer Roy Chou <juchengchou@google.com> 2023-05-11 16:29:09 +0000
commitcfc7d522319cae861a281bd8fa4cadd3eb16962f (patch)
tree753e00d4ab3c3051c07bef38c9370250f48ff9db /tests/DynamicCodeLoggerIntegrationTests/src
parent40e35dfad3830a1aa1d3ae582a4ef67475b05e48 (diff)
fix(non linear font scaling)!: fix QS text being cut off when 200% font scaling
Originally the QS tile height is fixed to 80dp and may contain 2 textViews in tile content. When font scaling changed to 200%, the height from 80dp is not enough for the textViews. Therefore, in TileLayout, we estimate the needed height for the tile under given font scaling, and compare with the height from resources/dimens. The larger height would become the exact tile height, to have a proper tile height for full tile content view. Bug: b/272072639 Test: manually - attached video in bug atest TileLayoutTest atest QuickQSPanelTest Change-Id: I6054ef1a6fd0fc28522181f5bc7774cb0abaf14a
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions