Searched refs:dayWidth (Results 1 - 11 of 11) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_month_pattern.cpp | 364 auto dayWidth = paintProperty->GetDayWidth().value_or(theme->GetCalendarTheme().dayWidth).ConvertToPx(); in JudgeArea() local 396 (offset.GetY() > maxHeight) || LessOrEqual(dayHeight, 0.0) || LessOrEqual(dayWidth, 0.0)) { in JudgeArea() 402 int32_t x = offset.GetX() < (dayWidth + colSpace / 2) in JudgeArea() 404 : (offset.GetX() - dayWidth - colSpace / 2) / (dayWidth + colSpace) + 1; in JudgeArea() 724 auto dayWidth = paintProperty->GetDayWidth().value_or(Dimension(0.0f)).ConvertToPx(); in UpdateButtonNodeWithoutTheme() local 728 buttonLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(CalcLength(dayWidth), CalcLength(dayHeight))); in UpdateButtonNodeWithoutTheme() 733 Dimension buttonOffsetX = Dimension(margin_ / 2 + (colSpace + dayWidth) * pos.first); in UpdateButtonNodeWithoutTheme() 757 auto dayWidth in UpdateAccessibilityButtonNode() local [all...] |
H A D | calendar_data.h | 33 std::optional<Dimension> dayWidth; member
|
H A D | calendar_model_ng.cpp | 260 if (currentDayStyleData.dayWidth.has_value()) { in SetCurrentDayStyle() 261 currentDayStyle.UpdateDayWidth(currentDayStyleData.dayWidth.value()); in SetCurrentDayStyle()
|
H A D | calendar_paint_method.cpp | 619 ? theme->GetCalendarTheme().dayWidth.ConvertToPx() in SetCalendarTheme()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | calendar_model_impl.cpp | 137 if (CurrentDayStyleDataImpl.dayWidth.has_value()) { in SetCurrentDayStyle() 138 theme.dayWidth = CurrentDayStyleDataImpl.dayWidth.value(); in SetCurrentDayStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | calendar_composed_element.cpp | 215 Dimension dayWidth = theme.dayWidth; in ConvertThemeToDayStyle() local 230 dayStyle->Put("dayWidth", std::to_string(dayWidth.Value()).c_str()); in ConvertThemeToDayStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_calendar.cpp | 408 CalcDimension dayWidth; in SetCurrentDayStyle() local 409 if (ParseJsDimensionFp(obj->GetProperty("dayWidth"), dayWidth)) { in SetCurrentDayStyle() 410 currentDayStyleData.dayWidth = dayWidth; in SetCurrentDayStyle() 490 ConvertFromJSValue(obj->GetProperty("dayWidth"), CurrentDayStyleDataImpl.dayWidth); in SetCurrentDayStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | calendar_theme.h | 101 Dimension dayWidth; member 393 theme->calendarTheme_.dayWidth = pattern->GetAttr<Dimension>("day_width", 48.0_vp); in ParseCalendarThemePattern() 442 theme->cardCalendarTheme_.dayWidth = pattern->GetAttr<Dimension>("card_calendar_day_width", 44.0_vp); in ParseCardCalendarThemePattern()
|
H A D | rosen_render_calendar.cpp | 173 dayWidth_ = NormalizeToPx(calendarTheme_.dayWidth); in PerformLayout()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_calendar.cpp | 236 { "dayWidth", [](const std::string& value, CalendarThemeStructure& theme, in SetSpecializedStyle() 237 const DomCalendar& node) { theme.dayWidth = node.ParseDimension(value); } }, in SetSpecializedStyle()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/ |
H A D | calendar_test_ng.cpp | 169 dayStyle.dayWidth = std::make_optional(SIZE_VALUE); in HWTEST_F()
|
Completed in 14 milliseconds