Home
last modified time | relevance | path

Searched refs:currentMonthData (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_dialog_pattern.cpp567 ObtainedMonth currentMonthData = calendarPattern->GetCurrentMonthData(); in HandleCalendarNodeKeyEvent() local
596 if (IsIndexInCurrentMonth(focusedDayIndex, currentMonthData)) { in HandleCalendarNodeKeyEvent()
597 focusedDay_ = currentMonthData.days[focusedDayIndex]; in HandleCalendarNodeKeyEvent()
605 if (IsIndexInCurrentMonth(focusedDayIndex, currentMonthData)) { in HandleCalendarNodeKeyEvent()
606 focusedDay_ = currentMonthData.days[focusedDayIndex]; in HandleCalendarNodeKeyEvent()
613 auto it = std::find_if(currentMonthData.days.begin(), currentMonthData.days.end(), in HandleCalendarNodeKeyEvent()
614 [currentMonthData](const CalendarDay& day) { in HandleCalendarNodeKeyEvent()
615 return day.month.year == currentMonthData.year && day.month.month == currentMonthData in HandleCalendarNodeKeyEvent()
657 ObtainedMonth currentMonthData = calendarPattern->GetCurrentMonthData(); PaintMonthFocusState() local
666 IsIndexInCurrentMonth(int32_t focusedDayIndex, const ObtainedMonth& currentMonthData) IsIndexInCurrentMonth() argument
708 ObtainedMonth currentMonthData = calendarPattern->GetCurrentMonthData(); FocusedLastFocusedDay() local
810 ObtainedMonth currentMonthData = calendarPattern->GetCurrentMonthData(); PaintCurrentMonthFocusState() local
827 ObtainedMonth currentMonthData = calendarPattern->GetCurrentMonthData(); PaintNonCurrentMonthFocusState() local
857 ObtainedMonth currentMonthData = calendarPattern->GetCurrentMonthData(); UpdateNonCurrentMonthFocusedDay() local
940 ObtainedMonth currentMonthData = calendarPattern->GetCurrentMonthData(); ClearCalendarFocusedState() local
[all...]
H A Dcalendar_dialog_pattern.h153 bool IsIndexInCurrentMonth(int32_t focusedDayIndex, const ObtainedMonth& currentMonthData);
H A Dcalendar_dialog_view.cpp890 auto currentMonthData = calendarPattern->GetCurrentMonthData(); in OnSelectedChangeEvent() local
893 if (currentMonthData.year != selectedMonth.year || currentMonthData.month != selectedMonth.month) { in OnSelectedChangeEvent()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar.cpp118 ObtainedMonth currentMonthData = GetCurrentData(currentData); in Create() local
121 calendarData.currentData = currentMonthData; in Create()
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar_picker/
H A Dcalendar_picker_test_ng.cpp2960 auto currentMonthData = dialogPattern->GetCalendarPattern()->GetCurrentMonthData(); in HWTEST_F() local
2964 dialogPattern->PaintNonCurrentMonthFocusState(currentMonthData.days.size()); in HWTEST_F()
2965 dialogPattern->PaintNonCurrentMonthFocusState(currentMonthData.days.size() + 1); in HWTEST_F()
2967 dialogPattern->PaintNonCurrentMonthFocusState(currentMonthData.days.size() - 1); in HWTEST_F()
3069 auto currentMonthData = dialogPattern->GetCalendarPattern()->GetCurrentMonthData(); in HWTEST_F() local
3183 auto currentMonthData = dialogPattern->GetCalendarPattern()->GetCurrentMonthData(); in HWTEST_F() local

Completed in 12 milliseconds