Home
last modified time | relevance | path

Searched refs:GetItemSpace (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_utils.h47 static float GetItemSpace(const RefPtr<SwiperLayoutProperty>& property) in GetItemSpace() function
52 return property->GetItemSpace().value_or(0.0_px).ConvertToPx(); in GetItemSpace()
68 auto itemSpace = GetItemSpace(property); in CreateChildConstraint()
H A Dswiper_pattern.h688 float GetItemSpace() const;
693 return Positive(GetPrevMargin()) ? GetPrevMargin() + GetItemSpace() : 0.0f; in GetPrevMarginWithItemSpace()
697 return Positive(GetNextMargin()) ? GetNextMargin() + GetItemSpace() : 0.0f; in GetNextMarginWithItemSpace()
H A Dswiper_model_ng.h125 static float GetItemSpace(FrameNode* frameNode);
H A Dswiper_model_ng.cpp729 float SwiperModelNG::GetItemSpace(FrameNode* frameNode) in GetItemSpace() function in OHOS::Ace::NG::SwiperModelNG
H A Dswiper_pattern.cpp1105 … (targetIndexValue - firstItem.first) * (placeItemWidth_.value() + GetItemSpace()); in OnDirtyLayoutWrapperSwap()
1352 auto itemSpace = GetItemSpace(); in CalcVisibleIndex()
1404 auto itemSpace = GetItemSpace(); in CalculateAndUpdateItemInfo()
3789 float SwiperPattern::GetItemSpace() const in GetItemSpace() function in OHOS::Ace::NG::SwiperPattern
3796 auto itemSpace = props->GetItemSpace().value_or(0.0_vp).ConvertToPx(); in GetItemSpace()
H A Dswiper_layout_algorithm.cpp116 auto itemSpace = SwiperUtils::GetItemSpace(property); in UpdateLayoutInfoBeforeMeasureSwiper()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dswiper_composed_element.cpp36 … { "itemSpace", [](const SwiperComposedElement& inspector) { return inspector.GetItemSpace(); } }, in __anon1f3bcfd60a02()
61 DumpLog::GetInstance().AddDesc(std::string("itemSpace: ").append(GetItemSpace())); in Dump()
153 std::string SwiperComposedElement::GetItemSpace() const in GetItemSpace() function in OHOS::Ace::V2::SwiperComposedElement
157 auto itemspace = renderSwiper->GetItemSpace(); in GetItemSpace()
H A Dswiper_composed_element.h44 std::string GetItemSpace() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/
H A Dswiper_declaration.h232 const Dimension& GetItemSpace() const in GetItemSpace() function
400 GetItemSpace() == swiper.GetItemSpace() &&
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Dswiper_component.cpp265 const Dimension& SwiperComponent::GetItemSpace() const in GetItemSpace() function in OHOS::Ace::SwiperComponent
267 return declaration_->GetItemSpace(); in GetItemSpace()
H A Dswiper_component.h79 const Dimension& GetItemSpace() const;
H A Drender_swiper.h156 Dimension GetItemSpace() const in GetItemSpace() function
H A Drender_swiper.cpp248 itemSpace_ = swiper->GetItemSpace(); in Update()
309 double intervalSpace = swiper_ ? NormalizeToPx(swiper_->GetItemSpace()) : 0.0; in PerformLayout()
370 double halfSpace = swiper_ ? NormalizeToPx(swiper_->GetItemSpace()) / 2.0 : 0.0; in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_attr_test_ng.cpp430 EXPECT_EQ(pattern_->GetItemSpace(), 0.f);
445 EXPECT_EQ(pattern_->GetItemSpace(), 10.f);
989 EXPECT_EQ(layoutProperty->GetItemSpace(), dimension);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_swiper_modifier.cpp894 return SwiperModelNG::GetItemSpace(frameNode); in GetSwiperItemSpace()