Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_layout_algorithm.cpp1206 auto horizonOffset = arrowFrameSize.Width() + indicatorPadding; in CalculateCustomOffset() local
1209 offset = currentOffset.GetX() + horizonOffset; in CalculateCustomOffset()
1211 … std::min(offset, swiperFrameSize.Width() - indicatorFrameSize.Width() - horizonOffset)); in CalculateCustomOffset()
1213 offset = currentOffset.GetX() - horizonOffset; in CalculateCustomOffset()
1214 indicatorOffset.SetX(std::max(offset, horizonOffset)); in CalculateCustomOffset()