Home
last modified time | relevance | path

Searched refs:GetNextMargin (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_attr_test_ng.cpp756 EXPECT_EQ(pattern_->GetNextMargin(), 0.f);
777 EXPECT_EQ(pattern_->GetNextMargin(), NEXT_MARGIN);
797 EXPECT_EQ(pattern_->GetNextMargin(), 0.f);
816 EXPECT_EQ(pattern_->GetNextMargin(), 0.f);
833 EXPECT_EQ(pattern_->GetNextMargin(), NEXT_MARGIN);
850 EXPECT_EQ(pattern_->GetNextMargin(), 0.f);
1137 EXPECT_EQ(layoutProperty->GetNextMargin(), dimension);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/
H A Dswiper_declaration.h274 const Dimension& GetNextMargin() const in GetNextMargin() function
403 GetNextMargin() == swiper.GetNextMargin() &&
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Dswiper_component.cpp345 const Dimension& SwiperComponent::GetNextMargin() const in GetNextMargin() function in OHOS::Ace::SwiperComponent
347 return declaration_->GetNextMargin(); in GetNextMargin()
H A Dswiper_component.h91 const Dimension& GetNextMargin() const;
H A Drender_swiper.cpp285 …nextMargin_ = swiper_ ? NormalizePercentToPx(swiper_->GetNextMargin(), axis_ == Axis::VERTICAL, tr… in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.h690 float GetNextMargin() const;
697 return Positive(GetNextMargin()) ? GetNextMargin() + GetItemSpace() : 0.0f; in GetNextMarginWithItemSpace()
H A Dswiper_model_ng.h134 static void GetNextMargin(FrameNode* frameNode, int32_t unit, SwiperMarginOptions* options);
H A Dswiper_model_ng.cpp803 void SwiperModelNG::GetNextMargin(FrameNode* frameNode, int32_t unit, SwiperMarginOptions* options) in GetNextMargin() function in OHOS::Ace::NG::SwiperModelNG
H A Dswiper_pattern.cpp259 (props->GetPrevMargin().has_value() || props->GetNextMargin().has_value())) { in OnLoopChange()
1402 auto nextMargin = GetNextMargin(); in CalculateAndUpdateItemInfo()
3815 float SwiperPattern::GetNextMargin() const in GetNextMargin() function in OHOS::Ace::NG::SwiperPattern
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_swiper_modifier.cpp992 SwiperModelNG::GetNextMargin(frameNode, unit, &marginOptions); in GetSwiperNextMargin()