Home
last modified time | relevance | path

Searched refs:underscoreWidth (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcalendar_model_impl.cpp185 if (CurrentDayStyleDataImpl.underscoreWidth.has_value()) { in SetCurrentDayStyle()
186 theme.underscoreWidth = CurrentDayStyleDataImpl.underscoreWidth.value(); in SetCurrentDayStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar.cpp456 CalcDimension underscoreWidth; in SetCurrentDayStyle() local
457 if (ParseJsDimensionFp(obj->GetProperty("underscoreWidth"), underscoreWidth)) { in SetCurrentDayStyle()
458 currentDayStyleData.underscoreWidth = underscoreWidth; in SetCurrentDayStyle()
504 ConvertFromJSValue(obj->GetProperty("underscoreWidth"), CurrentDayStyleDataImpl.underscoreWidth); in SetCurrentDayStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_data.h45 std::optional<Dimension> underscoreWidth; member
H A Dcalendar_model_ng.cpp308 if (currentDayStyleData.underscoreWidth.has_value()) { in SetCurrentDayStyle()
309 currentDayStyle.UpdateUnderscoreWidth(currentDayStyleData.underscoreWidth.value()); in SetCurrentDayStyle()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drosen_render_calendar.cpp709 auto underscoreWidth = calendarTheme_.underscoreWidth; in PaintUnderscore() local
732 pen.SetWidth(NormalizeToPx(underscoreWidth)); in PaintUnderscore()
735 offset.GetY() + NormalizeToPx(underscoreWidth) / 2), // 2:division factor in PaintUnderscore()
738 offset.GetY() + NormalizeToPx(underscoreWidth) / 2)); // 2:division factor in PaintUnderscore()
H A Dcalendar_theme.h119 Dimension underscoreWidth; member
416 theme->calendarTheme_.underscoreWidth = pattern->GetAttr<Dimension>("underscore_width", 1.0_vp); in ParseCalendarThemePattern()
481 theme->cardCalendarTheme_.underscoreWidth = pattern->GetAttr<Dimension>("underscore_width", 1.0_vp); in ParseNewPattern()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_calendar.cpp314 { "underscoreWidth", [](const std::string& value, CalendarThemeStructure& theme, in SetSpecializedStyle()
315 const DomCalendar& node) { theme.underscoreWidth = node.ParseDimension(value); } }, in SetSpecializedStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/
H A Dcalendar_test_ng.cpp181 dayStyle.underscoreWidth = std::make_optional(SIZE_VALUE); in HWTEST_F()

Completed in 11 milliseconds