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.h110 auto indicatorLayoutAlgorithm = MakeRefPtr<DotIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
111 indicatorLayoutAlgorithm->SetIsHoverOrPress(IsHover() || IsPressed()); in CreateLayoutAlgorithm()
112 indicatorLayoutAlgorithm->SetHoverPoint(GetHoverPoint()); in CreateLayoutAlgorithm()
113 indicatorLayoutAlgorithm->SetIndicatorDisplayCount(GetCountFromProperty()); in CreateLayoutAlgorithm()
114 indicatorLayoutAlgorithm->SetIsSingle(true); in CreateLayoutAlgorithm()
115 return indicatorLayoutAlgorithm; in CreateLayoutAlgorithm()
117 auto indicatorLayoutAlgorithm = MakeRefPtr<DigitIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
118 indicatorLayoutAlgorithm->SetIsHoverOrPress(IsHover() || IsPressed()); in CreateLayoutAlgorithm()
119 indicatorLayoutAlgorithm->SetHoverPoint(GetHoverPoint()); in CreateLayoutAlgorithm()
120 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()
77 … maxDisplayCount > 0 ? indicatorLayoutAlgorithm->SetIndicatorDisplayCount(maxDisplayCount) in CreateLayoutAlgorithm()
78 … : indicatorLayoutAlgorithm->SetIndicatorDisplayCount(indicatorDisplayCount); in CreateLayoutAlgorithm()
79 indicatorLayoutAlgorithm->SetMaxDisplayCount(maxDisplayCount); in CreateLayoutAlgorithm()
80 indicatorLayoutAlgorithm->SetIsBindIndicator(swiperPattern->IsBindIndicator()); in CreateLayoutAlgorithm()
81indicatorLayoutAlgorithm->SetIndicatorInteractive(swiperPattern->IsIndicatorInteractive()); in CreateLayoutAlgorithm()
82 return indicatorLayoutAlgorithm; in CreateLayoutAlgorithm()
84 auto indicatorLayoutAlgorithm = MakeRefPtr<CircleDotIndicatorLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
[all …]