Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcalendar_model_impl.cpp145 if (CurrentDayStyleDataImpl.lunarHeight.has_value()) { in SetCurrentDayStyle()
146 theme.lunarHeight = CurrentDayStyleDataImpl.lunarHeight.value(); in SetCurrentDayStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar.cpp416 CalcDimension lunarHeight; in SetCurrentDayStyle() local
417 if (ParseJsDimensionFp(obj->GetProperty("lunarHeight"), lunarHeight)) { in SetCurrentDayStyle()
418 currentDayStyleData.lunarHeight = lunarHeight; in SetCurrentDayStyle()
492 ConvertFromJSValue(obj->GetProperty("lunarHeight"), CurrentDayStyleDataImpl.lunarHeight); in SetCurrentDayStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_data.h35 std::optional<Dimension> lunarHeight; member
H A Dcalendar_model_ng.cpp268 if (currentDayStyleData.lunarHeight.has_value()) { in SetCurrentDayStyle()
269 currentDayStyle.UpdateLunarHeight(currentDayStyleData.lunarHeight.value()); in SetCurrentDayStyle()
H A Dcalendar_paint_method.cpp644 lunarDayHeight_ = paintProperty->GetLunarHeight().value_or(theme->GetCalendarTheme().lunarHeight).ConvertToPx(); in SetCalendarTheme()
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_base.cpp318 double lunarHeight = 16.0; // use 16.0 not 0.0 for default in PerformLayout() local
321 lunarHeight = NormalizeToPx(theme->GetButtonTopPadding()) + NormalizeToPx(theme->GetLunarHeight()); in PerformLayout()
324 column->SetAdjustHeight(lunarHeight); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_theme.h106 Dimension lunarHeight; member
415 theme->calendarTheme_.lunarHeight = pattern->GetAttr<Dimension>("lunar_height", 14.0_vp); in ParseCalendarThemePattern()
480 theme->cardCalendarTheme_.lunarHeight = pattern->GetAttr<Dimension>("lunar_height", 14.0_vp); in ParseNewPattern()
H A Drosen_render_calendar.cpp465 ? boxRect = { offset.GetX(), offset.GetY(), dayWidth_, NormalizeToPx(calendarTheme_.lunarHeight) } in PaintLunarDay()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_calendar.cpp266 { "lunarHeight", [](const std::string& value, CalendarThemeStructure& theme, in SetSpecializedStyle()
267 const DomCalendar& node) { theme.lunarHeight = node.ParseDimension(value); } }, in SetSpecializedStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/
H A Dcalendar_test_ng.cpp171 dayStyle.lunarHeight = std::make_optional(SIZE_VALUE); in HWTEST_F()

Completed in 13 milliseconds