Searched refs:ThemeConfig (Results 1 - 6 of 6) sorted by relevance
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | theme_pack_config.cpp | 22 ThemeConfig::ThemeConfig() : themeDirection_(DIRECTION_NOT_SET), themeColorMode_(COLOR_MODE_NOT_SET) {} in ThemeConfig() function in OHOS::Global::Resource::ThemeConfig 24 void ThemeConfig::SetThemeDirection(Direction direction) in SetThemeDirection() 29 void ThemeConfig::SetThemeColorMode(ColorMode colorMode) in SetThemeColorMode() 34 bool ThemeConfig::Match(const std::shared_ptr<ThemeConfig> &themeConfig, const ResConfigImpl &resConfig) in Match() 56 bool ThemeConfig::BestMatch(const std::shared_ptr<ThemeConfig> &themeConfig, const ResConfigImpl &resConfig) const in BestMatch() 72 bool ThemeConfig::IsMoreMatchThan(const std::shared_ptr<ThemeConfig> [all...] |
H A D | theme_pack_resource.cpp | 49 std::shared_ptr<ThemeConfig> themeConfig, const std::string &value) : themeKey_(themeKey), in ThemeQualifierValue() 81 std::shared_ptr<ThemeConfig> GetThemeConfig(const std::string &iconPath) in GetThemeConfig() 83 auto themeConfig = std::make_shared<ThemeConfig>(); in GetThemeConfig() 109 std::shared_ptr<ThemeConfig> themeConfig, const std::string &resTypeStr) in InitThemeRes()
|
H A D | theme_pack_manager.cpp | 252 std::shared_ptr<ThemeConfig> bestThemeConfig = nullptr; in GetBestMatchThemeResource() 260 if (!ThemeConfig::Match(themeConfig, resConfig)) { in GetBestMatchThemeResource()
|
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | theme_pack_config.h | 25 class ThemeConfig { class 27 ThemeConfig(); 59 static bool Match(const std::shared_ptr<ThemeConfig> &themeConfig, const ResConfigImpl &resConfig); 68 bool BestMatch(const std::shared_ptr<ThemeConfig> &themeConfig, const ResConfigImpl &resConfig) const; 70 bool IsMoreMatchThan(const std::shared_ptr<ThemeConfig> &themeConfig) const;
|
H A D | theme_pack_resource.h | 74 inline const std::shared_ptr<ThemeConfig> GetThemeConfig() const in GetThemeConfig() 83 ThemeQualifierValue(const ThemeKey themeKey, std::shared_ptr<ThemeConfig> themeConfig, 88 std::shared_ptr<ThemeConfig> themeConfig_; 171 std::shared_ptr<ThemeConfig> themeConfig, const std::string &resTypeStr);
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | theme_config_test.cpp | 40 std::shared_ptr<ThemeConfig> themeConfig; 57 this->themeConfig = std::make_shared<ThemeConfig>(); in SetUp() 222 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>(); in HWTEST_F() 245 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>(); in HWTEST_F() 269 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>(); in HWTEST_F() 288 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>(); in HWTEST_F() [all...] |
Completed in 7 milliseconds