diff options
author | Seigo Nonaka <nona@google.com> | 2021-02-05 19:15:29 -0800 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2021-02-05 19:15:29 -0800 |
commit | 1dd39f3bded10f829d920941359e4393c79b2c42 (patch) | |
tree | ccc89412fae152f67b09a9a70c10f23d8bc3e11b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 095e4fd986e63e42e7f3e0619925fac2033f986e (diff) |
Make Font class being able to create from native instance
This CL refactors followings:
- Use infomation stored in native instance as the source-of-truth.
- Being able to create Font instance from native instance.
- Use ByteBuffer as a wrapper of the native byte buffer.
Bug: 179113771
Test: atest CtsTextTestCases CtsGraphicsTestCases
Test: atest android.graphics.fonts.NativeSystemFontTest
Test: atest android.graphics.fonts.SystemFontsTest
Test: atest FrameworksCoreTests:android.text
Test: atest FrameworksCoreTests:android.graphics
Change-Id: Icc1df1c76ba78d4f8800984444439fd03970e179
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions