Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcalendar_model_impl.cpp283 if (style.weekHeight.has_value()) { in SetWeekStyle()
284 theme.weekHeight = style.weekHeight.value(); in SetWeekStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_month_pattern.cpp360 auto weekHeight = paintProperty->GetWeekHeight().value_or(theme->GetCalendarTheme().weekHeight).ConvertToPx(); in JudgeArea() local
392 auto browHeight = weekHeight + topPadding + weekAndDayRowSpace; in JudgeArea()
734 auto weekHeight = paintProperty->GetWeekHeight().value_or(Dimension(0.0f)).ConvertToPx(); in UpdateButtonNodeWithoutTheme() local
738 auto browHeight = weekHeight + weekAndDayRowSpace; in UpdateButtonNodeWithoutTheme()
770 auto weekHeight = paintProperty->GetWeekHeight().value_or(theme->GetCalendarTheme().weekHeight).ConvertToPx(); in UpdateAccessibilityButtonNode() local
774 auto browHeight = weekHeight + topPadding + weekAndDayRowSpace; in UpdateAccessibilityButtonNode()
H A Dcalendar_data.h72 std::optional<Dimension> weekHeight; member
H A Dcalendar_model_ng.cpp540 if (style.weekHeight.has_value()) { in SetWeekStyle()
541 weekStyle.UpdateWeekHeight(style.weekHeight.value()); in SetWeekStyle()
H A Dcalendar_paint_method.cpp610 ? theme->GetCalendarTheme().weekHeight.ConvertToPx() in SetCalendarTheme()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dcalendar_composed_element.cpp278 Dimension weekHeight = theme.weekHeight; in ConvertThemeToWeekStyle() local
286 weekStyle->Put("weekHeight", std::to_string(weekHeight.Value()).c_str()); in ConvertThemeToWeekStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar.cpp589 CalcDimension weekHeight; in SetWeekStyle() local
590 if (ConvertFromJSValue(obj->GetProperty("weekHeight"), weekHeight)) { in SetWeekStyle()
591 weekStyle.weekHeight = weekHeight; in SetWeekStyle()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_theme.h98 Dimension weekHeight; member
390 theme->calendarTheme_.weekHeight = pattern->GetAttr<Dimension>("week_height", 19.0_vp); in ParseCalendarThemePattern()
439 theme->cardCalendarTheme_.weekHeight = pattern->GetAttr<Dimension>("card_calendar_week_height", 14.0_vp); in ParseCardCalendarThemePattern()
H A Drosen_render_calendar.cpp170 weekHeight_ = NormalizeToPx(calendarTheme_.weekHeight); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_calendar.cpp332 { "weekHeight", [](const std::string& value, CalendarThemeStructure& theme, in SetSpecializedStyle()
333 const DomCalendar& node) { theme.weekHeight = node.ParseDimension(value); } }, in SetSpecializedStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/
H A Dcalendar_test_ng.cpp202 weekStyle.weekHeight = std::make_optional(SIZE_VALUE); in HWTEST_F()

Completed in 16 milliseconds