Home
last modified time | relevance | path

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

/frameworks/minikin/tests/util/
DFontTestUtils.cpp63 std::string fontPath = fontDir + std::string((const char*)fontFileName); in getFontFamilies() local
66 if (access(fontPath.c_str(), R_OK) != 0) { in getFontFamilies()
67 ALOGW("%s is not found.", fontPath.c_str()); in getFontFamilies()
73 std::make_shared<MinikinFontForTest>(fontPath); in getFontFamilies()
77 std::make_shared<MinikinFontForTest>(fontPath, atoi((const char*)index)); in getFontFamilies()
DMinikinFontForTest.h40 const std::string& fontPath() const { return mFontPath; } in fontPath() function
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp33 const std::string& fontPath = GetParam().first; in TEST_P() local
36 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(fontPath, ttcIndex)); in TEST_P()
59 << "Inconsistent Result: " << fontPath << "#" << ttcIndex in TEST_P()
/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()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp48 std::shared_ptr<FontFamily> makeFamily(const std::string& fontPath) { in makeFamily() argument
49 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(fontPath)); in makeFamily()
573 const std::string fontPath; in TEST_F() member
586 "Font " + testCase.fontPath + " should have a variation sequence table." : in TEST_F()
587 "Font " + testCase.fontPath + " shouldn't have a variation sequence table."); in TEST_F()
590 new MinikinFontForTest(testCase.fontPath)); in TEST_F()
DFontCollectionItemizeTest.cpp70 return ((MinikinFontForTest*)run.fakedFont.font)->fontPath(); in getFontPath()