Searched refs:GetNextMargin (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_attr_test_ng.cpp | 756 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 D | swiper_declaration.h | 274 const Dimension& GetNextMargin() const in GetNextMargin() function 403 GetNextMargin() == swiper.GetNextMargin() &&
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/ |
H A D | swiper_component.cpp | 345 const Dimension& SwiperComponent::GetNextMargin() const in GetNextMargin() function in OHOS::Ace::SwiperComponent 347 return declaration_->GetNextMargin(); in GetNextMargin()
|
H A D | swiper_component.h | 91 const Dimension& GetNextMargin() const;
|
H A D | render_swiper.cpp | 285 …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 D | swiper_pattern.h | 690 float GetNextMargin() const; 697 return Positive(GetNextMargin()) ? GetNextMargin() + GetItemSpace() : 0.0f; in GetNextMarginWithItemSpace()
|
H A D | swiper_model_ng.h | 134 static void GetNextMargin(FrameNode* frameNode, int32_t unit, SwiperMarginOptions* options);
|
H A D | swiper_model_ng.cpp | 803 void SwiperModelNG::GetNextMargin(FrameNode* frameNode, int32_t unit, SwiperMarginOptions* options) in GetNextMargin() function in OHOS::Ace::NG::SwiperModelNG
|
H A D | swiper_pattern.cpp | 259 (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 D | node_swiper_modifier.cpp | 992 SwiperModelNG::GetNextMargin(frameNode, unit, &marginOptions); in GetSwiperNextMargin()
|