/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | theme_style.h | 36 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 D | blur_style_theme.h | 39 …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 D | theme_constants.h | 330 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 D | shadow_theme.h | 44 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 D | blur_style_theme.cpp | 26 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 D | resource_adapter.h | 48 virtual RefPtr<ThemeStyle> GetTheme(int32_t themeId) in GetTheme() 225 virtual RefPtr<ThemeStyle> GetPatternByName(const std::string& patternName) in GetPatternByName()
|
H A D | icon_theme.h | 50 RefPtr<ThemeStyle> pattern_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_theme.h | 70 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 D | theme_mock.cpp | 121 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 D | theme_mock.cpp | 121 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 D | drag_bar_theme.h | 47 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 D | resource_theme_style.h | 28 class ResourceThemeStyle : public ThemeStyle { 29 DECLARE_ACE_TYPE(ResourceThemeStyle, ThemeStyle);
|
H A D | resource_adapter_impl_v2.h | 42 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 D | security_component_theme.h | 174 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 D | indexer_theme.h | 195 …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 D | calendar_theme.h | 151 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 D | checkable_theme.h | 230 … 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 D | container_modal_theme.h | 62 …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 D | test_ng.cpp | 120 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 D | textfield_theme.h | 57 … 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 D | resource_adapter_impl.cpp | 182 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 D | text_overlay_theme.h | 58 …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 D | clock_theme.h | 47 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CLOCK); in Build()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/ |
H A D | focus_animation_theme.h | 45 … RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_FOCUS_ANIMATION); in Build()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/divider/ |
H A D | divider_theme.h | 41 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_DIVIDER); in Build()
|