Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.h66 auto indicatorLayoutAlgorithm = MakeRefPtr<DotIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
67 indicatorLayoutAlgorithm->SetIsHoverOrPress(isHover_ || isPressed_); in CreateLayoutAlgorithm()
68 indicatorLayoutAlgorithm->SetHoverPoint(hoverPoint_); in CreateLayoutAlgorithm()
71 … maxDisplayCount > 0 ? indicatorLayoutAlgorithm->SetIndicatorDisplayCount(maxDisplayCount) in CreateLayoutAlgorithm()
72 … : indicatorLayoutAlgorithm->SetIndicatorDisplayCount(swiperPattern->TotalCount()); in CreateLayoutAlgorithm()
73 return indicatorLayoutAlgorithm; in CreateLayoutAlgorithm()
75 auto indicatorLayoutAlgorithm = MakeRefPtr<DigitIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
76 indicatorLayoutAlgorithm->SetIsHoverOrPress(isHover_ || isPressed_); in CreateLayoutAlgorithm()
77 indicatorLayoutAlgorithm->SetHoverPoint(hoverPoint_); in CreateLayoutAlgorithm()
78 return indicatorLayoutAlgorithm; in CreateLayoutAlgorithm()