Home
last modified time | relevance | path

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

/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h29 class FreeTypeMinikinFontForTest : public MinikinFont {
31 FreeTypeMinikinFontForTest(const std::string& font_path, int index);
32 FreeTypeMinikinFontForTest(const std::string& font_path) in FreeTypeMinikinFontForTest() function
33 : FreeTypeMinikinFontForTest(font_path, 0) {} in FreeTypeMinikinFontForTest()
34 virtual ~FreeTypeMinikinFontForTest();
61 MINIKIN_PREVENT_COPY_AND_ASSIGN(FreeTypeMinikinFontForTest);
DFreeTypeMinikinFontForTest.cpp61 FreeTypeMinikinFontForTest::FreeTypeMinikinFontForTest(const std::string& font_path, int index) in FreeTypeMinikinFontForTest() function in minikin::FreeTypeMinikinFontForTest
81 FreeTypeMinikinFontForTest::~FreeTypeMinikinFontForTest() { in ~FreeTypeMinikinFontForTest()
87 float FreeTypeMinikinFontForTest::GetHorizontalAdvance(uint32_t glyphId, const MinikinPaint& paint, in GetHorizontalAdvance()
93 void FreeTypeMinikinFontForTest::GetBounds(MinikinRect* bounds, uint32_t glyphId, in GetBounds()
107 void FreeTypeMinikinFontForTest::GetFontExtent(MinikinExtent* extent, in GetFontExtent()
DFontTestUtils.cpp96 std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in getFontFamilies()
100 std::make_shared<FreeTypeMinikinFontForTest>(fontPath, in getFontFamilies()
125 auto font = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(filePath)); in buildFontFamily()
132 auto font = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(filePath)); in buildFontFamily()
DAndroid.bp6 "FreeTypeMinikinFontForTest.cpp",
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp38 auto font = std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in TEST_P()
/frameworks/minikin/tests/unittest/
DFontCollectionItemizeTest.cpp94 ((FreeTypeMinikinFontForTest*)run.fakedFont.font->typeface().get())->fontPath()); in getFontName()
927 std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(kNoGlyphFont)); in TEST()
941 std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(kJAFont)); in TEST()
DFontFamilyTest.cpp722 new FreeTypeMinikinFontForTest(getTestFontPath(kTestFont))); in TEST_F()