Home
last modified time | relevance | path

Searched refs:ThemeConstants (Results 1 – 25 of 112) sorted by relevance

12345

/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_theme_constants.cpp26 void ThemeConstants::InitDeviceType() in InitDeviceType()
35 Color ThemeConstants::GetColor(uint32_t key) const in GetColor()
45 Dimension ThemeConstants::GetDimension(uint32_t key) const in GetDimension()
55 int32_t ThemeConstants::GetInt(uint32_t key) const in GetInt()
65 double ThemeConstants::GetDouble(uint32_t key) const in GetDouble()
75 std::string ThemeConstants::GetString(uint32_t key) const in GetString()
105 std::string ThemeConstants::GetMediaPath(uint32_t key) const in GetMediaPath()
130 bool ThemeConstants::GetBoolean(uint32_t key) const in GetBoolean()
175 void ThemeConstants::LoadTheme(int32_t themeId) in LoadTheme()
179 void ThemeConstants::ParseTheme() in ParseTheme()
[all …]
H A Dmock_icon_theme.cpp22 RefPtr<IconTheme> IconTheme::Builder::Build(const RefPtr<ThemeConstants>& /* themeConstants */) con… in Build()
28 const RefPtr<ThemeConstants>& themeConstants, const RefPtr<IconTheme>& theme) const in ParsePattern()
H A Dmock_theme_manager.h32 MOCK_METHOD(RefPtr<ThemeConstants>, GetThemeConstants, (), (const));
33 MOCK_METHOD(RefPtr<ThemeConstants>, GetThemeConstants,
H A Dmock_theme_utils.cpp20 IdParseResult ThemeUtils::ParseThemeIdReference(const std::string& str, const RefPtr<ThemeConstants in ParseThemeIdReference()
32 std::string ThemeUtils::ProcessImageSource(const std::string& imageSrc, const RefPtr<ThemeConstants in ProcessImageSource()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp61 void ThemeConstants::InitDeviceType() in InitDeviceType()
71 return ThemeConstants::styleMapWatch[key]; in GetPlatformConstants()
76 return ThemeConstants::styleMapTv[key]; in GetPlatformConstants()
79 if (key < ThemeConstants::DefaultMapCount) { in GetPlatformConstants()
80 return ThemeConstants::styleMapDefault[key]; in GetPlatformConstants()
85 Color ThemeConstants::GetColor(uint32_t key) const in GetColor()
148 int32_t ThemeConstants::GetInt(uint32_t key) const in GetInt()
448 return ThemeConstants::GetDouble(*idPtr); in GetBlendAlpha()
453 void ThemeConstants::LoadTheme(int32_t themeId) in LoadTheme()
464 void ThemeConstants::ParseTheme() in ParseTheme()
[all …]
H A Dtheme_utils.h26 class ThemeConstants; variable
43 const RefPtr<ThemeConstants>& themeConstants = nullptr);
48 …static std::string ProcessImageSource(const std::string& imageSrc, const RefPtr<ThemeConstants>& t…
H A Dtheme_manager_impl.h72 RefPtr<ThemeConstants> GetThemeConstants( in GetThemeConstants()
79 RefPtr<ThemeConstants> GetThemeConstants() const override in GetThemeConstants()
105 RefPtr<ThemeConstants> themeConstants_;
H A Dtheme_constants.h36 class ACE_FORCE_EXPORT ThemeConstants : public AceType {
37 DECLARE_ACE_TYPE(ThemeConstants, AceType);
40 … explicit ThemeConstants(RefPtr<ResourceAdapter> resourceAdapter) : resAdapter_(resourceAdapter) {} in ThemeConstants() function
41 ~ThemeConstants() override = default;
398 ACE_DISALLOW_COPY_AND_MOVE(ThemeConstants);
H A Dicon_theme.h36 RefPtr<IconTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const;
39 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<IconTheme>& theme) co…
H A Dtheme_manager.h46 virtual RefPtr<ThemeConstants> GetThemeConstants(
49 virtual RefPtr<ThemeConstants> GetThemeConstants() const = 0;
H A Dtheme_manager_impl.cpp78 RefPtr<Theme> ThemeBuildFunc(const RefPtr<ThemeConstants>& themeConstants) in ThemeBuildFunc()
83 const std::unordered_map<ThemeType, RefPtr<Theme>(*)(const RefPtr<ThemeConstants>& themeConstants)>…
152 themeConstants_ = AceType::MakeRefPtr<ThemeConstants>(resAdapter); in ThemeManagerImpl()
157 themeConstants_ = AceType::MakeRefPtr<ThemeConstants>(resourceAdapter); in ThemeManagerImpl()
H A Dcard_theme.h36 RefPtr<CardTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
47 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CardTheme>& theme) co… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimation_util.h54 const RefPtr<Declaration>& declaration, const RefPtr<ThemeConstants> themeConstants);
62 RefPtr<ThemeConstants> GetThemeConstants() const;
97 RefPtr<ThemeConstants> themeConstants_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Dcheckable_theme.h216 RefPtr<CheckboxTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
228 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CheckboxTheme>& theme… in ParsePattern()
275 …void SetCheckboxSize(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CheckboxTheme>& th… in SetCheckboxSize()
318 RefPtr<SwitchTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
330 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<SwitchTheme>& theme) … in ParsePattern()
420 RefPtr<RadioTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
431 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<RadioTheme>& theme) c… in ParsePattern()
479 …void SetRadioSize(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<RadioTheme>& theme) c… in SetRadioSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_theme.h40 RefPtr<FormTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
52 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<FormTheme>& theme) co… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/semi_modal/
H A Dsemi_modal_theme.h35 RefPtr<SemiModalTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
46 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<SemiModalTheme>& them… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Dimage_theme.h40 RefPtr<ImageTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
53 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<ImageTheme>& theme) c… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/drag_bar/
H A Ddrag_bar_theme.h35 RefPtr<DragBarTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
57 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<DragBarTheme>& theme)… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/
H A Dside_bar_theme.h37 RefPtr<SideBarTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
49 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<SideBarTheme>& theme)… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_item_theme.h42 RefPtr<GridItemTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
53 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<GridItemTheme>& theme… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_theme.h38 RefPtr<ListTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
48 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<ListTheme>& theme) co… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/hyperlink/
H A Dhyperlink_theme.h40 RefPtr<HyperlinkTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
53 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<HyperlinkTheme>& them… in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Dqrcode_theme.h45 RefPtr<QrcodeTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
55 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<QrcodeTheme>& theme) … in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_theme.h137 RefPtr<CalendarTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
149 …void ParseCardTheme(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CalendarTheme>& the… in ParseCardTheme()
185 …void ParseNormalTheme(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CalendarTheme>& t… in ParseNormalTheme()
237 void ParseCalenderPickerFirstPart(const RefPtr<ThemeConstants>& themeConstants, in ParseCalenderPickerFirstPart()
280 void ParseCalenderPickerSecondPart(const RefPtr<ThemeConstants>& themeConstants, in ParseCalenderPickerSecondPart()
317 void ParseCalenderPickerThirdPart(const RefPtr<ThemeConstants>& themeConstants, in ParseCalenderPickerThirdPart()
352 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CalendarTheme>& theme… in ParsePattern()
369 void ParseCalendarThemePattern(const RefPtr<ThemeConstants>& themeConstants, in ParseCalendarThemePattern()
422 void ParseCardCalendarThemePattern(const RefPtr<ThemeConstants>& themeConstants, in ParseCardCalendarThemePattern()
471 …void ParseNewPattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CalendarTheme>& th… in ParseNewPattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/refresh/
H A Drefresh_theme.h40 RefPtr<RefreshTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build()
50 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<RefreshTheme>& theme)… in ParsePattern()

12345