Home
last modified time | relevance | path

Searched refs:buildFontFamily (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/tests/util/
DFontTestUtils.h57 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath);
62 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath, const std::string& lang);
DFontTestUtils.cpp121 return std::make_shared<FontCollection>(buildFontFamily(filePath)); in buildFontCollection()
124 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath) { in buildFontFamily() function
131 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath, const std::string& lang) { in buildFontFamily() function
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp507 std::shared_ptr<FontFamily> family = buildFontFamily(kVsTestFont); in TEST_F()
553 std::shared_ptr<FontFamily> family = buildFontFamily(testCase.fontPath); in TEST_F()
563 std::shared_ptr<FontFamily> multiAxisFamily = buildFontFamily(kMultiAxisFont); in TEST_F()
564 std::shared_ptr<FontFamily> noAxisFamily = buildFontFamily(kNoAxisFont); in TEST_F()
623 std::shared_ptr<FontFamily> unicodeEnc1Font = buildFontFamily(kUnicodeEncoding1Font); in TEST_F()
624 std::shared_ptr<FontFamily> unicodeEnc3Font = buildFontFamily(kUnicodeEncoding3Font); in TEST_F()
625 std::shared_ptr<FontFamily> unicodeEnc4Font = buildFontFamily(kUnicodeEncoding4Font); in TEST_F()
DFontCollectionItemizeTest.cpp728 families.push_back(buildFontFamily(kLatinFont)); in TEST()
729 families.push_back(buildFontFamily(kVSTestFont)); in TEST()
1516 std::shared_ptr<FontFamily> dummyFamily = buildFontFamily(kNoGlyphFont); in TEST()
1517 std::shared_ptr<FontFamily> familyA = buildFontFamily(kZH_HansFont); in TEST()
1518 std::shared_ptr<FontFamily> familyB = buildFontFamily(kZH_HansFont); in TEST()
1538 std::shared_ptr<FontFamily> dummyFamily = buildFontFamily(kNoGlyphFont); in TEST()
1539 std::shared_ptr<FontFamily> hasCmapFormat14Family = buildFontFamily(kHasCmapFormat14Font); in TEST()
1540 std::shared_ptr<FontFamily> noCmapFormat14Family = buildFontFamily(kNoCmapFormat14Font); in TEST()
1561 auto dummyFamily = buildFontFamily(kNoGlyphFont); in TEST()
1562 auto textEmojiFamily = buildFontFamily(kTextEmojiFont, "ja-JP"); in TEST()
[all …]