Home
last modified time | relevance | path

Searched refs:ThemeStyle (Results 1 – 25 of 81) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_style.h36 class ThemeStyle; variable
41 RefPtr<ThemeStyle>, RefPtr<StateResource>>;
81 class ThemeStyle : public virtual AceType {
82 DECLARE_ACE_TYPE(ThemeStyle, AceType);
88 ThemeStyle() = default;
89 ~ThemeStyle() override in ~ThemeStyle()
162 WeakPtr<ThemeStyle> parentStyle_;
H A Dblur_style_theme.h39 …void ParsePattern(const RefPtr<ThemeStyle>& themeStyle, const RefPtr<BlurStyleTheme>& theme) const;
40 …BlurParameter ParseBlurParam(const RefPtr<ThemeStyle>& themeStyle, const std::string& name, bool i…
H A Dtheme_constants.h330 RefPtr<ThemeStyle> GetThemeStyle() const in GetThemeStyle()
360 RefPtr<ThemeStyle> GetPatternByName(const std::string& patternName) in GetPatternByName()
367 auto patternStyle = currentThemeStyle_->GetAttr<RefPtr<ThemeStyle>>(patternName, nullptr); in GetPatternByName()
395 RefPtr<ThemeStyle> currentThemeStyle_;
H A Dshadow_theme.h44 RefPtr<ThemeStyle> shadowTheme = themeConstants->GetPatternByName(THEME_PATTERN_SHADOW); in Build()
54 void ParsePattern(const RefPtr<ThemeStyle>& themeStyle, const RefPtr<ShadowTheme>& theme) in ParsePattern()
70 …const RefPtr<ThemeStyle>& themeStyle, ShadowStyle shadowStyle, const std::string& name, bool isDar… in ParseShadowParam()
H A Dblur_style_theme.cpp26 RefPtr<ThemeStyle> blurTheme = themeConstants->GetPatternByName(THEME_BLUR_STYLE_COMMON); in Build()
36 const RefPtr<ThemeStyle>& themeStyle, const RefPtr<BlurStyleTheme>& theme) const in ParsePattern()
63 const RefPtr<ThemeStyle>& themeStyle, const std::string& styleName, bool isDark) const in ParseBlurParam()
H A Dresource_adapter.h48 virtual RefPtr<ThemeStyle> GetTheme(int32_t themeId) in GetTheme()
225 virtual RefPtr<ThemeStyle> GetPatternByName(const std::string& patternName) in GetPatternByName()
H A Dicon_theme.h50 RefPtr<ThemeStyle> pattern_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_theme.h70 void Parse(const RefPtr<ThemeStyle>& style, const RefPtr<PickerTheme>& theme) const;
73 …void InitializeButtonTextStyles(const RefPtr<PickerTheme>& theme, const RefPtr<ThemeStyle>& themeS… in InitializeButtonTextStyles()
75 auto pattern = themeStyle->GetAttr<RefPtr<ThemeStyle>>("picker_pattern", nullptr); in InitializeButtonTextStyles()
82 …void InitializeTitleTextStyles(const RefPtr<PickerTheme>& theme, const RefPtr<ThemeStyle>& themeSt… in InitializeTitleTextStyles()
84 auto pattern = themeStyle->GetAttr<RefPtr<ThemeStyle>>("picker_pattern", nullptr); in InitializeTitleTextStyles()
94 …void InitializeItemTextStyles(const RefPtr<PickerTheme>& theme, const RefPtr<ThemeStyle>& themeSty… in InitializeItemTextStyles()
96 auto pattern = themeStyle->GetAttr<RefPtr<ThemeStyle>>("picker_pattern", nullptr); in InitializeItemTextStyles()
144 …void InitializeTextStyles(const RefPtr<PickerTheme>& theme, const RefPtr<ThemeStyle>& themeStyle) … in InitializeTextStyles()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/theme/
H A Dtheme_mock.cpp121 RefPtr<ThemeStyle> componentStyle = AceType::MakeRefPtr<ThemeStyle>(); in Initialize()
131 RefPtr<ThemeStyle> ResourceAdapterMock::GetTheme(int32_t themeId) in GetTheme()
137 RefPtr<ThemeStyle> theme = AceType::MakeRefPtr<ThemeStyle>(); in GetTheme()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/
H A Dtheme_mock.cpp121 RefPtr<ThemeStyle> componentStyle = AceType::MakeRefPtr<ThemeStyle>(); in Initialize()
131 RefPtr<ThemeStyle> ResourceAdapterMock::GetTheme(int32_t themeId) in GetTheme()
137 RefPtr<ThemeStyle> theme = AceType::MakeRefPtr<ThemeStyle>(); in GetTheme()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/drag_bar/
H A Ddrag_bar_theme.h47 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_DRAG_BAR); in Build()
59 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_DRAG_BAR); in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dresource_theme_style.h28 class ResourceThemeStyle : public ThemeStyle {
29 DECLARE_ACE_TYPE(ResourceThemeStyle, ThemeStyle);
H A Dresource_adapter_impl_v2.h42 RefPtr<ThemeStyle> GetTheme(int32_t themeId) override;
82 RefPtr<ThemeStyle> GetPatternByName(const std::string& patternName) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_theme.h174 static void ParseLocationDescriptions(RefPtr<ThemeStyle> securityComponentPattern, in ParseLocationDescriptions()
201 static void ParsePasteDescriptions(RefPtr<ThemeStyle> securityComponentPattern, in ParsePasteDescriptions()
208 static void ParseSaveDescriptions(RefPtr<ThemeStyle> securityComponentPattern, in ParseSaveDescriptions()
239 RefPtr<ThemeStyle> securityComponentPattern = in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_theme.h195 …static void ParseColorAttributes(const RefPtr<ThemeStyle>& indexerPattern, const RefPtr<IndexerThe… in ParseColorAttributes()
226 static void ParseDimensionAttributes(const RefPtr<ThemeStyle>& indexerPattern, in ParseDimensionAttributes()
243 static void ParseTextStyleAttributes(const RefPtr<ThemeStyle>& indexerPattern, in ParseTextStyleAttributes()
268 RefPtr<ThemeStyle> indexerPattern = themeConstants->GetPatternByName(THEME_PATTERN_INDEXER); in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_theme.h151 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseCardTheme()
187 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseNormalTheme()
240 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseCalenderPickerFirstPart()
283 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseCalenderPickerSecondPart()
320 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseCalenderPickerThirdPart()
354 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParsePattern()
372 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseCalendarThemePattern()
425 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseCardCalendarThemePattern()
473 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CALENDAR); in ParseNewPattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Dcheckable_theme.h230 … RefPtr<ThemeStyle> checkboxPattern = themeConstants->GetPatternByName(THEME_PATTERN_CHECKBOX); in ParsePattern()
277 … RefPtr<ThemeStyle> checkboxPattern = themeConstants->GetPatternByName(THEME_PATTERN_CHECKBOX); in SetCheckboxSize()
332 … RefPtr<ThemeStyle> switchPattern = themeConstants->GetPatternByName(THEME_PATTERN_SWITCH); in ParsePattern()
433 RefPtr<ThemeStyle> radioPattern = themeConstants->GetPatternByName(THEME_PATTERN_RADIO); in ParsePattern()
481 RefPtr<ThemeStyle> radioPattern = themeConstants->GetPatternByName(THEME_PATTERN_RADIO); in SetRadioSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/
H A Dcontainer_modal_theme.h62 …void ParsePattern(const RefPtr<ThemeStyle>& themeStyle, const RefPtr<ContainerModalTheme>& theme) … in ParsePattern()
67 … auto pattern = themeStyle->GetAttr<RefPtr<ThemeStyle>>(THEME_PATTERN_CONTAINER_MODAL, nullptr); in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/
H A Dtest_ng.cpp120 resValueWrapper.value = AceType::MakeRefPtr<ThemeStyle>(); in CreateThemeConstants()
122 themeConstants->currentThemeStyle_ = AceType::MakeRefPtr<ThemeStyle>(); in CreateThemeConstants()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Dtextfield_theme.h57 … void ParsePattern(const RefPtr<ThemeStyle>& themeStyle, const RefPtr<TextFieldTheme>& theme) const in ParsePattern()
62 auto pattern = themeStyle->GetAttr<RefPtr<ThemeStyle>>("textfield_pattern", nullptr); in ParsePattern()
72 …void ParsePatternSubFirstPart(const RefPtr<ThemeStyle>& pattern, const RefPtr<TextFieldTheme>& the… in ParsePatternSubFirstPart()
122 …void ParsePatternSubSecondPart(const RefPtr<ThemeStyle>& pattern, const RefPtr<TextFieldTheme>& th… in ParsePatternSubSecondPart()
168 …void ParsePatternSubThirdPart(const RefPtr<ThemeStyle>& pattern, const RefPtr<TextFieldTheme>& the… in ParsePatternSubThirdPart()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl.cpp182 class RawThemeStyle : public ThemeStyle {
183 DECLARE_ACE_TYPE(RawThemeStyle, ThemeStyle);
227 .value = RefPtr<ThemeStyle>(std::move(patternStyle)) }; in ParseContent()
310 RefPtr<ThemeStyle> ResourceAdapterImpl::GetTheme(int32_t themeId) in GetTheme()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_theme.h58 …void ParsePattern(const RefPtr<ThemeStyle>& themeStyle, const RefPtr<TextOverlayTheme>& theme) con… in ParsePattern()
63 auto pattern = themeStyle->GetAttr<RefPtr<ThemeStyle>>("text_overlay_pattern", nullptr); in ParsePattern()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Dclock_theme.h47 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CLOCK); in Build()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Dfocus_animation_theme.h45 … RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_FOCUS_ANIMATION); in Build()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/divider/
H A Ddivider_theme.h41 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_DIVIDER); in Build()

1234