Home
last modified time | relevance | path

Searched refs:font_path (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/tests/util/
DMinikinFontForTest.h28 MinikinFontForTest(const std::string& font_path, int index,
30 MinikinFontForTest(const std::string& font_path, int index) in MinikinFontForTest() argument
31 : MinikinFontForTest(font_path, index, std::vector<FontVariation>()) {} in MinikinFontForTest()
32 MinikinFontForTest(const std::string& font_path) : MinikinFontForTest(font_path, 0) {} in MinikinFontForTest() argument
DMinikinFontForTest.cpp37 MinikinFontForTest::MinikinFontForTest(const std::string& font_path, int index, in MinikinFontForTest() argument
40 mFontPath(font_path), in MinikinFontForTest()
43 int fd = open(font_path.c_str(), O_RDONLY); in MinikinFontForTest()
/frameworks/base/tools/fonts/
Dfontchain_lint.py77 font_path = path.join(_fonts_dir, font_file)
79 return ttLib.TTFont(font_path, fontNumber=index)
81 return ttLib.TTFont(font_path)