Home
last modified time | relevance | path

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

/external/skia/modules/skparagraph/utils/
DTestFontCollection.cpp24 addFontFromFile(path.c_str()); in TestFontCollection()
38 bool TestFontCollection::addFontFromFile(const std::string& path, const std::string& familyName) { in addFontFromFile() function in skia::textlayout::TestFontCollection
DTestFontCollection.h13 bool addFontFromFile(const std::string& path, const std::string& familyName = "");
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp1416 fontCollection->addFontFromFile("abc/abc.ttf", "abc"); in onDrawContent()
1417 fontCollection->addFontFromFile("abc/abc+grave.ttf", "abc+grave"); in onDrawContent()
1418 fontCollection->addFontFromFile("abc/abc+agrave.ttf", "abc+agrave"); in onDrawContent()
3357 fontCollection->addFontFromFile("music/Roboto-Regular.ttf", "roboto"); in onDrawContent()
3358 fontCollection->addFontFromFile("music/NotoSansCJK-Regular.ttc", "noto"); in onDrawContent()
3359 fontCollection->addFontFromFile("music/NotoColorEmoji.ttf", "emoji"); in onDrawContent()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp5337 if (!fontCollection->addFontFromFile("abc/abc.ttf", "abc")) { in DEF_TEST_DISABLED()
5340 if (!fontCollection->addFontFromFile("abc/abc+grave.ttf", "abc+grave")) { in DEF_TEST_DISABLED()
5343 if (!fontCollection->addFontFromFile("abc/abc_agrave.ttf", "abc_agrave")) { in DEF_TEST_DISABLED()