/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/ |
H A D | mock_theme_constants.cpp | 26 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 D | mock_icon_theme.cpp | 22 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 D | mock_theme_manager.h | 32 MOCK_METHOD(RefPtr<ThemeConstants>, GetThemeConstants, (), (const)); 33 MOCK_METHOD(RefPtr<ThemeConstants>, GetThemeConstants,
|
H A D | mock_theme_utils.cpp | 20 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 D | theme_constants.cpp | 61 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 D | theme_utils.h | 26 class ThemeConstants; variable 43 const RefPtr<ThemeConstants>& themeConstants = nullptr); 48 …static std::string ProcessImageSource(const std::string& imageSrc, const RefPtr<ThemeConstants>& t…
|
H A D | theme_manager_impl.h | 72 RefPtr<ThemeConstants> GetThemeConstants( in GetThemeConstants() 79 RefPtr<ThemeConstants> GetThemeConstants() const override in GetThemeConstants() 105 RefPtr<ThemeConstants> themeConstants_;
|
H A D | theme_constants.h | 36 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 D | icon_theme.h | 36 RefPtr<IconTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const; 39 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<IconTheme>& theme) co…
|
H A D | theme_manager.h | 46 virtual RefPtr<ThemeConstants> GetThemeConstants( 49 virtual RefPtr<ThemeConstants> GetThemeConstants() const = 0;
|
H A D | theme_manager_impl.cpp | 78 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 D | card_theme.h | 36 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 D | animation_util.h | 54 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 D | checkable_theme.h | 216 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 D | form_theme.h | 40 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 D | semi_modal_theme.h | 35 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 D | image_theme.h | 40 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 D | drag_bar_theme.h | 35 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 D | side_bar_theme.h | 37 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 D | grid_item_theme.h | 42 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 D | list_theme.h | 38 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 D | hyperlink_theme.h | 40 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 D | qrcode_theme.h | 45 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 D | calendar_theme.h | 137 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 D | refresh_theme.h | 40 RefPtr<RefreshTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 50 …void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<RefreshTheme>& theme)… in ParsePattern()
|