Searched refs:stepperHub (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/ |
H A D | stepper_pattern.cpp | 503 auto stepperHub = hostNode->GetEventHub<StepperEventHub>(); in HandlingLeftButtonClickEvent() local 504 CHECK_NULL_VOID(stepperHub); in HandlingLeftButtonClickEvent() 512 stepperHub->FireChangeEvent(index_, std::clamp<int32_t>(index_ - 1, 0, maxIndex_)); in HandlingLeftButtonClickEvent() 513 stepperHub->FirePreviousEvent(index_, std::clamp<int32_t>(index_ - 1, 0, maxIndex_)); in HandlingLeftButtonClickEvent() 521 auto stepperHub = hostNode->GetEventHub<StepperEventHub>(); in HandlingRightButtonClickEvent() local 522 CHECK_NULL_VOID(stepperHub); in HandlingRightButtonClickEvent() 534 stepperHub->FireSkipEvent(index_); in HandlingRightButtonClickEvent() 537 stepperHub->FireFinishEvent(index_); in HandlingRightButtonClickEvent() 539 stepperHub->FireChangeEvent(index_, std::clamp<int32_t>(index_ + 1, 0, maxIndex_)); in HandlingRightButtonClickEvent() 540 stepperHub->FireNextEvent(index_, std::clamp<int32_t>(index_ + 1, 0, maxIndex_)); in HandlingRightButtonClickEvent()
|