Searched refs:MinikinFontForTest (Results 1 – 10 of 10) sorted by relevance
/frameworks/minikin/tests/util/ |
D | MinikinFontForTest.h | 26 class MinikinFontForTest : public MinikinFont { 28 MinikinFontForTest(const std::string& font_path, int index, 30 MinikinFontForTest(const std::string& font_path, int index) in MinikinFontForTest() function 31 : MinikinFontForTest(font_path, index, std::vector<FontVariation>()) {} in MinikinFontForTest() 32 MinikinFontForTest(const std::string& font_path) : MinikinFontForTest(font_path, 0) {} in MinikinFontForTest() function 33 virtual ~MinikinFontForTest(); 49 MinikinFontForTest() = delete; 50 MinikinFontForTest(const MinikinFontForTest&) = delete; 51 MinikinFontForTest& operator=(MinikinFontForTest&) = delete;
|
D | MinikinFontForTest.cpp | 37 MinikinFontForTest::MinikinFontForTest(const std::string& font_path, int index, in MinikinFontForTest() function in minikin::MinikinFontForTest 53 MinikinFontForTest::~MinikinFontForTest() { in ~MinikinFontForTest() 57 float MinikinFontForTest::GetHorizontalAdvance(uint32_t /* glyph_id */, in GetHorizontalAdvance() 63 void MinikinFontForTest::GetBounds(MinikinRect* bounds, uint32_t /* glyph_id */, in GetBounds() 72 std::shared_ptr<MinikinFont> MinikinFontForTest::createFontWithVariation( in createFontWithVariation() 74 return std::shared_ptr<MinikinFont>(new MinikinFontForTest(mFontPath, mFontIndex, variations)); in createFontWithVariation()
|
D | FontTestUtils.cpp | 73 std::make_shared<MinikinFontForTest>(fontPath); in getFontFamilies() 77 std::make_shared<MinikinFontForTest>(fontPath, atoi((const char*)index)); in getFontFamilies()
|
D | Android.bp | 6 "MinikinFontForTest.cpp",
|
/frameworks/minikin/tests/unittest/ |
D | HbFontCacheTest.cpp | 42 std::shared_ptr<MinikinFontForTest> fontA( in TEST_F() 43 new MinikinFontForTest(kTestFontDir "Regular.ttf")); in TEST_F() 45 std::shared_ptr<MinikinFontForTest> fontB( in TEST_F() 46 new MinikinFontForTest(kTestFontDir "Bold.ttf")); in TEST_F() 48 std::shared_ptr<MinikinFontForTest> fontC( in TEST_F() 49 new MinikinFontForTest(kTestFontDir "BoldItalic.ttf")); in TEST_F() 70 std::shared_ptr<MinikinFontForTest> minikinFont( in TEST_F() 71 new MinikinFontForTest(kTestFontDir "Regular.ttf")); in TEST_F()
|
D | FontCollectionTest.cpp | 60 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(kVsTestFont)); in TEST() 132 std::shared_ptr<MinikinFont> multiAxisFont(new MinikinFontForTest(kMultiAxisFont)); in TEST() 138 std::shared_ptr<MinikinFont> noAxisFont(new MinikinFontForTest(kNoAxisFont)); in TEST()
|
D | FontCollectionItemizeTest.cpp | 71 return ((MinikinFontForTest*)run.fakedFont.font)->fontPath(); in getFontPath() 719 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(kLatinFont)); in TEST_F() 724 std::shared_ptr<MinikinFont> font2(new MinikinFontForTest(kVSTestFont)); in TEST_F() 927 new MinikinFontForTest(kNoGlyphFont)); in TEST_F() 939 std::shared_ptr<MinikinFont> minikin_font(new MinikinFontForTest(kJAFont)); in TEST_F() 1524 std::shared_ptr<MinikinFont> dummyFont(new MinikinFontForTest(kNoGlyphFont)); in TEST_F() 1525 std::shared_ptr<MinikinFont> fontA(new MinikinFontForTest(kZH_HansFont)); in TEST_F() 1526 std::shared_ptr<MinikinFont> fontB(new MinikinFontForTest(kZH_HansFont)); in TEST_F() 1557 std::shared_ptr<MinikinFont> dummyFont(new MinikinFontForTest(kNoGlyphFont)); in TEST_F() 1559 new MinikinFontForTest(kHasCmapFormat14Font)); in TEST_F() [all …]
|
D | FontFamilyTest.cpp | 49 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(fontPath)); in makeFamily() 538 std::shared_ptr<MinikinFont> minikinFont(new MinikinFontForTest(kVsTestFont)); in TEST_F() 590 new MinikinFontForTest(testCase.fontPath)); in TEST_F()
|
/frameworks/minikin/tests/perftests/ |
D | FontFamily.cpp | 24 std::shared_ptr<MinikinFontForTest> minikinFont = in BM_FontFamily_create() 25 std::make_shared<MinikinFontForTest>("/system/fonts/NotoSansCJK-Regular.ttc", 0); in BM_FontFamily_create()
|
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 36 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(fontPath, ttcIndex)); in TEST_P()
|