Home
last modified time | relevance | path

Searched refs:customAnimationToIndex_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_layout_algorithm.h208 customAnimationToIndex_ = customAnimationToIndex; in SetCustomAnimationToIndex()
391 std::optional<int32_t> customAnimationToIndex_; variable
H A Dswiper_pattern.h440 customAnimationToIndex_ = toIndex; in SetCustomAnimationToIndex()
445 return customAnimationToIndex_; in GetCustomAnimationToIndex()
1098 std::optional<int32_t> customAnimationToIndex_; variable
H A Dswiper_layout_algorithm.cpp353 if (customAnimationToIndex_) { in MeasureTabsCustomAnimation()
354 … auto toIndexWrapper = layoutWrapper->GetOrCreateChildByIndex(customAnimationToIndex_.value()); in MeasureTabsCustomAnimation()
900 if (customAnimationToIndex_) { in LayoutCustomAnimation()
901 … auto toIndexWrapper = layoutWrapper->GetOrCreateChildByIndex(customAnimationToIndex_.value()); in LayoutCustomAnimation()
H A Dswiper_pattern.cpp166 algo->SetCustomAnimationToIndex(customAnimationToIndex_); in CreateLayoutAlgorithm()
5207 customAnimationToIndex_ = toIndex; in OnCustomContentTransition()
5286 customAnimationToIndex_.reset(); in OnCustomAnimationFinish()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtabs_test_ng.cpp637 EXPECT_TRUE(swiperPattern_->customAnimationToIndex_.has_value());
640 EXPECT_FALSE(swiperPattern_->customAnimationToIndex_.has_value());
643 EXPECT_TRUE(swiperPattern_->customAnimationToIndex_.has_value());
H A Dtab_bar_event_test_ng.cpp962 swiperPattern_->customAnimationToIndex_ = 0;
974 EXPECT_EQ(swiperPattern_->customAnimationToIndex_, 1);
1059 EXPECT_EQ(swiperPattern_->customAnimationToIndex_, 1);