Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java1049 Paint.FontMetricsInt fmi = new Paint.FontMetricsInt(); in testGetFontMetricsInt1() local
1055 p.getFontMetricsInt(fmi); in testGetFontMetricsInt1()
1056 assertEquals(Math.round(p.ascent()), fmi.ascent); in testGetFontMetricsInt1()
1057 assertEquals(Math.round(p.descent()), fmi.descent); in testGetFontMetricsInt1()
1060 p.getFontMetricsInt(fmi); in testGetFontMetricsInt1()
1061 assertEquals(Math.round(p.ascent()), fmi.ascent); in testGetFontMetricsInt1()
1062 assertEquals(Math.round(p.descent()), fmi.descent); in testGetFontMetricsInt1()
1069 Paint.FontMetricsInt fmi; in testGetFontMetricsInt2() local
1075 fmi = p.getFontMetricsInt(); in testGetFontMetricsInt2()
1076 assertEquals(Math.round(p.ascent()), fmi.ascent); in testGetFontMetricsInt2()
[all …]