Home
last modified time | relevance | path

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

/frameworks/minikin/tests/util/
DFontTestUtils.cpp83 const std::string fontPath = xmlTrim(fontDir + std::string((const char*)fontFileName)); in getFontFamilies() local
88 if (access(fontPath.c_str(), R_OK) != 0) { in getFontFamilies()
89 ALOGW("%s is not found.", fontPath.c_str()); in getFontFamilies()
96 std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in getFontFamilies()
100 std::make_shared<FreeTypeMinikinFontForTest>(fontPath, in getFontFamilies()
DFreeTypeMinikinFontForTest.h46 const std::string& fontPath() const { return mFontPath; } in fontPath() function
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp35 const std::string& fontPath = GetParam().first; in TEST_P() local
38 auto font = std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in TEST_P()
61 << "Inconsistent Result: " << fontPath << "#" << ttcIndex << ": U+" << std::hex in TEST_P()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp91 ScopedUtfChars fontPath(env, filePath); in Font_Builder_build() local
116 std::string_view(fontPath.c_str(), fontPath.size()), in Font_Builder_build()
/frameworks/base/rs/java/android/renderscript/
DFont.java243 String fontPath = Environment.getRootDirectory().getAbsolutePath(); in create() local
244 fontPath += "/fonts/" + fileName; in create()
245 return createFromFile(rs, res, fontPath, pointSize); in create()
/frameworks/minikin/tests/unittest/
DLayoutCoreTest.cpp38 for (const auto& fontPath : fonts) { in buildLayout() local
39 families.push_back(buildFontFamily(fontPath)); in buildLayout()
50 for (const auto& fontPath : fonts) { in buildLayout() local
51 families.push_back(buildFontFamily(fontPath)); in buildLayout()
DFontFamilyTest.cpp552 const std::string fontPath; in TEST_F() member
560 SCOPED_TRACE(testCase.hasVSTable ? "Font " + testCase.fontPath + in TEST_F()
562 : "Font " + testCase.fontPath + in TEST_F()
565 std::shared_ptr<FontFamily> family = buildFontFamily(testCase.fontPath); in TEST_F()
DFontCollectionItemizeTest.cpp107 ((FreeTypeMinikinFontForTest*)run.fakedFont.font->typeface().get())->fontPath()); in getFontName()