Searched refs:FreeTypeMinikinFontForTest (Results 1 – 9 of 9) sorted by relevance
/aosp12/frameworks/minikin/tests/util/ |
H A D | FreeTypeMinikinFontForTest.cpp | 62 FreeTypeMinikinFontForTest::FreeTypeMinikinFontForTest(const std::string& font_path, int index) in FreeTypeMinikinFontForTest() function in minikin::FreeTypeMinikinFontForTest 82 FreeTypeMinikinFontForTest::~FreeTypeMinikinFontForTest() { in ~FreeTypeMinikinFontForTest() 88 float FreeTypeMinikinFontForTest::GetHorizontalAdvance(uint32_t glyphId, const MinikinPaint& paint, in GetHorizontalAdvance() 94 void FreeTypeMinikinFontForTest::GetBounds(MinikinRect* bounds, uint32_t glyphId, in GetBounds() 108 void FreeTypeMinikinFontForTest::GetFontExtent(MinikinExtent* extent, const MinikinPaint& paint, in GetFontExtent() 121 return std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in loadFreeTypeMinikinFontForTest()
|
H A D | FreeTypeMinikinFontForTest.h | 33 class FreeTypeMinikinFontForTest : public MinikinFont { 35 FreeTypeMinikinFontForTest(const std::string& font_path, int index); 36 FreeTypeMinikinFontForTest(const std::string& font_path) in FreeTypeMinikinFontForTest() function 37 : FreeTypeMinikinFontForTest(font_path, 0) {} in FreeTypeMinikinFontForTest() 38 virtual ~FreeTypeMinikinFontForTest(); 64 MINIKIN_PREVENT_COPY_AND_ASSIGN(FreeTypeMinikinFontForTest);
|
H A D | FontTestUtils.cpp | 96 std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in getFontFamilies() 100 std::make_shared<FreeTypeMinikinFontForTest>(fontPath, in getFontFamilies() 126 auto font = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(filePath)); in buildFontFamily() 134 auto font = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(filePath)); in buildFontFamily()
|
H A D | Android.bp | 10 "FreeTypeMinikinFontForTest.cpp",
|
/aosp12/frameworks/minikin/tests/unittest/ |
H A D | FontFileParserTest.cpp | 91 auto minikinFont = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath("Ascii.ttf")); in TEST() 123 auto minikinFont = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath("Ascii.ttf")); in TEST()
|
H A D | FontTest.cpp | 28 auto minikinFont = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath("Ascii.ttf")); in TEST()
|
H A D | FontFamilyTest.cpp | 772 new FreeTypeMinikinFontForTest(getTestFontPath(kTestFont))); in TEST_F()
|
H A D | FontCollectionItemizeTest.cpp | 937 std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(kNoGlyphFont)); in TEST() 952 std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(kJAFont)); in TEST()
|
/aosp12/frameworks/minikin/tests/stresstest/ |
H A D | FontFamilyTest.cpp | 38 auto font = std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in TEST_P()
|