/base/global/resource_management/frameworks/resmgr/src/ |
H A D | theme_pack_resource.cpp | 196 std::string iconName = iconPath.substr(pos2 + 1, pos1 - pos2 - 1); in ParseIcon() local 198 ThemeKey themeKey = ThemeKey(bundleName, moduleName, ResType::MEDIA, iconName); in ParseIcon() 201 themeValueVec_.emplace_back(std::make_tuple(ResType::MEDIA, iconName, themeValue)); in ParseIcon() 340 std::string iconName = path.substr(pos2 + 1, pos1 - pos2 - 1); in LoadThemeIconResource() local 347 ThemeKey themeKey = ThemeKey(bundleName, dynamicBundle, ResType::MEDIA, iconName); in LoadThemeIconResource() 354 ThemeKey themeKey = ThemeKey(bundleName, "", ResType::MEDIA, iconName); in LoadThemeIconResource() 361 ThemeKey themeKey = ThemeKey(bundleName, "", ResType::MEDIA, iconName); in LoadThemeIconResource() 367 ThemeKey themeKey = ThemeKey(bundleName, "", ResType::MEDIA, iconName, abilityName); in LoadThemeIconResource() 374 const std::string &iconName, const std::string &abilityName) in GetThemeAppIcon() 376 std::string iconPath = GetThemeAppIconByAbilityName(bundleInfo, iconName, abilityNam in GetThemeAppIcon() 373 GetThemeAppIcon(const std::pair<std::string, std::string> &bundleInfo, const std::string &iconName, const std::string &abilityName) GetThemeAppIcon() argument 395 GetThemeAppIconByAbilityName(const std::pair<std::string, std::string> &bundleInfo, const std::string &iconName, const std::string &abilityName) GetThemeAppIconByAbilityName() argument [all...] |
H A D | theme_pack_manager.cpp | 323 const std::string &iconName, const std::string &abilityName) in FindThemeIconResource() 332 result = pThemeResource->GetThemeAppIcon(bundleInfo, iconName, abilityName); in FindThemeIconResource() 377 RState ThemePackManager::GetOtherIconsInfo(const std::string &iconName, in GetOtherIconsInfo() argument 383 if (iconName.find("icon_mask") != std::string::npos && isGlobalMask) { in GetOtherIconsInfo() 385 iconTag = "global_" + iconName; in GetOtherIconsInfo() 389 iconPath = FindThemeIconResource(bundleInfo, iconName); in GetOtherIconsInfo() 390 iconTag = "other_icons_" + iconName; in GetOtherIconsInfo() 394 RESMGR_HILOGE(RESMGR_TAG, "no found, iconName = %{public}s", iconName.c_str()); in GetOtherIconsInfo() 403 RESMGR_HILOGE(RESMGR_TAG, "save fail, iconName in GetOtherIconsInfo() 322 FindThemeIconResource(const std::pair<std::string, std::string> &bundleInfo, const std::string &iconName, const std::string &abilityName) FindThemeIconResource() argument [all...] |
H A D | resource_manager_impl.cpp | 1394 std::string iconName = idItem->GetItemResName(); in GetThemeIcon() local 1395 std::string result = ThemePackManager::GetThemePackManager()->FindThemeIconResource(bundleInfo, iconName); in GetThemeIcon() 1398 "GetThemeIcon FAILED bundlename = %{public}s, modulename = %{public}s, iconName = %{public}s", in GetThemeIcon() 1399 bundleInfo.first.c_str(), bundleInfo.second.c_str(), iconName.c_str()); in GetThemeIcon() 1631 RState ResourceManagerImpl::GetThemeIconInfo(const std::string &iconName, size_t &len, in GetThemeIconInfo() argument 1635 bundleInfo, iconName, abilityName); in GetThemeIconInfo() 1676 RState ResourceManagerImpl::GetOtherIconsInfo(const std::string &iconName, in GetOtherIconsInfo() argument 1680 if (iconName.find("icon_mask") != std::string::npos && isGlobalMask) { in GetOtherIconsInfo() 1681 iconTag = "global_" + iconName; in GetOtherIconsInfo() 1683 iconTag = "other_icons_" + iconName; in GetOtherIconsInfo() [all...] |
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | theme_pack_manager.h | 104 * @param iconName the icon resource name 109 const std::string &iconName, const std::string &abilityName = ""); 133 * @param iconName the icon name 139 RState GetOtherIconsInfo(const std::string &iconName,
|
H A D | resource_manager_impl.h | 676 * @param iconName the icon name 682 virtual RState GetOtherIconsInfo(const std::string &iconName, 793 RState GetThemeIconInfo(const std::string &iconName, size_t &len, std::unique_ptr<uint8_t[]> &outValue,
|
/base/global/resource_management/interfaces/inner_api/include/ |
H A D | resource_manager.h | 221 virtual RState GetOtherIconsInfo(const std::string &iconName,
|