Searched refs:IsStretch (Results 1 – 6 of 6) sorted by relevance
40 static bool IsStretch(const RefPtr<SwiperLayoutProperty>& property) in IsStretch() function44 return property->IsStretch(); in IsStretch()61 … if ((!getAutoFill && !IsStretch(property)) || NonPositive(static_cast<double>(displayCount))) { in CreateChildConstraint()
203 if (!IsStretch() || ignorePrevMarginAndNextMargin_) { in GetCalculatedPrevMargin()211 if (!IsStretch() || ignorePrevMarginAndNextMargin_) { in GetCalculatedNextMargin()217 bool IsStretch() const in IsStretch() function
54 (!property->GetDisplayCount().has_value() && SwiperUtils::IsStretch(property))); in CheckIsSingleCase()112 if (SwiperUtils::IsStretch(property)) { in UpdateLayoutInfoBeforeMeasureSwiper()608 …if ((currentIndex - 1 < 0 && !isLoop_) || (SwiperUtils::IsStretch(swiperLayoutProperty) && itemPos… in LayoutBackwardItem()688 if (!SwiperUtils::IsStretch(swiperProperty) || displayCount == 0) { in GetChildMainAxisSize()867 …(!SwiperUtils::IsStretch(swiperLayoutProperty) && targetIndex_ && currentIndex > targetIndex_.valu… in LayoutBackward()
280 …bool hasCachedCapture = SwiperUtils::IsStretch(props) && props->GetLoop().value_or(true) && !IsSwi… in InitCapture()1102 } else if (!itemPosition_.empty() && SwiperUtils::IsStretch(props)) { in OnDirtyLayoutWrapperSwap()1203 return !SwiperUtils::IsStretch(props); in IsAutoLinear()2945 if (!childScrolling_ && SwiperUtils::IsStretch(props) && GetDisplayCount() == 1) { in ComputeNextIndexByVelocity()3927 (TotalDisPlayCount() == TotalCount() && SwiperUtils::IsStretch(props) && in IsLoop()4833 if (SwiperUtils::IsStretch(props)) { in TotalDisPlayCount()
917 SwiperUtils::IsStretch(swiperLayoutProperty); in SupportSwiperCustomAnimation()
460 EXPECT_TRUE(SwiperUtils::IsStretch(layoutProperty_));475 EXPECT_FALSE(SwiperUtils::IsStretch(layoutProperty_));