Searched refs:widths (Results 1 - 2 of 2) sorted by relevance
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeFontTest.cpp | 846 float widths[50] = {0.f}; in HWTEST_F() local 847 OH_Drawing_FontGetWidths(font, glyphs, glyphsCount, widths); in HWTEST_F() 848 EXPECT_GT(widths[0], 0.f); in HWTEST_F() 868 float widths[50] = {0.f}; in HWTEST_F() local 871 OH_Drawing_FontGetWidths(nullptr, glyphs, glyphsCount, widths); in HWTEST_F() 875 OH_Drawing_FontGetWidths(font, nullptr, glyphsCount, widths); in HWTEST_F() 879 OH_Drawing_FontGetWidths(font, glyphs, 0, widths); in HWTEST_F() 906 float widths[50] = {0.f}; in HWTEST_F() local 910 OH_Drawing_FontGetWidths(font, glyphs, glyphsCount, widths); in HWTEST_F() 911 EXPECT_GT(widths[ in HWTEST_F() 930 float widths[50] = {0.f}; HWTEST_F() local 961 float widths[50] = {0.f}; HWTEST_F() local [all...] |
/test/xts/acts/graphic/graphicnapidrawingtest/ |
H A D | NativeFontTest.cpp | 131 float widths[50] = {0.f}; // 50 means widths array number in HWTEST_F() local 132 OH_Drawing_FontGetWidths(font, glyphs, glyphsCount, widths); in HWTEST_F() 133 EXPECT_EQ(58.0, widths[0]); // 58.0 means glyphs[0] width in HWTEST_F()
|
Completed in 6 milliseconds