Home
last modified time | relevance | path

Searched refs:TestFontCollection (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/modules/skparagraph/utils/
H A DTestFontCollection.cpp3 #include "modules/skparagraph/utils/TestFontCollection.h"
11 TestFontCollection::TestFontCollection(const std::string& resourceDir, bool testOnly, bool loadFonts) in TestFontCollection() function in skia::textlayout::TestFontCollection
38 bool TestFontCollection::addFontFromFile(const std::string& path, const std::string& familyName) { in addFontFromFile()
H A DTestFontCollection.h8 class TestFontCollection : public FontCollection { class
10 TestFontCollection(const std::string& resourceDir, bool testOnly = false, bool loadFonts = true);
/third_party/skia/modules/skparagraph/samples/
H A DSampleParagraph.cpp21 #include "modules/skparagraph/utils/TestFontCollection.h"
37 sk_sp<TestFontCollection> getFontCollection() { in getFontCollection()
39 static sk_sp<TestFontCollection> fFC = nullptr; in getFontCollection()
41 fFC = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true); in getFontCollection()
1267 auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true);
1417 auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false);
1465 //auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true);
1663 auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true);
1690 auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true);
2760 auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePat
[all...]
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp36 #include "modules/skparagraph/utils/TestFontCollection.h"
5404 sk_sp<TestFontCollection> fontCollection = in UNIX_ONLY_TEST()
5405 sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in UNIX_ONLY_TEST()
5461 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true); in UNIX_ONLY_TEST()
5499 sk_sp<TestFontCollection> fontCollection = in UNIX_ONLY_TEST()
5500 sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true); in UNIX_ONLY_TEST()

Completed in 16 milliseconds