Home
last modified time | relevance | path

Searched refs:FontTestUtil (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceCustomFallbackBuilderTest.java28 import android.graphics.fonts.FontTestUtil;
52 for (Pair<Integer, Boolean> style : FontTestUtil.getAllStyles()) { in createFullFamilyTypeface()
58 FontTestUtil.getFontPathFromStyle(weight, italic)).build()); in createFullFamilyTypeface()
61 FontTestUtil.getFontPathFromStyle(weight, italic)).build()); in createFullFamilyTypeface()
70 for (Pair<Integer, Boolean> style : FontTestUtil.getAllStyles()) { in testSingleFont_path()
74 final String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testSingleFont_path()
75 assertEquals(path, FontTestUtil.getSelectedFontPathInAsset( in testSingleFont_path()
85 for (Pair<Integer, Boolean> style : FontTestUtil.getAllStyles()) { in testSingleFont_ttc()
89 final int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testSingleFont_ttc()
90 assertEquals(ttcIndex, FontTestUtil.getSelectedTtcIndex( in testSingleFont_ttc()
[all …]
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java154 for (Pair<Integer, Boolean> style : FontTestUtil.getAllStyles()) { in testBuilder_buffer()
158 String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testBuilder_buffer()
175 for (Pair<Integer, Boolean> style : FontTestUtil.getAllStyles()) { in testBuilder_buffer_ttc()
179 String path = FontTestUtil.getTtcFontFileInAsset(); in testBuilder_buffer_ttc()
182 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_buffer_ttc()
197 for (Pair<Integer, Boolean> style : FontTestUtil.getAllStyles()) { in testBuilder_buffer_vf()
200 String path = FontTestUtil.getVFFontInAsset(); in testBuilder_buffer_vf()
205 FontTestUtil.getVarSettingsFromStyle(weight, italic)); in testBuilder_buffer_vf()
221 for (Pair<Integer, Boolean> style : FontTestUtil.getAllStyles()) { in testBuilder_buffer_override()
224 String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testBuilder_buffer_override()
[all …]
DFontTestUtil.java89 public class FontTestUtil { class