Home
last modified time | relevance | path

Searched refs:swiperParameters_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp3978 if (swiperParameters_ == nullptr) { in GetSwiperParameters()
3979 swiperParameters_ = std::make_shared<SwiperParameters>(); in GetSwiperParameters()
3981 CHECK_NULL_RETURN(pipelineContext, swiperParameters_); in GetSwiperParameters()
3983 CHECK_NULL_RETURN(swiperIndicatorTheme, swiperParameters_); in GetSwiperParameters()
3984 swiperParameters_->itemWidth = swiperIndicatorTheme->GetSize(); in GetSwiperParameters()
3985 swiperParameters_->itemHeight = swiperIndicatorTheme->GetSize(); in GetSwiperParameters()
3988 swiperParameters_->maskValue = false; in GetSwiperParameters()
3989 swiperParameters_->colorVal = swiperIndicatorTheme->GetColor(); in GetSwiperParameters()
3991 swiperParameters_->maxDisplayCountVal = 0; in GetSwiperParameters()
3993 return swiperParameters_; in GetSwiperParameters()
[all …]
H A Dswiper_pattern.h262 swiperParameters_ = std::make_shared<SwiperParameters>(swiperParameters); in SetSwiperParameters()
1028 mutable std::shared_ptr<SwiperParameters> swiperParameters_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_indicator_test_ng.cpp231 ASSERT_EQ(pattern_->swiperParameters_->colorVal, swiperParameters.colorVal);
H A Dswiper_attr_test_ng.cpp1122 EXPECT_EQ(pattern->swiperParameters_->colorVal, swiperParameters.colorVal);