Home
last modified time | relevance | path

Searched refs:swiperHeight (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_utils.h91 float swiperHeight = 0.0f; in CalcIndicatrFrameOffSet() local
94 swiperHeight = layoutConstraint->parentIdealSize.Height().value_or(0.0f); in CalcIndicatrFrameOffSet()
102 swiperHeight, indicatorHeight, direction)}; in CalcIndicatrFrameOffSet()
171 … float swiperHeight, float indicatorHeight, const Axis& direction) in CalcIndicatrOffsetY() argument
175 auto topValue = GetValidEdgeLength(swiperHeight, indicatorHeight, top.value()); in CalcIndicatrOffsetY()
178 auto bottomValue = GetValidEdgeLength(swiperHeight, indicatorHeight, bottom.value()); in CalcIndicatrOffsetY()
179 … offsetY = swiperHeight - indicatorHeight - bottomValue - swiperPaddingBottom - borderWidthBottom; in CalcIndicatrOffsetY()
182 offsetY = swiperHeight - indicatorHeight - swiperPaddingBottom - borderWidthBottom; in CalcIndicatrOffsetY()
184 offsetY = (swiperHeight - swiperPaddingBottom - borderWidthBottom + in CalcIndicatrOffsetY()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_layout_algorithm.cpp93 auto swiperHeight = swiperLayoutConstraint.parentIdealSize.Height().value_or(0.0) - in MeasureSwiper() local
99 if (swiperCaluateHeight < swiperHeight) { in MeasureSwiper()
100 swiperHeight = swiperCaluateHeight; in MeasureSwiper()
104 …tProperty->UpdateUserDefinedIdealSize(CalcSize(CalcLength(swiperWidth), CalcLength(swiperHeight))); in MeasureSwiper()
105 swiperLayoutConstraint.maxSize.SetHeight(swiperHeight); in MeasureSwiper()
106 swiperLayoutConstraint.selfIdealSize.SetHeight(swiperHeight); in MeasureSwiper()