Home
last modified time | relevance | path

Searched refs:textPickerDialog (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtextpicker_model_impl.cpp90 std::function<void(const std::string&)>&& onScrollStop, TextPickerDialog& textPickerDialog, in SetTextPickerDialogShow() argument
96 if (textPickerDialog.isDefaultHeight == true) { in SetTextPickerDialogShow()
97 pickerText->SetColumnHeight(textPickerDialog.height); in SetTextPickerDialogShow()
100 pickerText->SetSelected(textPickerDialog.selectedValue); in SetTextPickerDialogShow()
101 pickerText->SetRange(textPickerDialog.getRangeVector); in SetTextPickerDialogShow()
H A Dtextpicker_model_impl.h86 TextPickerDialog& textPickerDialog, TextPickerDialogEvent& textPickerDialogEvent,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_model_ng.cpp48 if (textPickerDialog.alignment.has_value()) { in SetDialogProperties()
49 properties.alignment = textPickerDialog.alignment.value(); in SetDialogProperties()
52 if (textPickerDialog.backgroundColor.has_value()) { in SetDialogProperties()
55 if (textPickerDialog.backgroundBlurStyle.has_value()) { in SetDialogProperties()
58 if (textPickerDialog.shadow.has_value()) { in SetDialogProperties()
59 properties.shadow = textPickerDialog.shadow.value(); in SetDialogProperties()
65 if (textPickerDialog.offset.has_value()) { in SetDialogProperties()
66 properties.offset = textPickerDialog.offset.value(); in SetDialogProperties()
69 properties.maskRect = textPickerDialog.maskRect; in SetDialogProperties()
71 if (textPickerDialog.hoverModeArea.has_value()) { in SetDialogProperties()
[all …]
H A Dtextpicker_model.h106 TextPickerDialog& textPickerDialog, TextPickerDialogEvent& textPickerDialogEvent,
H A Dtextpicker_model_ng.h160 TextPickerDialog& textPickerDialog, TextPickerDialogEvent& textPickerDialogEvent,
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_textpicker.cpp1431 TextPickerDialog textPickerDialog; in Show() local
1468 textPickerDialog.isDefaultHeight = true; in Show()
1470 textPickerDialog.height = height; in Show()
1471 textPickerDialog.selectedValue = selectedValue; in Show()
1472 textPickerDialog.getRangeVector = getRangeVector; in Show()
1480 textPickerDialog.alignment = DIALOG_ALIGNMENT[alignment]; in Show()
1501 textPickerDialog.offset = DimensionOffset(dx, dy); in Show()
1508 textPickerDialog.maskRect = maskRect; in Show()
1514 textPickerDialog.backgroundColor = backgroundColor; in Show()
1522 textPickerDialog.backgroundBlurStyle = blurStyle; in Show()
[all …]
/ohos5.0/docs/zh-cn/third-party-cases/
H A Ddiverse-dialogues.md105 textPickerDialog(sexArray: Resource, sexCallback) {
354 textPickerDialog(sexArray: Resource, sexCallback) {
437 this.textPickerDialog(this.sexArray, (sexValue: string) => {
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
H A Dtext_picker_test_ng.cpp1883 TextPickerDialog textPickerDialog; variable
1884 textPickerDialog.alignment = DialogAlignment::CENTER;
1892 …std::move(onAccept), std::move(onChange), std::move(onScrollStop), textPickerDialog, textPickerDia…
1894 EXPECT_EQ(textPickerDialog.alignment, DialogAlignment::CENTER);