Home
last modified time | relevance | path

Searched refs:FontDescriptor (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/fonts/
DNativeSystemFontHelper.java38 public static class FontDescriptor { class in NativeSystemFontHelper
51 if (o == null || !(o instanceof FontDescriptor)) { in equals()
54 FontDescriptor f = (FontDescriptor) o; in equals()
116 public static Set<FontDescriptor> getAvailableFonts() { in getAvailableFonts()
118 HashSet<FontDescriptor> nativeFonts = new HashSet<>(); in getAvailableFonts()
122 FontDescriptor font = new FontDescriptor(); in getAvailableFonts()
DNativeSystemFontTest.java41 public Set<NativeSystemFontHelper.FontDescriptor> convertToDescriptors(Set<Font> fonts) { in convertToDescriptors()
42 HashSet<NativeSystemFontHelper.FontDescriptor> out = new HashSet<>(); in convertToDescriptors()
44 NativeSystemFontHelper.FontDescriptor font = in convertToDescriptors()
45 new NativeSystemFontHelper.FontDescriptor(); in convertToDescriptors()
59 Set<NativeSystemFontHelper.FontDescriptor> javaFonts = in testSameResultAsJava()
61 Set<NativeSystemFontHelper.FontDescriptor> nativeFonts = in testSameResultAsJava()