Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/swiper/
Dswiper_test_ng.cpp887 …auto swiperLayoutAlgorithm = AceType::DynamicCast<SwiperLayoutAlgorithm>(swiperPattern->CreateLayo… variable
888 ASSERT_NE(swiperLayoutAlgorithm, nullptr);
889 …outWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(swiperLayoutAlgorithm));
892 swiperLayoutAlgorithm->currentIndex_ = 1;
894 swiperLayoutAlgorithm->Measure(AceType::RawPtr(layoutWrapper));
895 swiperLayoutAlgorithm->Layout(AceType::RawPtr(layoutWrapper));
6481 …auto swiperLayoutAlgorithm = AceType::DynamicCast<SwiperLayoutAlgorithm>(swiperPattern->CreateLayo… variable
6482 ASSERT_NE(swiperLayoutAlgorithm, nullptr);
6483 dirty->layoutAlgorithm_ = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(swiperLayoutAlgorithm);
7620 …auto swiperLayoutAlgorithm = AceType::DynamicCast<SwiperLayoutAlgorithm>(swiperPattern->CreateLayo… variable
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
Dswiper_pattern.cpp102 auto swiperLayoutAlgorithm = MakeRefPtr<SwiperLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
104 swiperLayoutAlgorithm->SetJumpIndex(jumpIndex_.value()); in CreateLayoutAlgorithm()
106 swiperLayoutAlgorithm->SetTargetIndex(targetIndex_.value()); in CreateLayoutAlgorithm()
108 swiperLayoutAlgorithm->SetContentCrossSize(contentCrossSize_); in CreateLayoutAlgorithm()
109 swiperLayoutAlgorithm->SetMainSizeIsMeasured(mainSizeIsMeasured_); in CreateLayoutAlgorithm()
110 swiperLayoutAlgorithm->SetContentMainSize(contentMainSize_); in CreateLayoutAlgorithm()
111 swiperLayoutAlgorithm->SetCurrentDelta(currentDelta_); in CreateLayoutAlgorithm()
112 swiperLayoutAlgorithm->SetItemsPosition(itemPosition_); in CreateLayoutAlgorithm()
113 swiperLayoutAlgorithm->SetIsNeedResetPrevMarginAndNextMargin(); in CreateLayoutAlgorithm()
115 swiperLayoutAlgorithm->SetOverScrollFeature(); in CreateLayoutAlgorithm()
[all …]