summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-06-12 14:32:04 -0600
committerJeff Sharkey <jsharkey@android.com>2018-06-12 14:32:06 -0600
commitf1223e62cc130df2b83592b9987bdf61610c9bd0 (patch)
tree7d2260542c0ecaf62b371695a06775a36b91e801 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7bb9fcbc4586610a8b20e1c4d11987cc48850e8c (diff)
Support sentinel values for CHAR LIMIT.
For common string placements (such notification titles), we should have consistent CHAR LIMIT values that are applied universally. Strings can opt-into using these consistent values with new sentinel values which the "transconsole" tool will turn into real numbers based on the real-world UI measurements in the linked bug. The currently measured values are: NOTIF_TITLE=48 NOTIF_BODY=384 NOTIF_ACTION=24 DIALOG_TITLE=56 DIALOG_BODY=NONE DIALOG_ACTION=64 TOAST=384 Bug: 110095706 Test: manual Change-Id: I6bae3a1b5bb6a03cb50a25325b7eb75a535ee6c5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions