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 D | calendar_dialog_pattern.cpp | 201 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 240 …buttonIndex == OPTION_CANCEL_BUTTON_INDEX && !updateColorFlags[CANCEL_BUTTON_BACKGROUND_COLOR_INDE… in UpdateOptionsButtonColor() 257 … buttonIndex == OPTION_CANCEL_BUTTON_INDEX && !updateColorFlags[CANCEL_BUTTON_FONT_COLOR_INDEX]; in UpdateOptionsButtonColor() 259 … buttonIndex == 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 D | calendar_dialog_view.h | 39 … const RefPtr<FrameNode>& buttonNode, size_t buttonIndex, std::vector<ButtonInfo>& buttonInfos);
|
H A D | calendar_dialog_view.cpp | 1039 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 D | dialog_component.cpp | 704 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 D | dialog.js | 2370 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 D | stepper_layout_algorithm.cpp | 277 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 D | dialog.ets | 930 buttonIndex: number = 2; 961 let buttonChild: Measurable = children[this.buttonIndex]; 1022 buttonIndex: number = 2; 1033 ForEach([this.titleIndex, this.contentIndex, this.buttonIndex], (index: number) => {
|