Home
last modified time | relevance | path

Searched refs:GetResLocale (Results 1 - 8 of 8) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dres_config_impl.cpp98 const ResLocale *ResConfigImpl::GetResLocale() const in GetResLocale() function in OHOS::Global::Resource::ResConfigImpl
130 if (this->GetResLocale() != nullptr && other.GetLocaleInfo() != nullptr) { in CopyLocale()
132 this->GetResLocale()->GetLanguage(), in CopyLocale()
133 this->GetResLocale()->GetScript(), this->GetResLocale()->GetRegion()); in CopyLocale()
187 if (!(LocaleMatcher::Match(this->resLocale_, other->GetResLocale()))) { in Match()
217 LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
218 request->GetResLocale()); in IsMoreSuitable()
284 this->GetResLocale(), in IsMoreSpecificThan()
[all...]
H A Dhap_manager.cpp57 if (this->resConfig_ == nullptr || this->resConfig_->GetResLocale() == nullptr || in GetPluralRulesAndSelect()
58 this->resConfig_->GetResLocale()->GetLanguage() == nullptr) { in GetPluralRulesAndSelect()
62 std::string language = this->resConfig_->GetResLocale()->GetLanguage(); in GetPluralRulesAndSelect()
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_config_impl.cpp237 const ResLocale *ResConfigImpl::GetResLocale() const in GetResLocale() function in OHOS::Global::Resource::ResConfigImpl
427 if (!LocaleMatcher::Match(this->resPreferredLocale_, other->GetResLocale())) { in Match()
433 if (!isPreferredLocaleMatch && !(LocaleMatcher::Match(this->resLocale_, other->GetResLocale()))) { in Match()
528 int8_t preferredResult = LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
535 int8_t result = LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
536 request->GetResLocale()); in IsMoreSuitable()
702 this->GetResLocale(), in IsMoreSpecificThan()
703 (other == nullptr) ? nullptr : other->GetResLocale()); in IsMoreSpecificThan()
[all...]
H A Dhap_manager.cpp116 if (config == nullptr || config->GetResLocale() == nullptr || in GetPluralRulesAndSelect()
117 config->GetResLocale()->GetLanguage() == nullptr) { in GetPluralRulesAndSelect()
121 std::string language = config->GetResLocale()->GetLanguage(); in GetPluralRulesAndSelect()
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dres_config_impl.h76 const ResLocale *GetResLocale() const;
/base/global/resource_management/frameworks/resmgr/include/
H A Dres_config_impl.h120 const ResLocale *GetResLocale() const;
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dhap_parser.cpp297 if (!LocaleMatcher::Match(defaultConfig->GetResLocale(), config->GetResLocale())) { in IsLocaleMatch()
/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dstring_utils.cpp180 const ResLocale *resLocale = resConfig.GetResLocale(); in LocalizeNumber()

Completed in 7 milliseconds