Home
last modified time | relevance | path

Searched refs:resConfig_ (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dhap_manager.cpp30 : resConfig_(resConfig) in HapManager()
57 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()
132 const ResConfigImpl *currentResConfig = this->resConfig_; in FindQualifierValueByName()
136 if (!this->resConfig_->Match(resConfig)) { in FindQualifierValueByName()
164 const ResConfigImpl *currentResConfig = this->resConfig_; in FindQualifierValueById()
168 if (!this->resConfig_->Match(resConfig)) { in FindQualifierValueById()
187 this->resConfig_->Copy(resConfig); in UpdateResConfig()
199 resConfig.Copy(*(this->resConfig_)); in GetResConfig()
[all …]
H A Dhap_resource.cpp46 delete (resConfig_); in ~ValueUnderQualifierDir()
51 resConfig_ = HapParser::CreateResConfigFromKeyParams(keyParams_); in InitResConfig()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dhap_resource.h89 return resConfig_; in GetResConfig()
114 ResConfigImpl *resConfig_; variable
H A Dhap_manager.h114 ResConfigImpl *resConfig_; variable
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_manager.cpp68 : resConfig_(resConfig), isSystem_(isSystem) in HapManager()
207 return this->resConfig_; in getCompleteOverrideConfig()
211 if (!completeOverrideConfig || !this->resConfig_ || !this->overrideResConfig_) { in getCompleteOverrideConfig()
216 if (!completeOverrideConfig->Copy(*this->resConfig_, true)) { in getCompleteOverrideConfig()
351 this->resConfig_->Copy(resConfig); in UpdateResConfig()
365 resConfig.Copy(*(this->resConfig_), true); in GetResConfig()
390 resConfig_, isSystem_); in AddResource()
498 …const std::shared_ptr<HapResource> pResource = HapResource::Load(path, resConfig_, isSystem_, fals… in AddResourcePath()
517 const auto pResource = HapResource::Load(iter->first.c_str(), resConfig_); in ReloadAll()
526 iter->first.c_str(), overlayPaths, resConfig_); in ReloadAll()
H A Dhap_resource.cpp54 resConfig_ = resKey->resConfig_; in ValueUnderQualifierDir()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dresource_adapter_impl_v2.cpp148 resConfig_ = resConfig; in ResourceAdapterImplV2()
165 resConfig_ = resConfig; in Init()
199 auto needUpdateResConfig = NeedUpdateResConfig(resConfig_, resConfig) || themeFlag; in UpdateConfig()
203 resConfig_ = resConfig; in UpdateConfig()
854 CHECK_NULL_RETURN(resConfig_, ColorMode::LIGHT); in GetResourceColorMode()
855 …if (resConfig_->GetColorMode() == OHOS::Global::Resource::ColorMode::DARK && !resConfig_->GetAppCo… in GetResourceColorMode()
859 …return resConfig_->GetColorMode() == OHOS::Global::Resource::ColorMode::DARK ? ColorMode::DARK : C… in GetResourceColorMode()
H A Dresource_adapter_impl.cpp157 resConfig_ = resConfig; in Init()
175 resConfig_ = resConfig; in UpdateConfig()
653 if (resourceManager_ && resConfig_ != nullptr) { in UpdateResourceManager()
654 resourceManager_->UpdateResConfig(*resConfig_); in UpdateResourceManager()
H A Dresource_adapter_impl.h93 std::shared_ptr<Global::Resource::ResConfig> resConfig_; variable
H A Dresource_adapter_impl_v2.h102 std::shared_ptr<Global::Resource::ResConfig> resConfig_; variable
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_resource.h163 return resConfig_; in GetResConfig()
209 std::shared_ptr<ResConfigImpl> resConfig_; variable
H A Dres_desc.h210 std::shared_ptr<ResConfigImpl> resConfig_; variable
H A Dhap_manager.h409 std::shared_ptr<ResConfigImpl> resConfig_; variable
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp633 key->resConfig_ = HapParser::CreateResConfigFromKeyParams(key->keyParams_); in ParseKey()
635 !options->defaultConfig->Match(key->resConfig_, false))) { in ParseKey()