Home
last modified time | relevance | path

Searched refs:workDayMarkColor (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcalendar_model_impl.cpp304 if (style.workDayMarkColor.has_value()) { in SetWorkStateStyle()
305 theme.workDayMarkColor = style.workDayMarkColor.value(); in SetWorkStateStyle()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dcalendar_composed_element.cpp295 Color workDayMarkColor = theme.workDayMarkColor; in ConvertThemeToWorkStateStyle() local
303 workStateStyle->Put("workDayMarkColor", ConvertColorToString(workDayMarkColor).c_str()); in ConvertThemeToWorkStateStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_data.h78 std::optional<Color> workDayMarkColor; member
H A Dcalendar_model_ng.cpp594 if (style.workDayMarkColor.has_value()) { in SetWorkStateStyle()
595 workStateStyle.UpdateWorkDayMarkColor(style.workDayMarkColor.value()); in SetWorkStateStyle()
H A Dcalendar_paint_method.cpp574 ToRSColor(paintProperty->GetWorkDayMarkColor().value_or(theme->GetCalendarTheme().workDayMarkColor)); in SetCalendarTheme()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar.cpp611 Color workDayMarkColor; in SetWorkStateStyle() local
612 if (ConvertFromJSValue(obj->GetProperty("workDayMarkColor"), workDayMarkColor)) { in SetWorkStateStyle()
613 workStateStyle.workDayMarkColor = workDayMarkColor; in SetWorkStateStyle()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_theme.h73 Color workDayMarkColor; member
212 theme->calendarTheme_.workDayMarkColor = in ParseNormalTheme()
453 theme->cardCalendarTheme_.workDayMarkColor = pattern->GetAttr<Color>("work_mark_color", Color(0xffe83f26)); in ParseCardCalendarThemePattern()
H A Drosen_render_calendar.cpp849 workDayMarkColor_ = RSColorQuad(calendarTheme_.workDayMarkColor.GetValue()); in InitWorkStateStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/
H A Dcalendar_paint_method_test.cpp845 theme->GetCalendarTheme().workDayMarkColor = Color::RED; in HWTEST_F()
881 EXPECT_EQ(paintMethod->workDayMarkColor_, ToRSColor(theme->GetCalendarTheme().workDayMarkColor)); in HWTEST_F()
895 theme->GetCalendarTheme().workDayMarkColor = Color::RED; in HWTEST_F()
H A Dcalendar_test_ng.cpp206 workStateStyle.workDayMarkColor = std::make_optional(COLOR_VALUE); in HWTEST_F()
1533 theme->GetCalendarTheme().workDayMarkColor = Color::RED; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_calendar.cpp340 { "workDayMarkColor", [](const std::string& value, CalendarThemeStructure& theme, in SetSpecializedStyle()
341 const DomCalendar& node) { theme.workDayMarkColor = node.ParseColor(value); } }, in SetSpecializedStyle()

Completed in 15 milliseconds