Home
last modified time | relevance | path

Searched refs:resKey (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp45 HapResource::ValueUnderQualifierDir::ValueUnderQualifierDir(const std::shared_ptr<ResKey> &resKey, in ValueUnderQualifierDir() argument
49 keyParams_ = resKey->keyParams_; in ValueUnderQualifierDir()
54 resConfig_ = resKey->resConfig_; in ValueUnderQualifierDir()
325 bool HapResource::InitMap(const std::shared_ptr<ResKey> &resKey, const std::pair<std::string, std::… in InitMap() argument
328 for (size_t j = 0; j < resKey->resId_->idParams_.size(); ++j) { in InitMap()
329 std::shared_ptr<IdParam> idParam = resKey->resId_->idParams_[j]; in InitMap()
338 auto limitPath = std::make_shared<HapResource::ValueUnderQualifierDir>(resKey, in InitMap()
354 auto limitPath = std::make_shared<HapResource::ValueUnderQualifierDir>(resKey, in InitMap()
375 const auto resKey = resDesc_->keys_[i]; in InitIdList() local
376 if (!HapResource::InitMap(resKey, resPath, defaultConfig)) { in InitIdList()
H A Dtheme_pack_resource.cpp84 std::string resKey = GetResKey(iconPath); in GetThemeConfig() local
85 if (resKey == "dark") { in GetThemeConfig()
87 } else if (resKey == "horizontal") { in GetThemeConfig()
89 } else if (resKey == "horizontal-dark") { in GetThemeConfig()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dhap_resource.cpp172 ResKey *resKey = resDesc_->keys_[i]; in InitIdList() local
174 for (size_t j = 0; j < resKey->resId_->idParams_.size(); ++j) { in InitIdList()
175 IdParam *idParam = resKey->resId_->idParams_[j]; in InitIdList()
185 …new (std::nothrow) HapResource::ValueUnderQualifierDir(resKey->keyParams_, idParam->idItem_, this); in InitIdList()
198 …new (std::nothrow) HapResource::ValueUnderQualifierDir(resKey->keyParams_, idParam->idItem_, this); in InitIdList()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_resource.h195 …ValueUnderQualifierDir(const std::shared_ptr<ResKey> &resKey, const std::shared_ptr<IdItem> &idIte…
310 …bool InitMap(const std::shared_ptr<ResKey> &resKey, const std::pair<std::string, std::string> &res…