/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() 38 if (!themeConstants) { in Build() 41 theme->barColor_ = themeConstants->GetColor(THEME_DRAG_BAR_COLOR); in Build() 42 ParsePattern(themeConstants, theme); in Build() 43 auto themeStyle = themeConstants->GetThemeStyle(); in Build() 47 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_DRAG_BAR); in Build() 57 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<DragBarTheme>& theme) const in ParsePattern() argument 59 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_DRAG_BAR); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_theme.h | 42 RefPtr<VideoTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 45 if (!themeConstants) { in Build() 48 ParsePattern(themeConstants, theme); in Build() 52 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<VideoTheme>& theme) const in ParsePattern() argument 54 RefPtr<ThemeStyle> videoPattern = themeConstants->GetPatternByName(THEME_PATTERN_VIDEO); in ParsePattern() 77 Color timeText = themeConstants->GetColorByName("sys.color.ohos_id_color_foreground_contrary"). in ParsePattern() 78 BlendOpacity(themeConstants->GetDoubleByName("sys.color.ohos_id_alpha_content_secondary")); in ParsePattern() 83 theme->selectColor_ = themeConstants->GetColorByName("sys.color.ohos_id_color_foreground_contrary"); in ParsePattern() 84 theme->trackBgColor_ = themeConstants->GetColorByName("sys.color.ohos_id_color_foreground_contrary"). in ParsePattern() 85 BlendOpacity(themeConstants in ParsePattern() [all...] |
/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() 43 if (!themeConstants) { in Build() 46 auto themeStyle = themeConstants->GetThemeStyle(); in Build() 47 theme->fillColor_ = themeConstants->GetColor(THEME_IMAGE_FILL_COLOR); in Build() 48 ParsePattern(themeConstants, theme); in Build() 53 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<ImageTheme>& theme) const in ParsePattern() argument 55 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_IMAGE); in ParsePattern()
|
/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() 38 if (!themeConstants) { in Build() 41 theme->bgColor_ = themeConstants->GetColor(THEME_SEMI_MODAL_BACKGROUND_COLOR); in Build() 42 ParsePattern(themeConstants, theme); in Build() 46 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<SemiModalTheme>& theme) const in ParsePattern() argument 48 RefPtr<ThemeStyle> semiModalPattern = themeConstants->GetPatternByName(THEME_PATTERN_SEMI_MODAL); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components/camera/ |
H A D | camera_theme.h | 42 RefPtr<CameraTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 45 if (!themeConstants) { in Build() 48 theme->bufferSize_ = Size(themeConstants->GetDimension(THEME_CAMERA_BUFFER_WIDTH).Value(), in Build() 49 themeConstants->GetDimension(THEME_CAMERA_BUFFER_HEIGHT).Value()); in Build() 51 theme->errorTextStyle_.SetFontSize(themeConstants->GetDimension(THEME_VIDEO_TEXT_FONTSIZE)); in Build() 52 theme->errorTextStyle_.SetTextColor(themeConstants->GetColor(THEME_VIDEO_ERROR_TEXT_COLOR)); in Build()
|
/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() 43 if (!themeConstants) { in Build() 47 ParsePattern(themeConstants, theme); in Build() 52 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<FormTheme>& theme) const in ParsePattern() argument 54 RefPtr<ThemeStyle> formPattern = themeConstants->GetPatternByName(THEME_PATTERN_FORM); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | card_theme.h | 36 RefPtr<CardTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 39 if (!themeConstants) { in Build() 43 ParsePattern(themeConstants, theme); in Build() 47 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CardTheme>& theme) const in ParsePattern() argument 49 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CARD); in ParsePattern()
|
H A D | app_theme.cpp | 20 RefPtr<AppTheme> AppTheme::Builder::Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 23 if (!themeConstants) { in Build() 26 auto themeStyle = themeConstants->GetThemeStyle(); in Build()
|
/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() 219 if (!themeConstants) { in Build() 220 LOGI("Build AppTheme error, themeConstants is null!"); in Build() 223 ParsePattern(themeConstants, theme); in Build() 228 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CheckboxTheme>& theme) const in ParsePattern() argument 230 RefPtr<ThemeStyle> checkboxPattern = themeConstants->GetPatternByName(THEME_PATTERN_CHECKBOX); in ParsePattern() 272 SetCheckboxSize(themeConstants, theme); in ParsePattern() 275 void SetCheckboxSize(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<CheckboxTheme>& theme) const in SetCheckboxSize() argument 277 RefPtr<ThemeStyle> checkboxPattern = themeConstants->GetPatternByName(THEME_PATTERN_CHECKBOX); in SetCheckboxSize() 318 RefPtr<SwitchTheme> Build(const RefPtr<ThemeConstants>& themeConstants) cons 330 ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<SwitchTheme>& theme) const ParsePattern() argument 431 ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<RadioTheme>& theme) const ParsePattern() argument 479 SetRadioSize(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<RadioTheme>& theme) const SetRadioSize() argument [all...] |
/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() 41 if (!themeConstants) { in Build() 44 ParsePattern(themeConstants, theme); in Build() 48 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<ListTheme>& theme) const in ParsePattern() argument 50 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_LIST); in ParsePattern()
|
/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() 48 if (!themeConstants) { in Build() 51 ParsePattern(themeConstants, theme); in Build() 55 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<QrcodeTheme>& theme) const in ParsePattern() argument 57 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_QRCODE); in ParsePattern()
|
/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() 45 if (!themeConstants) { in Build() 48 ParsePattern(themeConstants, theme); in Build() 53 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<GridItemTheme>& theme) const in ParsePattern() argument 58 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_GRID); in ParsePattern()
|
/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() 43 if (!themeConstants) { in Build() 48 ParsePattern(themeConstants, theme); in Build() 53 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<HyperlinkTheme>& theme) const in ParsePattern() argument 55 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_HYPERLINK); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_theme.h | 34 RefPtr<ScrollableTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 37 if (!themeConstants) { in Build() 40 ParsePattern(themeConstants, theme); in Build() 45 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<ScrollableTheme>& theme) const in ParsePattern() argument 50 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_SCROLLABLE); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components/piece/ |
H A D | piece_theme.h | 39 RefPtr<PieceTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 42 if (!themeConstants) { in Build() 45 theme->iconResource_ = themeConstants->GetResourceId(THEME_PIECE_ICON_SOURCE); in Build() 46 ParsePattern(themeConstants, theme); in Build() 51 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<PieceTheme>& theme) const in ParsePattern() argument 53 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_PIECE); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_theme.h | 79 RefPtr<GaugeTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 82 if (!themeConstants) { in Build() 85 theme->trackThickness_ = themeConstants->GetDimension(THEME_PROGRERSS_THICKNESS); in Build() 86 ParsePattern(themeConstants, theme); in Build() 91 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<GaugeTheme>& theme) const in ParsePattern() argument 93 RefPtr<ThemeStyle> gaugePattern = themeConstants->GetPatternByName(THEME_PATTERN_GAUGE); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components/rating/ |
H A D | rating_theme.h | 44 RefPtr<RatingTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 47 if (!themeConstants) { in Build() 50 theme->foregroundResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_BIG_ON); in Build() 51 theme->secondaryResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_BIG_HALF); in Build() 52 theme->backgroundResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_BIG_OFF); in Build() 53 theme->foregroundMiniResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_MINI_ON); in Build() 54 theme->secondaryMiniResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_MINI_HALF); in Build() 55 theme->backgroundMiniResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_MINI_OFF); in Build() 57 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_RATING); in Build()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_theme.h | 45 RefPtr<RichEditorTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 48 if (!themeConstants) { in Build() 51 theme->padding_ = Edge(themeConstants->GetDimension(THEME_TEXTFIELD_PADDING_HORIZONTAL), in Build() 52 themeConstants->GetDimension(THEME_TEXTFIELD_PADDING_VERTICAL), in Build() 53 themeConstants->GetDimension(THEME_TEXTFIELD_PADDING_HORIZONTAL), in Build() 54 themeConstants->GetDimension(THEME_TEXTFIELD_PADDING_VERTICAL)); in Build() 55 ParsePattern(themeConstants, theme); in Build() 60 void ParsePattern(const RefPtr<ThemeConstants>& themeConstants, const RefPtr<RichEditorTheme>& theme) const in ParsePattern() argument 65 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_RICH_EDITOR); in ParsePattern()
|
/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/ |
H A D | focus_animation_theme.h | 39 RefPtr<FocusAnimationTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 42 if (!themeConstants) { in Build() 45 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_FOCUS_ANIMATION); in Build()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/ |
H A D | container_modal_accessibility_property.cpp | 36 auto themeConstants = themeManager->GetThemeConstants(); in GetText() local 37 CHECK_NULL_RETURN(themeConstants, ""); in GetText() 39 return themeConstants->GetString(appLabelId); in GetText()
|
/foundation/arkui/ace_engine/frameworks/core/components/clock/ |
H A D | clock_theme.h | 40 RefPtr<ClockTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 43 if (!themeConstants) { in Build() 47 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_CLOCK); in Build()
|
/foundation/arkui/ace_engine/frameworks/core/components/divider/ |
H A D | divider_theme.h | 35 RefPtr<DividerTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 38 if (!themeConstants) { in Build() 41 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_DIVIDER); in Build()
|
/foundation/arkui/ace_engine/frameworks/core/components/marquee/ |
H A D | marquee_theme.h | 44 RefPtr<MarqueeTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 47 if (!themeConstants) { in Build() 51 RefPtr<ThemeStyle> pattern = themeConstants->GetPatternByName(THEME_PATTERN_MARQUEE); in Build()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_theme.h | 37 RefPtr<SwiperTheme> Build(const RefPtr<ThemeConstants>& themeConstants) const in Build() 40 if (!themeConstants) { in Build() 43 ParsePattern(themeConstants, theme); in Build()
|
/foundation/arkui/ace_engine/frameworks/core/components/container_modal/ |
H A D | render_container_modal.cpp | 39 auto themeConstants = themeManager->GetThemeConstants(); in UpdateStyle() local 40 if (!themeConstants) { in UpdateStyle() 52 auto appLabel = themeConstants->GetString(labelId); in UpdateStyle() 59 auto appIconSrc = themeConstants->GetMediaPath(iconId); in UpdateStyle()
|