Home
last modified time | relevance | path

Searched refs:fontType (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_text_font_descriptor_test.cpp140 OH_Drawing_SystemFontType fontType = OH_Drawing_SystemFontType(0b10000); in HWTEST_F() local
141 OH_Drawing_Array *fontList = OH_Drawing_GetSystemFontFullNamesByType(fontType); in HWTEST_F()
144 OH_Drawing_FontDescriptor *descriptor = OH_Drawing_GetFontDescriptorByFullName(nullptr, fontType); in HWTEST_F()
181 OH_Drawing_SystemFontType fontType = OH_Drawing_SystemFontType::INSTALLED; in HWTEST_F() local
182 OH_Drawing_Array *fontList = OH_Drawing_GetSystemFontFullNamesByType(fontType); in HWTEST_F()
189 OH_Drawing_FontDescriptor *descriptor = OH_Drawing_GetFontDescriptorByFullName(fontFullName, fontType); in HWTEST_F()
206 OH_Drawing_SystemFontType fontType = OH_Drawing_SystemFontType::STYLISH; in HWTEST_F() local
207 OH_Drawing_Array *fontList = OH_Drawing_GetSystemFontFullNamesByType(fontType); in HWTEST_F()
214 OH_Drawing_FontDescriptor *descriptor = OH_Drawing_GetFontDescriptorByFullName(fontFullName, fontType); in HWTEST_F()
228 OH_Drawing_SystemFontType fontType in HWTEST_F() local
254 OH_Drawing_SystemFontType fontType = OH_Drawing_SystemFontType(INSTALLED | STYLISH); HWTEST_F() local
276 OH_Drawing_SystemFontType fontType = OH_Drawing_SystemFontType(ALL | STYLISH); HWTEST_F() local
298 OH_Drawing_SystemFontType fontType = OH_Drawing_SystemFontType::GENERIC; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_descriptor_cache.cpp193 bool FontDescriptorCache::ProcessSystemFontType(const int32_t& systemFontType, int32_t& fontType) in ProcessSystemFontType() argument
202 fontType = systemFontType; in ProcessSystemFontType()
204 fontType = TextEngine::FontParser::SystemFontType::GENERIC | in ProcessSystemFontType()
214 int32_t fontType; in GetSystemFontFullNamesByType() local
215 if (!ProcessSystemFontType(systemFontType, fontType)) { in GetSystemFontFullNamesByType()
220 if (fontType & TextEngine::FontParser::SystemFontType::GENERIC) { in GetSystemFontFullNamesByType()
225 if (fontType & TextEngine::FontParser::SystemFontType::STYLISH) { in GetSystemFontFullNamesByType()
230 if (fontType & TextEngine::FontParser::SystemFontType::INSTALLED) { in GetSystemFontFullNamesByType()
274 int32_t fontType; in GetFontDescSharedPtrByFullName() local
275 if (!ProcessSystemFontType(systemFontType, fontType)) { in GetFontDescSharedPtrByFullName()
[all...]
H A Dfont_descriptor_cache.h47 bool ProcessSystemFontType(const int32_t& systemFontType, int32_t& fontType);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_font_descriptor.cpp132 OH_Drawing_SystemFontType fontType) in OH_Drawing_GetFontDescriptorByFullName()
137 auto systemFontType = static_cast<int32_t>(fontType); in OH_Drawing_GetFontDescriptorByFullName()
165 OH_Drawing_Array* OH_Drawing_GetSystemFontFullNamesByType(OH_Drawing_SystemFontType fontType) in OH_Drawing_GetSystemFontFullNamesByType() argument
167 auto systemFontType = static_cast<int32_t>(fontType); in OH_Drawing_GetSystemFontFullNamesByType()
131 OH_Drawing_GetFontDescriptorByFullName(const OH_Drawing_String* fullName, OH_Drawing_SystemFontType fontType) OH_Drawing_GetFontDescriptorByFullName() argument

Completed in 4 milliseconds