summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2022-05-18 19:01:23 +0000
committer Matt Casey <mrcasey@google.com> 2022-05-18 19:15:11 +0000
commit5a52d180102dda79c1ccdce09802233d4e0fba1e (patch)
tree8fba5fe71b5a5d92fae7223f87c38b7e53563712 /libs/androidfw/StringPool.cpp
parentdafb69ab2301f5baab493306f49550496127bd0c (diff)
Add explicit sizing logic for single words
If clipboard text is a single word, set the text size to the biggest size that will fit in the TextView's width. Otherwise it was splitting the word unnecessarily. Bug: 222684111 Test: Manual with different string lengths. Change-Id: I64a34b27c673602c5ff8ed51249b4a51150279b7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions