Home
last modified time | relevance | path

Searched refs:pickerDialog (Results 1 - 14 of 14) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dpicker_model_impl.cpp93 void DatePickerDialogModelImpl::SetDatePickerDialogShow(PickerDialogInfo& pickerDialog, in SetDatePickerDialogShow() argument
104 if (pickerDialog.isSelectedDate == true) { in SetDatePickerDialogShow()
105 timePicker->SetSelectedTime(pickerDialog.pickerTime); in SetDatePickerDialogShow()
116 auto startDays = pickerDialog.parseStartDate.ToDays(); in SetDatePickerDialogShow()
117 auto endDays = pickerDialog.parseEndDate.ToDays(); in SetDatePickerDialogShow()
118 auto selectedDays = pickerDialog.parseSelectedDate.ToDays(); in SetDatePickerDialogShow()
122 if (pickerDialog.isStartDate == true) { in SetDatePickerDialogShow()
123 datePicker->SetStartDate(pickerDialog.parseStartDate); in SetDatePickerDialogShow()
125 if (pickerDialog.isEndDate == true) { in SetDatePickerDialogShow()
126 datePicker->SetEndDate(pickerDialog in SetDatePickerDialogShow()
[all...]
H A Dtimepicker_model_impl.cpp60 void TimePickerDialogModelImpl::SetTimePickerDialogShow(PickerDialogInfo& pickerDialog, in SetTimePickerDialogShow() argument
67 bool isUseMilitaryTime = pickerDialog.isUseMilitaryTime; in SetTimePickerDialogShow()
68 if (pickerDialog.isSelectedTime == true) { in SetTimePickerDialogShow()
69 timePicker->SetSelectedTime(pickerDialog.pickerTime); in SetTimePickerDialogShow()
H A Dtimepicker_model_impl.h48 void SetTimePickerDialogShow(PickerDialogInfo& pickerDialog, NG::TimePickerSettingData& settingData,
H A Dpicker_model_impl.h50 void SetDatePickerDialogShow(PickerDialogInfo& pickerDialog, NG::DatePickerSettingData& settingData,
/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/
H A Ddate_picker_test_two.cpp165 PickerDialogInfo pickerDialog; in HWTEST_F() local
170 datePickerDialogNg_->SetDatePickerDialogShow(pickerDialog, settingData, std::move(cancelEvent), in HWTEST_F()
173 EXPECT_FALSE(pickerDialog.alignment.has_value()); in HWTEST_F()
181 datePickerDialogNg_->SetDatePickerDialogShow(pickerDialog, settingData, std::move(cancelEvent), in HWTEST_F()
185 EXPECT_FALSE(pickerDialog.alignment.has_value()); in HWTEST_F()
211 PickerDialogInfo pickerDialog; in HWTEST_F() local
220 pickerDialog.isEndDate = true; in HWTEST_F()
221 pickerDialog.isStartDate = true; in HWTEST_F()
222 pickerDialog.shadow = textShadow; in HWTEST_F()
223 pickerDialog in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_model_ng.cpp604 void DatePickerDialogModelNG::SetDatePickerDialogShow(PickerDialogInfo& pickerDialog,
648 if (pickerDialog.alignment.has_value()) {
649 properties.alignment = pickerDialog.alignment.value();
651 if (pickerDialog.backgroundColor.has_value()) {
652 properties.backgroundColor = pickerDialog.backgroundColor.value();
654 if (pickerDialog.backgroundBlurStyle.has_value()) {
655 properties.backgroundBlurStyle = pickerDialog.backgroundBlurStyle.value();
657 if (pickerDialog.shadow.has_value()) {
658 properties.shadow = pickerDialog.shadow.value();
660 if (pickerDialog
[all...]
H A Dpicker_model.h88 virtual void SetDatePickerDialogShow(PickerDialogInfo& pickerDialog, NG::DatePickerSettingData& settingData,
H A Ddatepicker_model_ng.h85 void SetDatePickerDialogShow(PickerDialogInfo& pickerDialog, NG::DatePickerSettingData& settingData,
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_datepicker.cpp276 void ParseDatePickerHoverMode(PickerDialogInfo& pickerDialog, const JSRef<JSObject>& paramObject) in ParseDatePickerHoverMode() argument
280 pickerDialog.enableHoverMode = enableHoverModeValue->ToBoolean(); in ParseDatePickerHoverMode()
287 pickerDialog.hoverModeArea = HOVER_MODE_AREA_TYPE[hoverModeArea]; in ParseDatePickerHoverMode()
1007 void JSDatePickerDialog::UpdatePickerDialogTimeInfo(const JSRef<JSObject>& paramObject, PickerDialogInfo& pickerDialog) in UpdatePickerDialogTimeInfo() argument
1014 pickerDialog.isStartDate = true; in UpdatePickerDialogTimeInfo()
1018 pickerDialog.isEndDate = true; in UpdatePickerDialogTimeInfo()
1022 pickerDialog.isSelectedDate = true; in UpdatePickerDialogTimeInfo()
1038 pickerDialog.parseStartDate = parseStartDate; in UpdatePickerDialogTimeInfo()
1039 pickerDialog.parseEndDate = parseEndDate; in UpdatePickerDialogTimeInfo()
1040 pickerDialog in UpdatePickerDialogTimeInfo()
1044 UpdatePickerDialogPositionInfo( const JSRef<JSObject>& paramObject, PickerDialogInfo& pickerDialog) UpdatePickerDialogPositionInfo() argument
1077 UpdatePickerDialogInfo(const JSRef<JSObject>& paramObject, PickerDialogInfo& pickerDialog) UpdatePickerDialogInfo() argument
1139 PickerDialogInfo pickerDialog; Show() local
1717 PickerDialogInfo pickerDialog; Show() local
[all...]
H A Djs_datepicker.h83 static void UpdatePickerDialogTimeInfo(const JSRef<JSObject>& paramObject, PickerDialogInfo& pickerDialog);
84 static void UpdatePickerDialogPositionInfo(const JSRef<JSObject>& paramObject, PickerDialogInfo& pickerDialog);
85 static void UpdatePickerDialogInfo(const JSRef<JSObject>& paramObject, PickerDialogInfo& pickerDialog);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_model_ng.cpp389 void TimePickerDialogModelNG::SetTimePickerDialogShow(PickerDialogInfo& pickerDialog,
429 if (pickerDialog.alignment.has_value()) {
430 properties.alignment = pickerDialog.alignment.value();
433 if (pickerDialog.backgroundColor.has_value()) {
434 properties.backgroundColor = pickerDialog.backgroundColor.value();
436 if (pickerDialog.backgroundBlurStyle.has_value()) {
437 properties.backgroundBlurStyle = pickerDialog.backgroundBlurStyle.value();
439 if (pickerDialog.shadow.has_value()) {
440 properties.shadow = pickerDialog.shadow.value();
446 if (pickerDialog
[all...]
H A Dtimepicker_model.h68 virtual void SetTimePickerDialogShow(PickerDialogInfo& pickerDialog, NG::TimePickerSettingData& settingData,
H A Dtimepicker_model_ng.h78 void SetTimePickerDialogShow(PickerDialogInfo& pickerDialog, NG::TimePickerSettingData& settingData,
/foundation/arkui/ace_engine/test/unittest/core/pattern/time_picker/
H A Dtime_picker_test_update.cpp1403 PickerDialogInfo pickerDialog; in HWTEST_F() local
1411 timePickerDialogModelNG.SetTimePickerDialogShow(pickerDialog, settingData, std::move(onCancel), in HWTEST_F()
1789 PickerDialogInfo pickerDialog; in HWTEST_F() local
1797 timePickerDialogModelNG.SetTimePickerDialogShow(pickerDialog, settingData, std::move(onCancel), std::move(onAccept), in HWTEST_F()
1801 pickerDialog.alignment = DialogAlignment::CENTER; in HWTEST_F()
1802 pickerDialog.backgroundColor = Color(100); in HWTEST_F()
1803 pickerDialog.backgroundBlurStyle = 1; in HWTEST_F()
1804 pickerDialog.shadow = ShadowConfig::DefaultShadowL; in HWTEST_F()
1805 pickerDialog.offset = DimensionOffset(Offset(0, 1.0f)); in HWTEST_F()
1806 pickerDialog in HWTEST_F()
[all...]

Completed in 11 milliseconds