Home
last modified time | relevance | path

Searched refs:fontMgr (Results 1 - 9 of 9) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/
H A Dfont_mgr_test.cpp163 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in HWTEST_F() local
164 EXPECT_NE(fontMgr, nullptr); in HWTEST_F()
169 int ret = fontMgr->GetFontFullName(fd, fullnameVec); in HWTEST_F()
185 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in HWTEST_F() local
186 EXPECT_NE(fontMgr, nullptr); in HWTEST_F()
191 int ret = fontMgr->GetFontFullName(fd, fullnameVec); in HWTEST_F()
207 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in HWTEST_F() local
208 EXPECT_NE(fontMgr, nullptr); in HWTEST_F()
213 int ret = fontMgr->GetFontFullName(fd, fullnameVec); in HWTEST_F()
229 std::shared_ptr<FontMgr> fontMgr in HWTEST_F() local
248 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); HWTEST_F() local
267 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); HWTEST_F() local
287 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); HWTEST_F() local
307 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); HWTEST_F() local
322 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font_mgr.cpp40 FontMgr* fontMgr = reinterpret_cast<FontMgr*>(drawingFontMgr); in CastToFontMgr() local
41 auto it = g_fontMgrMap.find(fontMgr); in CastToFontMgr()
50 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in OH_Drawing_FontMgrCreate() local
52 g_fontMgrMap.insert({ fontMgr.get(), fontMgr }); in OH_Drawing_FontMgrCreate()
53 return (OH_Drawing_FontMgr*)fontMgr.get(); in OH_Drawing_FontMgrCreate()
67 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); in OH_Drawing_FontMgrGetFamilyCount() local
68 if (fontMgr == nullptr) { in OH_Drawing_FontMgrGetFamilyCount()
71 return fontMgr->CountFamilies(); in OH_Drawing_FontMgrGetFamilyCount()
95 FontMgr* fontMgr in OH_Drawing_FontMgrGetFamilyName() local
119 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); OH_Drawing_FontMgrCreateFontStyleSet() local
147 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); OH_Drawing_FontMgrMatchFamily() local
164 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); OH_Drawing_FontMgrMatchFamilyStyle() local
186 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); OH_Drawing_FontMgrMatchFamilyStyleCharacter() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontmgr_fuzzer/
H A Dfontmgr_fuzzer.cpp74 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in FontMgrFuzzTest002() local
76 fontMgr->CreateStyleSet(index); in FontMgrFuzzTest002()
91 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontMgrFuzzTest003() local
114 fontMgr->LoadDynamicFont(str, dataText, dataLength); in FontMgrFuzzTest003()
137 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontMgrFuzzTest004() local
160 fontMgr->LoadDynamicFont(str, dataText, dataLength); in FontMgrFuzzTest004()
183 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontMgrFuzzTest005() local
224 fontMgr->LoadThemeFont(str, strTheme, dataText, dataLength); in FontMgrFuzzTest005()
251 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontMgrFuzzTest006() local
268 fontMgr in FontMgrFuzzTest006()
287 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); FontMgrFuzzTest007() local
316 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); FontMgrFuzzTest008() local
350 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); FontMgrFuzzTest009() local
368 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); FontMgrFuzzTest010() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dfont_collection_test.cpp42 std::shared_ptr<Drawing::FontMgr> fontMgr = fontCollection->GetFontMgr(); in HWTEST_F() local
43 EXPECT_EQ(fontMgr != nullptr, true); in HWTEST_F()
76 std::shared_ptr<Drawing::FontMgr> fontMgr = fontCollection->GetFontMgr(); in HWTEST_F() local
77 EXPECT_EQ(fontMgr != nullptr, true); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyleset_fuzzer/
H A Dfontstyleset_fuzzer.cpp44 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontStyleSetFuzzTest001() local
54 FontStyleSet* fontStyleSet = fontMgr->MatchFamily(familyName); in FontStyleSetFuzzTest001()
78 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontStyleSetFuzzTest002() local
88 FontStyleSet* fontStyleSet = fontMgr->MatchFamily(familyName); in FontStyleSetFuzzTest002()
/foundation/graphic/graphic_3d/lume/LumeFont/src/
H A Dfont_buffer.cpp24 FontBuffer::FontBuffer(FontManager* fontMgr, const uint64_t hash, BASE_NS::array_view<const uint8_t> bytes) in FontBuffer() argument
26 fontManager(BASE_NS::refcnt_ptr<FontManager>(fontMgr)) in FontBuffer()
H A Dfont_buffer.h33 FontBuffer(FontManager* fontMgr, uint64_t hash, BASE_NS::array_view<const uint8_t> bytes);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dfont.cpp202 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in GetFallbackFont() local
203 if (fontMgr == nullptr) { in GetFallbackFont()
204 LOGE("Font::GetFallbackFont, default fontMgr is nullptr."); in GetFallbackFont()
210 fallbackTypeface = std::shared_ptr<Typeface>(fontMgr->MatchFamilyStyleCharacter(nullptr, in GetFallbackFont()
214 fallbackTypeface = std::shared_ptr<Typeface>(fontMgr->MatchFamilyStyleCharacter(nullptr, defaultTypeface in GetFallbackFont()
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_descriptor_cache.cpp94 std::shared_ptr<Drawing::FontMgr> fontMgr = Drawing::FontMgr::CreateDynamicFontMgr(); in ParseInstalledConfigFile() local
100 return (fontMgr->ParseInstallFontConfig(fontPath, fontPathList) == Drawing::FontCheckCode::SUCCESSED); in ParseInstalledConfigFile()
105 std::shared_ptr<Drawing::FontMgr> fontMgr = Drawing::FontMgr::CreateDefaultFontMgr(); in ProcessInstalledFontPath() local
111 int ret = fontMgr->GetFontFullName(fd, fullNameVec); in ProcessInstalledFontPath()

Completed in 7 milliseconds