Home
last modified time | relevance | path

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

/aosp12/frameworks/minikin/tests/util/
H A DFreeTypeMinikinFontForTest.cpp62 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 DFreeTypeMinikinFontForTest.h33 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 DFontTestUtils.cpp96 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 DAndroid.bp10 "FreeTypeMinikinFontForTest.cpp",
/aosp12/frameworks/minikin/tests/unittest/
H A DFontFileParserTest.cpp91 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 DFontTest.cpp28 auto minikinFont = std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath("Ascii.ttf")); in TEST()
H A DFontFamilyTest.cpp772 new FreeTypeMinikinFontForTest(getTestFontPath(kTestFont))); in TEST_F()
H A DFontCollectionItemizeTest.cpp937 std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(kNoGlyphFont)); in TEST()
952 std::make_shared<FreeTypeMinikinFontForTest>(getTestFontPath(kJAFont)); in TEST()
/aosp12/frameworks/minikin/tests/stresstest/
H A DFontFamilyTest.cpp38 auto font = std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in TEST_P()