Searched refs:resConfig_ (Results 1 – 14 of 14) sorted by relevance
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | hap_manager.cpp | 30 : 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 D | hap_resource.cpp | 46 delete (resConfig_); in ~ValueUnderQualifierDir() 51 resConfig_ = HapParser::CreateResConfigFromKeyParams(keyParams_); in InitResConfig()
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | hap_resource.h | 89 return resConfig_; in GetResConfig() 114 ResConfigImpl *resConfig_; variable
|
H A D | hap_manager.h | 114 ResConfigImpl *resConfig_; variable
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_manager.cpp | 68 : 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 D | hap_resource.cpp | 54 resConfig_ = resKey->resConfig_; in ValueUnderQualifierDir()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl_v2.cpp | 148 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 D | resource_adapter_impl.cpp | 157 resConfig_ = resConfig; in Init() 175 resConfig_ = resConfig; in UpdateConfig() 653 if (resourceManager_ && resConfig_ != nullptr) { in UpdateResourceManager() 654 resourceManager_->UpdateResConfig(*resConfig_); in UpdateResourceManager()
|
H A D | resource_adapter_impl.h | 93 std::shared_ptr<Global::Resource::ResConfig> resConfig_; variable
|
H A D | resource_adapter_impl_v2.h | 102 std::shared_ptr<Global::Resource::ResConfig> resConfig_; variable
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | hap_resource.h | 163 return resConfig_; in GetResConfig() 209 std::shared_ptr<ResConfigImpl> resConfig_; variable
|
H A D | res_desc.h | 210 std::shared_ptr<ResConfigImpl> resConfig_; variable
|
H A D | hap_manager.h | 409 std::shared_ptr<ResConfigImpl> resConfig_; variable
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | hap_parser.cpp | 633 key->resConfig_ = HapParser::CreateResConfigFromKeyParams(key->keyParams_); in ParseKey() 635 !options->defaultConfig->Match(key->resConfig_, false))) { in ParseKey()
|