summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2018-10-17 16:41:35 -0700
committerSeigo Nonaka <nona@google.com>2018-10-19 14:51:59 -0700
commit9958c4ab21b9df323a29915181ab1f278f06ab11 (patch)
treeb1c8da6dff5f127b1cc71094609d7179a5c3ac7a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd8c16347a9915993d8126a68159e408a7a659202 (diff)
Introduce FontStyle for future extensibility
This is a ground work for b/114479228 FontStyle is an argument of the font itemization. Currently Android system uses weight and italic info for itemizing but maybe we will use width and oblique style in future. To be extensible in future, introduce FontStyle. This CL includes: - new class FontStyle which holds width and italic at this moment. In future, we may add width and oblique. (or grdual italic slant) - Font class still returns weight/slant since they need to be immutable. - Moved font weight constants from Font to FontStyle Bug: 114479228 Test: atest CtsGraphicsTestCases Change-Id: I0ba717fbf9f90ee6f760c1a0f6eda17b4bef6f43
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions