Home
last modified time | relevance | path

Searched refs:GetY (Results 1 - 25 of 854) sorted by relevance

12345678910>>...35

/foundation/arkui/ace_engine/frameworks/core/components/tip/
H A Drosen_render_tip.cpp98 path_.moveTo(globalArrowPosition.GetX() + arrowOffset, globalArrowPosition.GetY()); in PaintTopTip()
100 globalArrowPosition.GetY() + NormalizeToPx(BEZIER_VERTICAL_OFFSET_FIRST), in PaintTopTip()
102 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_SECOND)); in PaintTopTip()
104 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD), in PaintTopTip()
106 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD)); in PaintTopTip()
108 globalArrowPosition.GetY() - bubbleSpacing); in PaintTopTip()
109 path_.arcTo(NormalizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY()), in PaintTopTip()
111 globalArrowPosition.GetY() - bubbleSpacing - NormalizeToPx(border_.BottomRightRadius().GetY())); in PaintTopTip()
113 globalArrowPosition.GetY() in PaintTopTip()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_moon_track.cpp57 canvas->drawCircle(center.GetX(), center.GetY(), radius, backgroundPaint); in Paint()
60 path.moveTo(center.GetX(), center.GetY() - radius); in Paint()
61 path.addArc({ center.GetX() - radius, center.GetY() - radius, center.GetX() + radius, center.GetY() + radius }, in Paint()
64 path.addArc({ center.GetX() - progressOffset, center.GetY() - radius, center.GetX() + progressOffset, in Paint()
65 center.GetY() + radius }, in Paint()
70 path.moveTo(center.GetX(), center.GetY() - radius); in Paint()
71 path.addArc({ center.GetX() - radius, center.GetY() - radius, center.GetX() + radius, center.GetY() + radius }, in Paint()
74 path.addArc({ center.GetX() - progressOffset, center.GetY() in Paint()
[all...]
H A Drosen_render_linear_track.cpp69 const RSPoint gradientPoints[2] = { { pts.GetX() - scanLeftOffset, pts.GetY() },
70 { pts.GetX() + scanRightOffset, pts.GetY() } };
122 { startRect, offset.GetY(), endRect, offset.GetY() + trackHeight }, trackHeight * HALF, trackHeight * HALF); in Paint()
134 startRect = isReverse_ ? offset.GetY() + GetLayoutSize().Height() : offset.GetY(); in Paint()
152 { startRect, offset.GetY(), endRect, offset.GetY() + trackHeight }, trackHeight * HALF, trackHeight * HALF); in Paint()
153 selectPaint.setShader(BlendSkShader({ startRect + scanHighLightValue_ * trackLength, offset.GetY() }, in Paint()
165 RSRoundRect cachedRect(RSRect(startRect, offset.GetY(), endRec in Paint()
[all...]
/foundation/arkui/ui_lite/test/unittest/layout/
H A Dgrid_layout_unit_test.cpp31 EXPECT_EQ(view->GetY(), 0); in CreatView()
89 EXPECT_EQ(view1->GetY(), 25); // 25: view y after layout in HWTEST_F()
91 EXPECT_EQ(view2->GetY(), view1->GetY()); in HWTEST_F()
93 EXPECT_EQ(view3->GetY(), view1->GetY()); in HWTEST_F()
95 EXPECT_EQ(view4->GetY(), 175); // 175: view x after layout in HWTEST_F()
130 EXPECT_EQ(view1->GetY(), 25); // 25: view y after layout in HWTEST_F()
132 EXPECT_EQ(view2->GetY(), 175); // 175: view y afert layout in HWTEST_F()
134 EXPECT_EQ(view3->GetY(), view in HWTEST_F()
[all...]
H A Dflex_layout_unit_test.cpp31 EXPECT_EQ(view->GetY(), 0); in CreatView()
84 EXPECT_EQ(view1->GetY(), 0); in HWTEST_F()
86 EXPECT_EQ(view2->GetY(), 0); in HWTEST_F()
88 EXPECT_EQ(view3->GetY(), 0); in HWTEST_F()
119 EXPECT_EQ(view1->GetY(), 100); // 100: view x after layout in HWTEST_F()
121 EXPECT_EQ(view2->GetY(), 100); // 100: view y after layout in HWTEST_F()
123 EXPECT_EQ(view3->GetY(), 100); // 100: view y after layout in HWTEST_F()
154 EXPECT_EQ(view1->GetY(), 100); // 100: view x after layout in HWTEST_F()
156 EXPECT_EQ(view2->GetY(), 100); // 100: view y after layout in HWTEST_F()
158 EXPECT_EQ(view3->GetY(), 10 in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drosen_render_bubble.cpp49 SkRect rect = SkRect::MakeXYWH(childOffset_.GetX(), childOffset_.GetY(), childSize_.Width(), childSize_.Height()); in MakeRRect()
53 SkPoint::Make(NormalizeToPx(border_.TopLeftRadius().GetX()), NormalizeToPx(border_.TopLeftRadius().GetY())); in MakeRRect()
55 SkPoint::Make(NormalizeToPx(border_.TopRightRadius().GetX()), NormalizeToPx(border_.TopRightRadius().GetY())); in MakeRRect()
57 NormalizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY())); in MakeRRect()
59 NormalizeToPx(border_.BottomLeftRadius().GetX()), NormalizeToPx(border_.BottomLeftRadius().GetY())); in MakeRRect()
66 RSRect rect = RSRect(childOffset_.GetX(), childOffset_.GetY(), childSize_.Width() + childOffset_.GetX(), in MakeRRect()
67 childSize_.Height() + childOffset_.GetY()); in MakeRRect()
71 RSPoint(NormalizeToPx(border_.TopLeftRadius().GetX()), NormalizeToPx(border_.TopLeftRadius().GetY()))); in MakeRRect()
73 RSPoint(NormalizeToPx(border_.TopRightRadius().GetX()), NormalizeToPx(border_.TopRightRadius().GetY()))); in MakeRRect()
75 RSPoint(NormalizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY()))); in MakeRRect()
[all...]
H A Drender_bubble.cpp176 accessibilityNode->SetTop((offset.GetY()) * viewScale); in UpdateAccessibilityInfo()
380 targetOffset_.GetY() - scaledBubbleSpacing - NormalizePercentToPx(margin_.Bottom(), true)); in InitArrowTopAndBottomPosition()
382 targetOffset_.GetY() + targetSize_.Height() + scaledBubbleSpacing + NormalizePercentToPx(margin_.Top(), true)); in InitArrowTopAndBottomPosition()
390 targetOffset_.GetY() + targetSize_.Height() + scaledBubbleSpacing + NormalizePercentToPx(margin_.Top(), true)); in GetChildPosition()
395 targetOffset_.GetY() - childSize.Height() - scaledBubbleSpacing - NormalizePercentToPx(margin_.Bottom(), true)); in GetChildPosition()
453 targetOffset_.GetY() - childSize.Height() - bubbleSpacing * 2.0 - marginBottom); in GetPositionWithPlacement()
458 targetOffset_.GetY() - childSize.Height() - targetSpace - bubbleSpacing - marginBottom); in GetPositionWithPlacement()
467 targetOffset_.GetY() + targetSize_.Height() + targetSpace + bubbleSpacing + marginTop); in GetPositionWithPlacement()
472 targetOffset_.GetY() + targetSize_.Height() + targetSpace + bubbleSpacing + marginTop); in GetPositionWithPlacement()
477 targetOffset_.GetY() in GetPositionWithPlacement()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_tip_modifier.cpp117 textOffset_.SetY(vertex_.GetY() + (bubbleSize_.Height() - textSize.Height() + arrowSizeHeight) * HALF); in PaintText()
119 textOffset_.SetY(vertex_.GetY() - (bubbleSize_.Height() + textSize.Height() + arrowSizeHeight) * HALF); in PaintText()
122 textOffset_.SetY(vertex_.GetY() - textSize.Height() * HALF); in PaintText()
133 paragraph_->Paint(context.canvas, textOffset_.GetX(), textOffset_.GetY()); in PaintText()
144 if (sliderGlobalOffset_->Get().GetY() + vertex_.GetY() < bubbleSize_.Height()) { in PaintHorizontalBubble()
147 path.MoveTo(vertex_.GetX(), vertex_.GetY()); in PaintHorizontalBubble()
149 vertex_.GetY() + arrowVerticalOffset); in PaintHorizontalBubble()
150 path.LineTo(vertex_.GetX() + arrowSizeWidth * HALF, vertex_.GetY() + arrowSizeHeight); in PaintHorizontalBubble()
152 vertex_.GetX() + arrowSizeWidth * HALF, vertex_.GetY() in PaintHorizontalBubble()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/window/
H A Ddrag_window_ohos.cpp339 if (renderText->GetStartOffset().GetY() == renderText->GetEndOffset().GetY()) { in DrawText()
341 renderText->GetStartOffset().GetY() - renderText->GetGlobalOffset().GetY()); in DrawText()
343 renderText->GetEndOffset().GetY() - renderText->GetGlobalOffset().GetY()); in DrawText()
345 renderText->GetEndOffset().GetY() - renderText->GetSelectHeight() - renderText->GetGlobalOffset().GetY()); in DrawText()
347 renderText->GetStartOffset().GetY() - renderText->GetSelectHeight() - renderText->GetGlobalOffset().GetY()); in DrawText()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drect_painter.cpp33 radiusXY[0].SetY(static_cast<float>(rectPaintProperty.GetTopLeftRadiusValue().GetY().ConvertToPx())); in DrawRect()
37 radiusXY[1].SetY(static_cast<float>(rectPaintProperty.GetTopRightRadiusValue().GetY().ConvertToPx())); in DrawRect()
41 radiusXY[2].SetY(static_cast<float>(rectPaintProperty.GetBottomRightRadiusValue().GetY().ConvertToPx())); in DrawRect()
45 radiusXY[3].SetY(static_cast<float>(rectPaintProperty.GetBottomLeftRadiusValue().GetY().ConvertToPx())); in DrawRect()
49 if (Negative(radius.GetX()) && NonNegative(radius.GetY())) { in DrawRect()
50 radius.SetX(radius.GetY()); in DrawRect()
53 if (Negative(radius.GetY()) && NonNegative(radius.GetX())) { in DrawRect()
60 RSRect(rect.GetX(), rect.GetY(), rect.Width() + rect.GetX(), rect.Height() + rect.GetY()), radiusXY); in DrawRect()
/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drosen_render_checkbox.cpp154 double originY = origin.GetY(); in DrawPartSelect()
160 path.MoveTo(originX + start.GetX(), originY + start.GetY()); in DrawPartSelect()
161 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawPartSelect()
202 double originY = origin.GetY(); in DrawCheck()
210 path.MoveTo(originX + start.GetX(), originY + start.GetY()); in DrawCheck()
211 path.LineTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck()
221 path.MoveTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck()
222 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawCheck()
236 double originY = origin.GetY(); in DrawBorder()
249 double originY = origin.GetY(); in DrawAnimationOffToOn()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/badge/
H A Drosen_render_badge.cpp71 rRect.offset(offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY()); in DrawCircleBadge()
73 boundaryStartY = offset.GetY(); in DrawCircleBadge()
76 offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY() + height_ / 2 - badgeCircleRadius_); in DrawCircleBadge()
78 boundaryStartY = offset.GetY() + height_ / 2 - badgeCircleRadius_; in DrawCircleBadge()
80 rRect.offset(offset.GetX(), offset.GetY() + height_ / 2 - badgeCircleRadius_); in DrawCircleBadge()
82 boundaryStartY = offset.GetY() + height_ / 2 - badgeCircleRadius_; in DrawCircleBadge()
88 boundaryStartY = offset.GetY() + badgePositionY.ConvertToPx(); in DrawCircleBadge()
119 rRect.Offset(offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY()); in DrawCircleBadge()
121 boundaryStartY = offset.GetY(); in DrawCircleBadge()
124 offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY() in DrawCircleBadge()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Dpoint_test.cpp51 EXPECT_EQ(0.0f, pointf->GetY()); in HWTEST_F()
95 EXPECT_EQ(2.0f, pointf->GetY()); in HWTEST_F()
109 EXPECT_EQ(1.0f, pointf->GetY()); in HWTEST_F()
151 EXPECT_EQ(1.0f, pointf->GetY()); in HWTEST_F()
165 EXPECT_EQ(2.0f, pointf->GetY()); in HWTEST_F()
181 EXPECT_EQ(2.0f, pointf1.GetY()); in HWTEST_F()
197 EXPECT_EQ(1.0f, pointf1.GetY()); in HWTEST_F()
213 EXPECT_EQ(-2.0f, pointf1.GetY()); in HWTEST_F()
229 EXPECT_EQ(-1.0f, pointf1.GetY()); in HWTEST_F()
244 EXPECT_EQ(6.0f, pointf1.GetY()); in HWTEST_F()
[all...]
H A Dpoint3_test.cpp51 EXPECT_EQ(0.0f, point3->GetY()); in HWTEST_F()
96 EXPECT_EQ(2.0f, point3->GetY()); in HWTEST_F()
111 EXPECT_EQ(5.0f, point3->GetY()); in HWTEST_F()
154 EXPECT_EQ(1.0f, point3->GetY()); in HWTEST_F()
168 EXPECT_EQ(2.0f, point3->GetY()); in HWTEST_F()
212 EXPECT_EQ(2.0f, point1.GetY()); in HWTEST_F()
229 EXPECT_EQ(2.0f, point1.GetY()); in HWTEST_F()
246 EXPECT_EQ(-2.0f, point1.GetY()); in HWTEST_F()
263 EXPECT_EQ(-2.0f, point1.GetY()); in HWTEST_F()
279 EXPECT_EQ(4.0f, point3.GetY()); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_proxy.cpp40 auto point = Point(info.GetGlobalPoint().GetX(), info.GetGlobalPoint().GetY(), info.GetScreenLocation().GetX(), in OnDragStart()
41 info.GetScreenLocation().GetY()); in OnDragStart()
42 auto pointerEvent = PointerEvent(info.GetGlobalPoint().GetX(), info.GetGlobalPoint().GetY(), in OnDragStart()
43 info.GetScreenLocation().GetX(), info.GetScreenLocation().GetY()); in OnDragStart()
58 manager->OnDragMove(PointerEvent(info.GetGlobalPoint().GetX(), info.GetGlobalPoint().GetY(), in OnDragMove()
59 info.GetScreenLocation().GetX(), info.GetScreenLocation().GetY()), extraInfo); in OnDragMove()
72 static_cast<float>(info.GetGlobalPoint().GetY()), extraInfo); in OnDragEnd()
74 manager->OnDragEnd(PointerEvent(info.GetGlobalPoint().GetX(), info.GetGlobalPoint().GetY(), in OnDragEnd()
75 info.GetScreenLocation().GetX(), info.GetScreenLocation().GetY()), extraInfo); in OnDragEnd()
98 static_cast<float>(info.GetGlobalPoint().GetX()), static_cast<float>(info.GetGlobalPoint().GetY()), frameNod in OnItemDragStart()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/drag_bar/
H A Drosen_render_drag_bar.cpp76 SkDoubleToScalar(barLeftPoint_.GetY() * scaleY_ + totalOffset.GetY())); in Paint()
78 SkDoubleToScalar(barCenterPoint_.GetY() * scaleY_ + totalOffset.GetY())); in Paint()
80 SkDoubleToScalar(barRightPoint_.GetY() * scaleY_ + totalOffset.GetY())); in Paint()
107 static_cast<RSScalar>(barLeftPoint_.GetY() * scaleY_ + totalOffset.GetY())); in Paint()
109 static_cast<RSScalar>(barCenterPoint_.GetY() * scaleY_ + totalOffset.GetY())); in Paint()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/shadow/
H A Drosen_render_shadow.cpp53 clipRect_.GetOffset().GetY(), clipRect_.Width() + NormalizeToPx(SHADOW_OFFSET), in Paint()
58 clipRect_.GetOffset().GetY(), in Paint()
60 clipRect_.Height() + NormalizeToPx(SHADOW_OFFSET) + clipRect_.GetOffset().GetY()), in Paint()
66 double radiusY = NormalizeToPx(rrect_.GetCorner().bottomLeftRadius.GetY()); in Paint()
73 SkRect rect = SkRect::MakeXYWH(offset_.GetX(), offset_.GetY(), rrect_.Width(), rrect_.Height()); in Paint()
76 offset_.GetX(), offset_.GetY() + NormalizeToPx(SHADOW_OFFSET), rrect_.Width(), rrect_.Height()); in Paint()
89 offset_.GetX(), offset_.GetY(), offset_.GetX() + rrect_.Width(), offset_.GetY() + rrect_.Height()); in Paint()
91 rect = RSRect(offset_.GetX(), offset_.GetY() + NormalizeToPx(SHADOW_OFFSET), in Paint()
92 rrect_.Width() + offset_.GetX(), rrect_.Height() + offset_.GetY() in Paint()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/chart/
H A Drosen_render_chart.cpp70 paintRegion.GetOffset().GetY() + paintRegion.Height() - in ConvertDataToPosition()
71 (point.GetY() - vertical_.min) * paintRegion.Height() / yLength); in ConvertDataToPosition()
85 Rect(offset.GetX(), offset.GetY(), GetLayoutSize().Width() * 0.1, GetLayoutSize().Height()); in Paint()
87 Rect(offset.GetX(), offset.GetY() + GetLayoutSize().Height() - GetLayoutSize().Height() * 0.1, in Paint()
91 dataRegion = Rect(offset.GetX() + EDGE_PADDING, offset.GetY() + DOUBLE_TEXT_PADDING, in Paint()
96 dataRegion = Rect(offset.GetX() + tickHorizontalOffset_ + EDGE_PADDING, offset.GetY() + EDGE_PADDING, in Paint()
218 pointPosition.GetY() - textSize.Height() - TEXT_PADDING); in PaintText()
221 pointPosition.GetY() + TEXT_PADDING); in PaintText()
252 canvas->drawCircle(offset.GetX(), offset.GetY(), innerRadius, paint); in PaintPoint()
254 canvas->drawCircle(offset.GetX(), offset.GetY(), pointSiz in PaintPoint()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/piece/
H A Drosen_render_piece.cpp89 SkRect rect = SkRect::MakeXYWH(offset.GetX(), offset.GetY(), size.Width(), size.Height()); in MakeRRect()
93 SkPoint::Make(NormalizeToPx(border.TopLeftRadius().GetX()), NormalizeToPx(border.TopLeftRadius().GetY())); in MakeRRect()
95 SkPoint::Make(NormalizeToPx(border.TopRightRadius().GetX()), NormalizeToPx(border.TopRightRadius().GetY())); in MakeRRect()
97 NormalizeToPx(border.BottomRightRadius().GetX()), NormalizeToPx(border.BottomRightRadius().GetY())); in MakeRRect()
99 SkPoint::Make(NormalizeToPx(border.BottomLeftRadius().GetX()), NormalizeToPx(border.BottomLeftRadius().GetY())); in MakeRRect()
108 RSRect(offset.GetX(), offset.GetY(), size.Width() + offset.GetX(), size.Height() + offset.GetY()); in MakeRRect()
113 NormalizeToPx(border.TopLeftRadius().GetX()), NormalizeToPx(border.TopLeftRadius().GetY())); in MakeRRect()
116 NormalizeToPx(border.TopRightRadius().GetX()), NormalizeToPx(border.TopRightRadius().GetY())); in MakeRRect()
119 NormalizeToPx(border.BottomRightRadius().GetX()), NormalizeToPx(border.BottomRightRadius().GetY())); in MakeRRect()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Drosen_render_text_overlay.cpp79 if (isSingleHandle_ && clipRect_.IsInRegion(Point(startHandleOffset_.GetX(), startHandleOffset_.GetY()))) { in PaintHandles()
86 clipRect_.IsInRegion(Point(startHandleOffset_.GetX(), startHandleOffset_.GetY()))) { in PaintHandles()
93 if (showOption_.showEndHandle && clipRect_.IsInRegion(Point(endHandleOffset_.GetX(), endHandleOffset_.GetY()))) { in PaintHandles()
108 skCanvas->translate(centerOffset.GetX(), centerOffset.GetY()); in PaintHandle()
129 skCanvas->drawLine(startPoint.GetX(), startPoint.GetY(), endPoint.GetX(), endPoint.GetY(), paint); in PaintHandle()
142 canvas->Translate(centerOffset.GetX(), centerOffset.GetY()); in PaintHandle()
169 canvas->DrawLine(RSPoint(startPoint.GetX(), startPoint.GetY()), RSPoint(endPoint.GetX(), endPoint.GetY())); in PaintHandle()
195 globalY = textFieldGlobalOffset.GetY() in PaintMagnifier()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drosen_render_list_item.cpp85 globalOffset.GetY() + size.Height() / 2.0); in OnPaintFinish()
90 size.Height() * (1 - scale_) / 2.0 + globalOffset.GetY()); in OnPaintFinish()
221 double startPointY = isVertical ? position.GetY() + height : position.GetY() + startPointOffset; in PaintItemDivider()
229 double endPointY = isVertical ? startPointY : position.GetY() + std::min(height, startOrigin + length); in PaintItemDivider()
281 double height = GetLayoutSize().Height() + offset.GetY(); in PaintStickyEffect()
282 if (offset.GetY() <= 0.0) { in PaintStickyEffect()
284 center.SetY(GetLayoutSize().Height() + offset.GetY() - GetStickyRadius()); in PaintStickyEffect()
288 canvas->drawCircle(center.GetX(), center.GetY(), GetStickyRadius(), paint); in PaintStickyEffect()
293 canvas->DrawCircle(RSPoint(center.GetX(), center.GetY()), GetStickyRadiu in PaintStickyEffect()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_click_function.cpp41 obj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenOffset.GetY())); in Execute()
43 obj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
45 obj->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
47 obj->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY())); in Execute()
75 obj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenOffset.GetY())); in Execute()
77 obj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
79 obj->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
81 obj->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY())); in Execute()
112 obj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenOffset.GetY())); in Execute()
114 obj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/data_panel/
H A Drosen_render_data_panel.cpp54 center.GetY() - diameter / 2 + thickness / 2, diameter - thickness, diameter - thickness); in PaintTrackBackground()
69 RSRect rect(center.GetX() - diameter / 2 + thickness / 2, center.GetY() - diameter / 2 + thickness / 2,
71 center.GetY() - diameter / 2 + thickness / 2 + diameter - thickness);
171 SkRect rect = SkRect::MakeXYWH(center.GetX() - radius + thickness / 2, center.GetY() - radius + thickness / 2, in PaintProgress()
203 canvas->rotate(startAngle, center.GetX(), center.GetY()); in PaintProgress()
204 canvas->drawCircle(center.GetX(), center.GetY() - radius + thickness / 2, thickness / 2, startCirclePaint); in PaintProgress()
209 gradientPaint.setShader(BlendSkShader(center.GetX(), center.GetY(), colors, pos, 2, percent * drawAngle, in PaintProgress()
211 canvas->rotate(startAngle - QUARTER_CIRCLE, center.GetX(), center.GetY()); in PaintProgress()
216 canvas->rotate(drawAngle + startAngle, center.GetX(), center.GetY()); in PaintProgress()
217 canvas->drawCircle(center.GetX(), center.GetY() in PaintProgress()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drosen_render_grid_layout.cpp54 SkRect skRect = SkRect::MakeXYWH(mouseStartOffset_.GetX(), mouseStartOffset_.GetY(), in PaintSelectedZone()
55 mouseEndOffset_.GetX()-mouseStartOffset_.GetX(), mouseEndOffset_.GetY()-mouseStartOffset_.GetY()); in PaintSelectedZone()
71 RSRect rect = RSRect(mouseStartOffset_.GetX(), mouseStartOffset_.GetY(), in PaintSelectedZone()
72 mouseEndOffset_.GetX(), mouseEndOffset_.GetY()); in PaintSelectedZone()
105 SkRect skRect = SkRect::MakeXYWH(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY(), in PaintItemZone()
115 RSRect rect = RSRect(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY(), in PaintItemZone()
116 paintRect.Width() + paintRect.GetOffset().GetX(), paintRect.Height() + paintRect.GetOffset().GetY()); in PaintItemZone()
/foundation/arkui/ace_engine/frameworks/core/components/arc/
H A Drosen_render_arc.cpp66 offset.GetY() + widthHalf, in Paint()
68 offset.GetY() + arcRadiusY_ * ARC_RADIUS_TO_DIAMETER - widthHalf), in Paint()
74 offset.GetX(), offset.GetY(), in Paint()
76 offset.GetY() + arcRadiusY_ * ARC_RADIUS_TO_DIAMETER), in Paint()
96 offset.GetX() + widthHalf, offset.GetY() + widthHalf, in Paint()
98 offset.GetY() + arcRadiusY_ * ARC_RADIUS_TO_DIAMETER - widthHalf), in Paint()
108 RSRect(offset.GetX(), offset.GetY(), in Paint()
110 offset.GetY() + arcRadiusY_ * ARC_RADIUS_TO_DIAMETER), in Paint()

Completed in 16 milliseconds

12345678910>>...35