Home
last modified time | relevance | path

Searched refs:systemFontType (Results 1 - 6 of 6) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_descriptor_mgr.cpp53 const int32_t& systemFontType, FontDescSharedPtr& result) in GetFontDescSharedPtrByFullName()
56 descCache_.GetFontDescSharedPtrByFullName(fullName, systemFontType, result); in GetFontDescSharedPtrByFullName()
60 const int32_t& systemFontType, std::unordered_set<std::string>& fontList) in GetSystemFontFullNamesByType()
63 descCache_.GetSystemFontFullNamesByType(systemFontType, fontList); in GetSystemFontFullNamesByType()
52 GetFontDescSharedPtrByFullName(const std::string& fullName, const int32_t& systemFontType, FontDescSharedPtr& result) GetFontDescSharedPtrByFullName() argument
59 GetSystemFontFullNamesByType( const int32_t& systemFontType, std::unordered_set<std::string>& fontList) GetSystemFontFullNamesByType() argument
H A Dfont_descriptor_mgr.h43 const int32_t& systemFontType, FontDescSharedPtr& result);
44 void GetSystemFontFullNamesByType(const int32_t& systemFontType, std::unordered_set<std::string>& fontList);
H A Dfont_descriptor_cache.cpp193 bool FontDescriptorCache::ProcessSystemFontType(const int32_t& systemFontType, int32_t& fontType) in ProcessSystemFontType() argument
195 if ((systemFontType & (TextEngine::FontParser::SystemFontType::ALL | in ProcessSystemFontType()
198 TextEngine::FontParser::SystemFontType::INSTALLED)) != systemFontType) { in ProcessSystemFontType()
199 TEXT_LOGE("SystemFontType is invalid, systemFontType: %{public}d", systemFontType); in ProcessSystemFontType()
202 fontType = systemFontType; in ProcessSystemFontType()
203 if (systemFontType & TextEngine::FontParser::SystemFontType::ALL) { in ProcessSystemFontType()
211 void FontDescriptorCache::GetSystemFontFullNamesByType(const int32_t& systemFontType, in GetSystemFontFullNamesByType() argument
215 if (!ProcessSystemFontType(systemFontType, fontType)) { in GetSystemFontFullNamesByType()
267 const int32_t& systemFontType, FontDescSharedPt in GetFontDescSharedPtrByFullName()
266 GetFontDescSharedPtrByFullName(const std::string& fullName, const int32_t& systemFontType, FontDescSharedPtr& result) GetFontDescSharedPtrByFullName() argument
[all...]
H A Dfont_descriptor_cache.h39 const int32_t& systemFontType, FontDescSharedPtr& result);
40 void GetSystemFontFullNamesByType(const int32_t& systemFontType, std::unordered_set<std::string>& fontList);
47 bool ProcessSystemFontType(const int32_t& systemFontType, int32_t& fontType);
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontdescriptor_napi/src/
H A Djs_fontdescriptor.cpp219 TextEngine::FontParser::SystemFontType systemFontType; in GetSystemFontFullNamesByType() member
234 NAPI_CHECK_ARGS(context, ConvertFromJsValue(env, argv[0], context->systemFontType), napi_invalid_arg, in GetSystemFontFullNamesByType()
235 TextErrorCode::ERROR_INVALID_PARAM, return, "Parameter systemFontType is invalid"); in GetSystemFontFullNamesByType()
241 FontDescriptorMgrInstance.GetSystemFontFullNamesByType(context->systemFontType, context->fontList); in GetSystemFontFullNamesByType()
272 TextEngine::FontParser::SystemFontType systemFontType; in GetFontDescriptorByFullName() member
289 NAPI_CHECK_ARGS(context, ConvertFromJsValue(env, argv[1], context->systemFontType), napi_invalid_arg, in GetFontDescriptorByFullName()
290 TextErrorCode::ERROR_INVALID_PARAM, return, "Parameter systemFontType is invalid"); in GetFontDescriptorByFullName()
297 context->fullName, context->systemFontType, context->resultDesc); in GetFontDescriptorByFullName()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_font_descriptor.cpp137 auto systemFontType = static_cast<int32_t>(fontType); in OH_Drawing_GetFontDescriptorByFullName() local
144 FontDescriptorMgrInstance.GetFontDescSharedPtrByFullName(fullNameString, systemFontType, result); in OH_Drawing_GetFontDescriptorByFullName()
167 auto systemFontType = static_cast<int32_t>(fontType); in OH_Drawing_GetSystemFontFullNamesByType() local
169 FontDescriptorMgrInstance.GetSystemFontFullNamesByType(systemFontType, fullNameList); in OH_Drawing_GetSystemFontFullNamesByType()

Completed in 4 milliseconds