Home
last modified time | relevance | path

Searched refs:rightCaptureIndex_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp286 rightCaptureIndex_ = std::nullopt; in InitCapture()
569 …if (forceUpdate || !rightCaptureIndex_.has_value() || rightCaptureIndex_.value() != rightTargetInd… in UpdateTargetCapture()
571 rightCaptureIndex_ = rightTargetIndex; in UpdateTargetCapture()
616 !(captureId == GetRightCaptureId() && rightCaptureIndex_.has_value() && in UpdateCaptureSource()
617 targetIndex == rightCaptureIndex_.value())) { in UpdateCaptureSource()
H A Dswiper_pattern.h1105 std::optional<int32_t> rightCaptureIndex_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_test_ng.cpp1752 EXPECT_EQ(pattern_->rightCaptureIndex_, 3);
1772 EXPECT_EQ(pattern_->rightCaptureIndex_, 0);