/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/ |
D | UpdatableSystemFontTest.java | 168 String fontPath = getFontPath(NOTO_COLOR_EMOJI_POSTSCRIPT_NAME); in updateFont() local 169 assertThat(fontPath).startsWith(DATA_FONTS_DIR); in updateFont() 177 expectCommandToSucceed("dd status=none if=" + fontPath + " of=/dev/null"); in updateFont() 178 expectCommandToFail("dd status=none if=" + CERT_PATH + " of=" + fontPath); in updateFont() 186 String fontPath = getFontPath(NOTO_COLOR_EMOJI_POSTSCRIPT_NAME); in updateFont_twice() local 192 assertThat(fontPath2).isNotEqualTo(fontPath); in updateFont_twice() 196 expectCommandToSucceed("dd status=none if=" + fontPath + " of=/dev/null"); in updateFont_twice() 205 String fontPath = getFontPath(NOTO_COLOR_EMOJI_POSTSCRIPT_NAME); in updateFont_allowSameVersion() local 215 assertThat(fontPath).startsWith(DATA_FONTS_DIR); in updateFont_allowSameVersion() 216 assertThat(fontPath2).isNotEqualTo(fontPath); in updateFont_allowSameVersion() [all …]
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.cpp | 83 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()
|
D | FreeTypeMinikinFontForTest.cpp | 120 std::string fontPath(reader.readString()); in loadFreeTypeMinikinFontForTest() local 121 return std::make_shared<FreeTypeMinikinFontForTest>(fontPath); in loadFreeTypeMinikinFontForTest()
|
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 35 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/rs/java/android/renderscript/ |
D | Font.java | 245 String fontPath = Environment.getRootDirectory().getAbsolutePath(); in create() local 246 fontPath += "/fonts/" + fileName; in create() 247 return createFromFile(rs, res, fontPath, pointSize); in create()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 38 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()
|
D | FontFamilyTest.cpp | 617 const std::string fontPath; in TEST_F() member 625 SCOPED_TRACE(testCase.hasVSTable ? "Font " + testCase.fontPath + in TEST_F() 627 : "Font " + testCase.fontPath + in TEST_F() 630 std::shared_ptr<FontFamily> family = buildFontFamily(testCase.fontPath); in TEST_F()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.h | 33 sk_sp<SkData>&& data, std::string_view fontPath, const void *fontPtr, size_t fontSize,
|
D | Font.cpp | 99 ScopedUtfChars fontPath(env, filePath); in Font_Builder_build() local 105 std::move(data), std::string_view(fontPath.c_str(), fontPath.size()), in Font_Builder_build() 448 sk_sp<SkData>&& data, std::string_view fontPath, const void *fontPtr, size_t fontSize, in createMinikinFontSkia() argument 467 fontPath, ttcIndex, axes); in createMinikinFontSkia()
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 223 std::string_view fontPath = reader.readString(); in loadMinikinFontSkia() local 224 std::string path(fontPath.data(), fontPath.size()); in loadMinikinFontSkia() 263 std::move(data), fontPath, fontPtr, fontSize, fontIndex, axes); in loadMinikinFontSkia()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 326 String fontPath = shell.getNextArg(); in update() local 327 if (fontPath == null) { in update() 339 try (ParcelFileDescriptor fontFd = shell.openFileForSystem(fontPath, "r"); in update()
|