Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_modifier.cpp110 float rectTop = in PaintBackground() local
114 float rectBottom = rectTop + (axis_ == Axis::HORIZONTAL ? rectHeight : rectWidth); in PaintBackground()
123 rectTop = rectTop + heightChangeValue * 0.5f; in PaintBackground()
128 rectTop -= heightChangeValue; in PaintBackground()
144 canvas.DrawRoundRect({ { rectLeft, rectTop, rectRight, rectBottom }, radius, radius }); in PaintBackground()
248 float rectTop = 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()
283 …float rectTop = (axis_ == Axis::HORIZONTAL ? leftCenter.GetY() - itemHalfSizes[SELECTED_ITEM_HALF_… in PaintSelectedIndicator() local
296 … { { rectLeft, rectTop, rectRight, rectBottom }, rectSelectedItemWidth, rectSelectedItemWidth }); in PaintSelectedIndicator()
[all …]
H A Doverlength_dot_indicator_modifier.cpp147 float rectTop = 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/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_main_thread_test.cpp3110 nodeTop->oldDirtyInSurface_ = rectTop;
3111 nodeTop->SetDstRect(rectTop);
3149 nodeTop->oldDirtyInSurface_ = rectTop;
3150 nodeTop->SetDstRect(rectTop);
3187 RectI rectTop = RectI(0, 0, 100, 100); variable
3188 nodeTop->oldDirtyInSurface_ = rectTop;
3189 nodeTop->SetDstRect(rectTop);
3226 RectI rectTop = RectI(0, 0, 100, 100); variable
3227 nodeTop->oldDirtyInSurface_ = rectTop;
3228 nodeTop->SetDstRect(rectTop);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp3081 float rectTop = 0.0f; in GetRectOffsetWithPositionEdges() local
3112 rectTop = ConvertToPx(parentPadding->top.value_or(CalcLength(Dimension(0))).GetDimension(), in GetRectOffsetWithPositionEdges()
3132 rectTop = in GetRectOffsetWithPositionEdges()
3154 return OffsetF(rectLeft, rectTop); in GetRectOffsetWithPositionEdges()