Home
last modified time | relevance | path

Searched refs:weekWidth (Results 1 - 10 of 10) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcalendar_model_impl.cpp287 if (style.weekWidth.has_value()) { in SetWeekStyle()
288 theme.weekWidth = style.weekWidth.value(); in SetWeekStyle()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dcalendar_composed_element.cpp279 Dimension weekWidth = theme.weekWidth; in ConvertThemeToWeekStyle() local
287 weekStyle->Put("weekWidth", std::to_string(weekWidth.Value()).c_str()); in ConvertThemeToWeekStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_data.h73 std::optional<Dimension> weekWidth; member
H A Dcalendar_model_ng.cpp544 if (style.weekWidth.has_value()) { in SetWeekStyle()
545 weekStyle.UpdateWeekWidth(style.weekWidth.value()); in SetWeekStyle()
H A Dcalendar_paint_method.cpp616 ? theme->GetCalendarTheme().weekWidth.ConvertToPx() in SetCalendarTheme()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar.cpp593 CalcDimension weekWidth; in SetWeekStyle() local
594 if (ConvertFromJSValue(obj->GetProperty("weekWidth"), weekWidth)) { in SetWeekStyle()
595 weekStyle.weekWidth = weekWidth; in SetWeekStyle()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_theme.h100 Dimension weekWidth; member
392 theme->calendarTheme_.weekWidth = pattern->GetAttr<Dimension>("week_width", 48.0_vp); in ParseCalendarThemePattern()
441 theme->cardCalendarTheme_.weekWidth = pattern->GetAttr<Dimension>("card_calendar_week_width", 44.0_vp); in ParseCardCalendarThemePattern()
H A Drosen_render_calendar.cpp172 weekWidth_ = NormalizeToPx(calendarTheme_.weekWidth); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_calendar.cpp334 { "weekWidth", [](const std::string& value, CalendarThemeStructure& theme, in SetSpecializedStyle()
335 const DomCalendar& node) { theme.weekWidth = node.ParseDimension(value); } }, in SetSpecializedStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/
H A Dcalendar_test_ng.cpp203 weekStyle.weekWidth = std::make_optional(SIZE_VALUE); in HWTEST_F()

Completed in 12 milliseconds