Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java627 final Typeface italicFamily = Typeface.create(family, 400 /* weight */, true /* italic */); in testTypefaceCreate_withExactStyle() local
628 assertEquals(GLYPH_1EM_WIDTH, measureText("a", italicFamily), 0f); in testTypefaceCreate_withExactStyle()
629 assertEquals(GLYPH_3EM_WIDTH, measureText("b", italicFamily), 0f); in testTypefaceCreate_withExactStyle()
630 assertEquals(GLYPH_1EM_WIDTH, measureText("c", italicFamily), 0f); in testTypefaceCreate_withExactStyle()