Home
last modified time | relevance | path

Searched refs:swiperLayoutAlgorithm (Results 1 – 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
Dswiper_test_ng.cpp431 …auto swiperLayoutAlgorithm = AceType::DynamicCast<SwiperLayoutAlgorithm>(pattern_->CreateLayoutAlg… variable
432 …outWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(swiperLayoutAlgorithm));
435 swiperLayoutAlgorithm->currentIndex_ = 1;
437 swiperLayoutAlgorithm->Measure(AceType::RawPtr(layoutWrapper));
438 swiperLayoutAlgorithm->Layout(AceType::RawPtr(layoutWrapper));
4826 …auto swiperLayoutAlgorithm = AceType::DynamicCast<SwiperLayoutAlgorithm>(pattern_->CreateLayoutAlg… variable
4827 dirty->layoutAlgorithm_ = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(swiperLayoutAlgorithm);
5634 …auto swiperLayoutAlgorithm = AceType::DynamicCast<SwiperLayoutAlgorithm>(pattern_->CreateLayoutAlg… variable
5635 dirty->layoutAlgorithm_ = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(swiperLayoutAlgorithm);
5716 …auto swiperLayoutAlgorithm = AceType::DynamicCast<SwiperLayoutAlgorithm>(pattern_->CreateLayoutAlg… variable
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
Dswiper_pattern.cpp120 auto swiperLayoutAlgorithm = MakeRefPtr<SwiperLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
122 swiperLayoutAlgorithm->SetUseCustomAnimation(true); in CreateLayoutAlgorithm()
123 swiperLayoutAlgorithm->SetCustomAnimationToIndex(customAnimationToIndex_); in CreateLayoutAlgorithm()
124 swiperLayoutAlgorithm->SetIndexsInAnimation(indexsInAnimation_); in CreateLayoutAlgorithm()
125 swiperLayoutAlgorithm->SetNeedUnmountIndexs(needUnmountIndexs_); in CreateLayoutAlgorithm()
126 return swiperLayoutAlgorithm; in CreateLayoutAlgorithm()
130 swiperLayoutAlgorithm->SetJumpIndex(jumpIndex_.value()); in CreateLayoutAlgorithm()
132 swiperLayoutAlgorithm->SetTargetIndex(targetIndex_.value()); in CreateLayoutAlgorithm()
134 swiperLayoutAlgorithm->SetContentCrossSize(contentCrossSize_); in CreateLayoutAlgorithm()
135 swiperLayoutAlgorithm->SetMainSizeIsMeasured(mainSizeIsMeasured_); in CreateLayoutAlgorithm()
[all …]