Home
last modified time | relevance | path

Searched refs:maxIndex_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_pattern.cpp45 maxIndex_ = TotalCount(); in OnModifyDone()
46 if (index_ > maxIndex_) { in OnModifyDone()
243 if (index == maxIndex_) { in CreateRightButtonNode()
249 if (index == maxIndex_) { in CreateRightButtonNode()
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()
514 swiperController->SwipeTo(std::clamp<int32_t>(index_ - 1, 0, maxIndex_)); in HandlingLeftButtonClickEvent()
536 if (index_ == maxIndex_) { 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()
[all …]
H A Dstepper_pattern.h137 int32_t maxIndex_ = 0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dchain_animation.h82 maxIndex_ = index; in SetMaxIndex()
126 int32_t maxIndex_ = 0; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/stepper/
H A Dstepper_test_ng.cpp553 stepperPattern->index_ = stepperPattern->maxIndex_;
846 stepperPattern->maxIndex_ = 1;
902 stepperPattern->maxIndex_ = 5;