Searched refs:lunarHeight (Results 1 - 10 of 10) sorted by relevance
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | calendar_model_impl.cpp | 145 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 D | js_calendar.cpp | 416 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 D | calendar_data.h | 35 std::optional<Dimension> lunarHeight; member
|
H A D | calendar_model_ng.cpp | 268 if (currentDayStyleData.lunarHeight.has_value()) { in SetCurrentDayStyle() 269 currentDayStyle.UpdateLunarHeight(currentDayStyleData.lunarHeight.value()); in SetCurrentDayStyle()
|
H A D | calendar_paint_method.cpp | 644 lunarDayHeight_ = paintProperty->GetLunarHeight().value_or(theme->GetCalendarTheme().lunarHeight).ConvertToPx(); in SetCalendarTheme()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_base.cpp | 318 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 D | calendar_theme.h | 106 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 D | rosen_render_calendar.cpp | 465 ? boxRect = { offset.GetX(), offset.GetY(), dayWidth_, NormalizeToPx(calendarTheme_.lunarHeight) } in PaintLunarDay()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_calendar.cpp | 266 { "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 D | calendar_test_ng.cpp | 171 dayStyle.lunarHeight = std::make_optional(SIZE_VALUE); in HWTEST_F()
|
Completed in 13 milliseconds