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.java182 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_buffer_ttc() local
184 Font font = new Font.Builder(buffer).setTtcIndex(ttcIndex).build(); in testBuilder_buffer_ttc()
187 assertEquals(path, ttcIndex, font.getTtcIndex()); in testBuilder_buffer_ttc()
300 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_file_ttc() local
307 Font font = new Font.Builder(file).setTtcIndex(ttcIndex).build(); in testBuilder_file_ttc()
310 assertEquals(path, ttcIndex, font.getTtcIndex()); in testBuilder_file_ttc()
443 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_fd_ttc() local
452 Font font = new Font.Builder(fd).setTtcIndex(ttcIndex).build(); in testBuilder_fd_ttc()
455 assertEquals(path, ttcIndex, font.getTtcIndex()); in testBuilder_fd_ttc()
592 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()