Searched refs:fontPath (Results 1 – 5 of 5) sorted by relevance
69 std::string fontPath = fontDir + std::string((const char*)fontFileName); in getFontFamilies() local72 if (access(fontPath.c_str(), R_OK) != 0) { in getFontFamilies()73 ALOGW("%s is not found.", fontPath.c_str()); in getFontFamilies()79 std::make_shared<MinikinFontForTest>(fontPath); in getFontFamilies()83 std::make_shared<MinikinFontForTest>(fontPath, in getFontFamilies()
49 std::shared_ptr<FontFamily> makeFamily(const std::string& fontPath) { in makeFamily() argument50 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(fontPath)); in makeFamily()614 const std::string fontPath; in TEST_F() member624 ? "Font " + testCase.fontPath + in TEST_F()626 : "Font " + testCase.fontPath + in TEST_F()630 new MinikinFontForTest(testCase.fontPath)); in TEST_F()
44 const std::string& fontPath() const { return mFontPath; } in fontPath() function
73 return ((MinikinFontForTest*)run.fakedFont.font)->fontPath(); in getFontPath()
106 const char *fontPath = "myfont.ttf"; in main() local108 font = new PortableFontInstance(fontPath, 12, fontStatus); in main()112 u_printf("leperf: testing %s\n", fontPath); in main()