Home
last modified time | relevance | path

Searched refs:ThemeConfig (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dtheme_pack_config.cpp22 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 &resCo… in Match()
56 bool ThemeConfig::BestMatch(const std::shared_ptr<ThemeConfig> &themeConfig, const ResConfigImpl &r… in BestMatch()
72 bool ThemeConfig::IsMoreMatchThan(const std::shared_ptr<ThemeConfig> &themeConfig) const in IsMoreMatchThan()
H A Dtheme_pack_resource.cpp49 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 Dtheme_pack_manager.cpp253 std::shared_ptr<ThemeConfig> bestThemeConfig = nullptr; in GetBestMatchThemeResource()
261 if (!ThemeConfig::Match(themeConfig, resConfig)) { in GetBestMatchThemeResource()
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dtheme_config_test.cpp40 std::shared_ptr<ThemeConfig> themeConfig;
57 this->themeConfig = std::make_shared<ThemeConfig>(); in SetUp()
222 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>();
245 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>();
269 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>();
288 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>();
311 std::shared_ptr<ThemeConfig> otherThemeConfig = std::make_shared<ThemeConfig>();
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dtheme_pack_config.h25 class ThemeConfig {
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) co…
70 bool IsMoreMatchThan(const std::shared_ptr<ThemeConfig> &themeConfig) const;
H A Dtheme_pack_resource.h73 inline const std::shared_ptr<ThemeConfig> GetThemeConfig() const in GetThemeConfig()
82 ThemeQualifierValue(const ThemeKey themeKey, std::shared_ptr<ThemeConfig> themeConfig,
87 std::shared_ptr<ThemeConfig> themeConfig_;
170 std::shared_ptr<ThemeConfig> themeConfig, const std::string &resTypeStr);