Home
last modified time | relevance | path

Searched refs:fontPath (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/tests/
DFontTestUtils.cpp63 std::string fontPath = fontDir + std::string((const char*)fontFileName); in getFontCollection() local
66 LOG_ALWAYS_FATAL_IF(access(fontPath.c_str(), R_OK) != 0, in getFontCollection()
67 "%s is not found", fontPath.c_str()); in getFontCollection()
69 family->addFont(new MinikinFontForTest(fontPath), android::FontStyle(weight, italic)); in getFontCollection()
DFontFamilyTest.cpp390 const std::string fontPath; in TEST_F() member
403 "Font " + testCase.fontPath + " should have a variation sequence table." : in TEST_F()
404 "Font " + testCase.fontPath + " shouldn't have a variation sequence table."); in TEST_F()
406 MinikinAutoUnref<MinikinFontForTest> minikinFont(new MinikinFontForTest(testCase.fontPath)); in TEST_F()
DMinikinFontForTest.h36 const std::string& fontPath() const { return mFontPath; } in fontPath() function
DFontCollectionItemizeTest.cpp74 return ((MinikinFontForTest*)run.fakedFont.font)->fontPath(); in getFontPath()
/frameworks/base/rs/java/android/renderscript/
DFont.java241 String fontPath = Environment.getRootDirectory().getAbsolutePath(); in create() local
242 fontPath += "/fonts/" + fileName; in create()
243 return createFromFile(rs, res, fontPath, pointSize); in create()