Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_test_ng.cpp1903 …auto paddingAndBorderValue = paddingAndBorder.top.value_or(0.0) + pattern_->tabsPaddingAndBorder_.… variable
1905 float offset = Dimension(paddingAndBorderValue - 10.0f, DimensionUnit::PX).ConvertToVp();
1910 offset = Dimension(paddingAndBorderValue + 10.0f, DimensionUnit::PX).ConvertToVp();
1916 offset = Dimension(paddingAndBorderValue - 10.0f, DimensionUnit::PX).ConvertToVp();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp4806 auto paddingAndBorderValue = GetDirection() == Axis::HORIZONTAL in GetCustomPropertyOffset() local
4809 …return Dimension(paddingAndBorderValue + GetPrevMarginWithItemSpace(), DimensionUnit::PX).ConvertT… in GetCustomPropertyOffset()
4817 auto paddingAndBorderValue = GetDirection() == Axis::HORIZONTAL in GetCustomPropertyTargetOffset() local
4823 return Dimension(paddingAndBorderValue - preMarginPX, DimensionUnit::PX).ConvertToVp(); in GetCustomPropertyTargetOffset()
4825 return Dimension(paddingAndBorderValue + preMarginPX, DimensionUnit::PX).ConvertToVp(); in GetCustomPropertyTargetOffset()