Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_modifier.cpp108 float rectLeft = in PaintBackground() local
113 float rectRight = rectLeft + (axis_ == Axis::HORIZONTAL ? rectWidth : rectHeight); in PaintBackground()
118 rectLeft -= widthChangeValue; in PaintBackground()
133 rectLeft = rectLeft + widthChangeValue * 0.5f; in PaintBackground()
144 canvas.DrawRoundRect({ { rectLeft, rectTop, rectRight, rectBottom }, radius, radius }); in PaintBackground()
246 float rectLeft = in PaintUnselectedIndicator() local
256 …canvas.DrawRoundRect({ { rectLeft, rectTop, rectRight, rectBottom }, rectItemWidth, rectItemWidth … in PaintUnselectedIndicator()
258 …canvas.DrawRoundRect({ { rectLeft, rectTop, rectRight, rectBottom }, rectItemHeight, rectItemHeigh… in PaintUnselectedIndicator()
280 …float rectLeft = (axis_ == Axis::HORIZONTAL ? leftCenter.GetX() - itemHalfSizes[SELECTED_ITEM_HALF… in PaintSelectedIndicator() local
296 … { { rectLeft, rectTop, rectRight, rectBottom }, rectSelectedItemWidth, rectSelectedItemWidth }); in PaintSelectedIndicator()
[all …]
H A Doverlength_dot_indicator_modifier.cpp145 float rectLeft = in PaintUnselectedIndicator() local
155 canvas.DrawRoundRect({ { rectLeft, rectTop, rectRight, rectBottom }, width, width }); in PaintUnselectedIndicator()
157 canvas.DrawRoundRect({ { rectLeft, rectTop, rectRight, rectBottom }, height, height }); in PaintUnselectedIndicator()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp3082 float rectLeft = 0.0f; in GetRectOffsetWithPositionEdges() local
3122rectLeft = ConvertToPx(parentPadding->left.value_or(CalcLength(Dimension(0))).GetDimension(), in GetRectOffsetWithPositionEdges()
3144 rectLeft = parentWidth - selfWidth - in GetRectOffsetWithPositionEdges()
3154 return OffsetF(rectLeft, rectTop); in GetRectOffsetWithPositionEdges()