Home
last modified time | relevance | path

Searched refs:hasCachedCapture_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_layout_algorithm.h248 hasCachedCapture_ = hasCachedCapture; in SetHasCachedCapture()
402 bool hasCachedCapture_ = false; variable
H A Dswiper_pattern.h907 return hasCachedCapture_ && GetLeftCaptureNode() && GetRightCaptureNode(); in IsCaptureNodeValid()
916 return (onSwiperCustomContentTransition_ || onContentDidScroll_) && !hasCachedCapture_ && in SupportSwiperCustomAnimation()
1106 bool hasCachedCapture_ = false; variable
H A Dswiper_layout_algorithm.cpp298 if (!hasCachedCapture_ || itemPosition_.empty()) { in CaptureMeasure()
491 } else if (hasCachedCapture_) { in MeasureSwiper()
611 if (hasCachedCapture_ && static_cast<int32_t>(itemPosition_.size()) >= totalItemCount_) { in LayoutBackwardItem()
1023 if (!hasCachedCapture_ || itemPosition_.empty()) { in CaptureLayout()
H A Dswiper_pattern.cpp202 algo->SetHasCachedCapture(hasCachedCapture_); in CreateLayoutAlgorithm()
289 if (!hasCachedCapture_ && hasCachedCapture) { in InitCapture()
309 if (hasCachedCapture_ && !hasCachedCapture) { in InitCapture()
316 hasCachedCapture_ = hasCachedCapture; in InitCapture()
990 if (hasCachedCapture_) { in OnDirtyLayoutWrapperSwap()
3921 if (hasCachedCapture_) { in IsLoop()
4045 if (hasCachedCapture_ && leftCaptureId_.has_value() && rightCaptureId_.has_value()) { in RealTotalCount()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_test_ng.cpp1623 EXPECT_TRUE(pattern_->hasCachedCapture_); in InitCaptureTest()
1642 EXPECT_TRUE(pattern_->hasCachedCapture_);
1646 EXPECT_TRUE(pattern_->hasCachedCapture_);
1653 EXPECT_FALSE(pattern_->hasCachedCapture_);
1661 EXPECT_FALSE(pattern_->hasCachedCapture_);
1666 EXPECT_FALSE(pattern_->hasCachedCapture_);
1672 EXPECT_FALSE(pattern_->hasCachedCapture_);