summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Seigo Nonaka <nona@google.com> 2019-03-29 14:22:49 -0700
committer Seigo Nonaka <nona@google.com> 2019-04-02 17:06:56 -0700
commitcb88a651db44f2953321a7fbb6f24a8efd308b21 (patch)
tree6a633dd9a78a6369c13283927eabf98c6ec13805 /services/surfaceflinger/RegionSamplingThread.cpp
parent2d84dddc78b42f85302f0f887d90085429f3b969 (diff)
Reorganize system font APIs
This CL reorganizes the system font related APIs with following things: - Move match function from system_fonts.h to new header file. The matching logic is not only for system fonts. The custom font or custom fallback Typeface can be a target of this matcher. - Introduce new struct AFontMatcher for keeping matching rules. This is for future extensibility. We may add another parameter for querying fonts in future. - Renamce ASystemFont to AFont and moved to new header file. This is mainly because for future improvements. Currently we don't have any plan for doing this in Q timeline, but the matcher object can be used for Java Typeface object via JNI. For example, build Typeface in Java and pass down to JNI and query the font for the passed Typeface. Bug: 129559385 Test: TEMPORARY_DISABLE_PATH_RESTRICTIONS=true m ndk-docs Test: atest CtsGraphicsTestCases:android.graphics.fonts Change-Id: I6c593d9597b1f1ff71eaea6ecf7992890d635480
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions