Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java156 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_buffer_ttc() local
158 Font font = new Font.Builder(buffer).setTtcIndex(ttcIndex).build(); in testBuilder_buffer_ttc()
161 assertEquals(path, ttcIndex, font.getTtcIndex()); in testBuilder_buffer_ttc()
274 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_file_ttc() local
281 Font font = new Font.Builder(file).setTtcIndex(ttcIndex).build(); in testBuilder_file_ttc()
284 assertEquals(path, ttcIndex, font.getTtcIndex()); in testBuilder_file_ttc()
417 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_fd_ttc() local
426 Font font = new Font.Builder(fd).setTtcIndex(ttcIndex).build(); in testBuilder_fd_ttc()
429 assertEquals(path, ttcIndex, font.getTtcIndex()); in testBuilder_fd_ttc()
566 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_fd_subdata_ttc() local
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceCustomFallbackBuilderTest.java89 final int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testSingleFont_ttc() local
90 assertEquals(ttcIndex, FontTestUtil.getSelectedTtcIndex( in testSingleFont_ttc()
94 .setTtcIndex(ttcIndex).build()).build()).build())); in testSingleFont_ttc()
/cts/tests/tests/provider/src/android/provider/cts/
DMockFontProvider.java63 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument
67 mTtcIndex = ttcIndex; in Font()