Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_modifier.cpp245 float rectItemHeight = itemHalfSizes[ITEM_HALF_HEIGHT] * 2; in PaintUnselectedIndicator() local
247 … == Axis::HORIZONTAL ? center.GetX() - rectItemWidth * 0.5 : center.GetY() - rectItemHeight * 0.5); in PaintUnselectedIndicator()
249 …(axis_ == Axis::HORIZONTAL ? center.GetY() - rectItemHeight * 0.5 : center.GetX() - rectItemWidth … in PaintUnselectedIndicator()
251 … == Axis::HORIZONTAL ? center.GetX() + rectItemWidth * 0.5 : center.GetY() + rectItemHeight * 0.5); in PaintUnselectedIndicator()
253 …(axis_ == Axis::HORIZONTAL ? center.GetY() + rectItemHeight * 0.5 : center.GetX() + rectItemWidth … in PaintUnselectedIndicator()
255 if (rectItemHeight > rectItemWidth || !isCustomSize_) { in PaintUnselectedIndicator()
257 } else if (rectItemHeight < rectItemWidth) { in PaintUnselectedIndicator()
258 …as.DrawRoundRect({ { rectLeft, rectTop, rectRight, rectBottom }, rectItemHeight, rectItemHeight }); in PaintUnselectedIndicator()
262 canvas.DrawCircle({ customPointX, customPointY }, rectItemHeight * 0.5); in PaintUnselectedIndicator()