Home
last modified time | relevance | path

Searched refs:buttonIndex (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_dialog_pattern.cpp201 size_t buttonIndex = OPTION_CANCEL_BUTTON_INDEX; in UpdateOptionsButton() local
209 if (buttonIndex == OPTION_ACCEPT_BUTTON_INDEX) { in UpdateOptionsButton()
215 buttonIndex++; in UpdateOptionsButton()
233 size_t buttonIndex = OPTION_CANCEL_BUTTON_INDEX; in UpdateOptionsButtonColor() local
240buttonIndex == OPTION_CANCEL_BUTTON_INDEX && !updateColorFlags[CANCEL_BUTTON_BACKGROUND_COLOR_INDE… in UpdateOptionsButtonColor()
257buttonIndex == OPTION_CANCEL_BUTTON_INDEX && !updateColorFlags[CANCEL_BUTTON_FONT_COLOR_INDEX]; in UpdateOptionsButtonColor()
259buttonIndex == OPTION_ACCEPT_BUTTON_INDEX && !updateColorFlags[ACCEPT_BUTTON_FONT_COLOR_INDEX]; in UpdateOptionsButtonColor()
265 buttonIndex++; in UpdateOptionsButtonColor()
1381 size_t buttonIndex = OPTION_CANCEL_BUTTON_INDEX; in UpdateCaretInfoToController() local
1385 CalendarDialogView::UpdateButtons(buttonNode, buttonIndex, currentButtonInfos_); in UpdateCaretInfoToController()
[all …]
H A Dcalendar_dialog_view.h39 … const RefPtr<FrameNode>& buttonNode, size_t buttonIndex, std::vector<ButtonInfo>& buttonInfos);
H A Dcalendar_dialog_view.cpp1039 const RefPtr<FrameNode>& buttonNode, size_t buttonIndex, std::vector<ButtonInfo>& buttonInfos) in UpdateButtons() argument
1062 …CalendarDialogView::UpdateButtonLayoutProperty(buttonNode, buttonIndex, buttonInfos, pipelineConte… in UpdateButtons()
1066 buttonInfos, buttonIndex, buttonLayoutProperty, buttonNode->GetRenderContext()); in UpdateButtons()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/
H A Ddialog_component.cpp704 int32_t buttonIndex = 0; in BuildButtons() local
724 if (buttonIndex != static_cast<int32_t>(buttons.size()) - 1) { in BuildButtons()
744 if (buttonIndex != static_cast<int32_t>(buttons.size()) - 1) { in BuildButtons()
760 ++buttonIndex; in BuildButtons()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/
H A Ddialog.js2370 this.buttonIndex = 2;
2385 if (params.buttonIndex !== undefined) {
2386 this.buttonIndex = params.buttonIndex;
2460 let buttonChild = children[this.buttonIndex];
2537 this.buttonIndex = 2;
2630 if (params.buttonIndex !== undefined) {
2631 this.buttonIndex = params.buttonIndex;
2933 this.buttonIndex], forEachItemGenFunction);
2995 this.buttonIndex], forEachItemGenFunction);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_layout_algorithm.cpp277 auto buttonIndex = isRight ? hostNode->GetChildIndexById(hostNode->GetRightButtonId()) in SuitAgeLayoutButton() local
279 auto ButtonWrapper = layoutWrapper->GetOrCreateChildByIndex(buttonIndex); in SuitAgeLayoutButton()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/
H A Ddialog.ets930 buttonIndex: number = 2;
961 let buttonChild: Measurable = children[this.buttonIndex];
1022 buttonIndex: number = 2;
1033 ForEach([this.titleIndex, this.contentIndex, this.buttonIndex], (index: number) => {