Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
Dindicator_pattern.h129 auto indicatorLayoutAlgorithm = MakeRefPtr<DotIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
130 indicatorLayoutAlgorithm->SetIsHoverOrPress(IsHover() || IsPressed()); in CreateLayoutAlgorithm()
131 indicatorLayoutAlgorithm->SetHoverPoint(GetHoverPoint()); in CreateLayoutAlgorithm()
132 indicatorLayoutAlgorithm->SetIndicatorDisplayCount(GetCountFromProperty()); in CreateLayoutAlgorithm()
133 indicatorLayoutAlgorithm->SetIsSingle(true); in CreateLayoutAlgorithm()
134 return indicatorLayoutAlgorithm; in CreateLayoutAlgorithm()
136 auto indicatorLayoutAlgorithm = MakeRefPtr<DigitIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
137 indicatorLayoutAlgorithm->SetIsHoverOrPress(IsHover() || IsPressed()); in CreateLayoutAlgorithm()
138 indicatorLayoutAlgorithm->SetHoverPoint(GetHoverPoint()); in CreateLayoutAlgorithm()
139 indicatorLayoutAlgorithm->SetIsSingle(true); in CreateLayoutAlgorithm()
[all …]
Dswiper_indicator_pattern.h70 auto indicatorLayoutAlgorithm = MakeRefPtr<DotIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
71 indicatorLayoutAlgorithm->SetIsHoverOrPress(isHover_ || isPressed_); in CreateLayoutAlgorithm()
72 indicatorLayoutAlgorithm->SetHoverPoint(hoverPoint_); in CreateLayoutAlgorithm()
76 … maxDisplayCount > 0 ? indicatorLayoutAlgorithm->SetIndicatorDisplayCount(maxDisplayCount) in CreateLayoutAlgorithm()
77 … : indicatorLayoutAlgorithm->SetIndicatorDisplayCount(indicatorDisplayCount); in CreateLayoutAlgorithm()
78 indicatorLayoutAlgorithm->SetMaxDisplayCount(maxDisplayCount); in CreateLayoutAlgorithm()
79 indicatorLayoutAlgorithm->SetIsBindIndicator(swiperPattern->IsBindIndicator()); in CreateLayoutAlgorithm()
80indicatorLayoutAlgorithm->SetIndicatorInteractive(swiperPattern->IsIndicatorInteractive()); in CreateLayoutAlgorithm()
81 return indicatorLayoutAlgorithm; in CreateLayoutAlgorithm()
83 auto indicatorLayoutAlgorithm = MakeRefPtr<CircleDotIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
[all …]