Home
last modified time | relevance | path

Searched refs:center (Results 1 – 25 of 176) sorted by relevance

12345678

/foundation/ace/ace_engine/frameworks/core/components/track/
Drosen_render_moon_track.cpp29 Offset center = offset + Offset(canvasSize.Width() / 2, canvasSize.Height() / 2); in Paint() local
46 canvas->drawCircle(center.GetX(), center.GetY(), radius, backgroundPaint); in Paint()
49 path.moveTo(center.GetX(), center.GetY() - radius); in Paint()
50 …path.addArc({ center.GetX() - radius, center.GetY() - radius, center.GetX() + radius, center.GetY(… in Paint()
53 …path.addArc({ center.GetX() - progressOffset, center.GetY() - radius, center.GetX() + progressOffs… in Paint()
54 center.GetY() + radius }, in Paint()
59 path.moveTo(center.GetX(), center.GetY() - radius); in Paint()
60 …path.addArc({ center.GetX() - radius, center.GetY() - radius, center.GetX() + radius, center.GetY(… in Paint()
63 …path.addArc({ center.GetX() - progressOffset, center.GetY() - radius, center.GetX() + progressOffs… in Paint()
64 center.GetY() + radius }, in Paint()
Dflutter_render_moon_track.cpp27 Offset center = offset + Offset(canvasSize.Width() / 2, canvasSize.Height() / 2); in Paint() local
41 canvas->canvas()->drawCircle(center.GetX(), center.GetY(), radius, backgroundPaint); in Paint()
44 path->moveTo(center.GetX(), center.GetY() - radius); in Paint()
45 …path->addArc(center.GetX() - radius, center.GetY() - radius, center.GetX() + radius, center.GetY()… in Paint()
48 …path->addArc(center.GetX() - progressOffset, center.GetY() - radius, center.GetX() + progressOffse… in Paint()
49 center.GetY() + radius, 3 * M_PI / 2, -M_PI); in Paint()
53 path->moveTo(center.GetX(), center.GetY() - radius); in Paint()
54 …path->addArc(center.GetX() - radius, center.GetY() - radius, center.GetX() + radius, center.GetY()… in Paint()
57 …path->addArc(center.GetX() - progressOffset, center.GetY() - radius, center.GetX() + progressOffse… in Paint()
58 center.GetY() + radius, 3 * M_PI / 2, M_PI); in Paint()
Drosen_render_circular_track.cpp50 …paint.setShader(SkGradientShader::MakeSweep(trackInfo.center.GetX(), trackInfo.center.GetY(), colo… in DrawArc()
53 …paint.setShader(SkGradientShader::MakeSweep(trackInfo.center.GetX(), trackInfo.center.GetY(), colo… in DrawArc()
63 canvas->drawArc({ trackInfo.center.GetX() + (thickness / 2) - trackInfo.radius, in DrawArc()
64 trackInfo.center.GetY() + (thickness / 2) - trackInfo.radius, in DrawArc()
65 trackInfo.center.GetX() + trackInfo.radius - (thickness / 2), in DrawArc()
66 trackInfo.center.GetY() + trackInfo.radius - (thickness / 2) }, in DrawArc()
75 data.center = offset + Offset(GetLayoutSize().Width() / 2, GetLayoutSize().Height() / 2); in Paint()
84 canvas->rotate(-90.0, data.center.GetX(), data.center.GetY()); in Paint()
Dflutter_render_circular_track.cpp50 …SkGradientShader::MakeSweep(trackInfo.center.GetX(), trackInfo.center.GetY(), colors, position, CO… in DrawArc()
54 …SkGradientShader::MakeSweep(trackInfo.center.GetX(), trackInfo.center.GetY(), colors, position, CO… in DrawArc()
64 canvas->drawArc(trackInfo.center.GetX() + (thickness / 2) - trackInfo.radius, in DrawArc()
65 trackInfo.center.GetY() + (thickness / 2) - trackInfo.radius, in DrawArc()
66 trackInfo.center.GetX() + trackInfo.radius - (thickness / 2), in DrawArc()
67 trackInfo.center.GetY() + trackInfo.radius - (thickness / 2), in DrawArc()
77 data.center = offset + Offset(GetLayoutSize().Width() / 2, GetLayoutSize().Height() / 2); in Paint()
87 canvas.GetSkCanvas()->rotate(-90.0, data.center.GetX(), data.center.GetY()); in Paint()
Drosen_render_arc_track.cpp51 canvas->drawArc({ trackInfo.center.GetX() + (thickness / 2) - trackInfo.radius, in DrawGauge()
52 trackInfo.center.GetY() + (thickness / 2) - trackInfo.radius, in DrawGauge()
53 trackInfo.center.GetX() + trackInfo.radius - (thickness / 2), in DrawGauge()
54 trackInfo.center.GetY() + trackInfo.radius - (thickness / 2) }, in DrawGauge()
78 double pathStartVertexX = trackInfo.center.GetX(); in SetTextStyle()
79 … double pathStartVertexY = trackInfo.center.GetY() - trackInfo.radius + (trackInfo.thickness / 2); in SetTextStyle()
106 double pathStartVertexX = trackInfo.center.GetX(); in DrawIndicator()
107 … double pathStartVertexY = trackInfo.center.GetY() - trackInfo.radius + (trackInfo.thickness / 2); in DrawIndicator()
115 …ate(trackInfo.startDegree + trackInfo.sweepDegree, trackInfo.center.GetX(), trackInfo.center.GetY(… in DrawIndicator()
138 if (data.center.GetX() < 0.0 || data.center.GetY() < 0.0) { in Paint()
[all …]
Dflutter_render_arc_track.cpp49 canvas->drawArc(trackInfo.center.GetX() + (thickness / 2) - trackInfo.radius, in DrawGauge()
50 trackInfo.center.GetY() + (thickness / 2) - trackInfo.radius, in DrawGauge()
51 trackInfo.center.GetX() + trackInfo.radius - (thickness / 2), in DrawGauge()
52 …trackInfo.center.GetY() + trackInfo.radius - (thickness / 2), M_PI * ((trackInfo.startDegree / 180… in DrawGauge()
76 double pathStartVertexX = trackInfo.center.GetX(); in SetTextStyle()
77 … double pathStartVertexY = trackInfo.center.GetY() - trackInfo.radius + (trackInfo.thickness / 2); in SetTextStyle()
105 double pathStartVertexX = trackInfo.center.GetX(); in DrawIndicator()
106 … double pathStartVertexY = trackInfo.center.GetY() - trackInfo.radius + (trackInfo.thickness / 2); in DrawIndicator()
115 … trackInfo.startDegree + trackInfo.sweepDegree, trackInfo.center.GetX(), trackInfo.center.GetY()); in DrawIndicator()
139 if (data.center.GetX() < 0.0 || data.center.GetY() < 0.0) { in Paint()
[all …]
Drosen_render_scale_ring_track.cpp55 canvas->drawArc({ trackInfo.center.GetX() - trackInfo.radius - radiusPrecision, in DrawScaleArc()
56 trackInfo.center.GetY() - trackInfo.radius - radiusPrecision, in DrawScaleArc()
57 trackInfo.center.GetX() + trackInfo.radius + radiusPrecision, in DrawScaleArc()
58 trackInfo.center.GetY() + trackInfo.radius + radiusPrecision }, in DrawScaleArc()
72 data.center = offset + Offset(GetLayoutSize().Width() / 2.0, GetLayoutSize().Height() / 2.0); in Paint()
/foundation/ace/ace_engine/frameworks/core/components/data_panel/
Drosen_render_data_panel.cpp43 void PaintTrackBackground(SkCanvas* canvas, const Offset& center, double thickness, const Color& co… in PaintTrackBackground() argument
48 SkRect rect = SkRect::MakeXYWH(center.GetX() - diameter / 2 + thickness / 2, in PaintTrackBackground()
49 center.GetY() - diameter / 2 + thickness / 2, diameter - thickness, diameter - thickness); in PaintTrackBackground()
121 Offset center = arcData.center; in PaintProgress() local
130 …SkRect rect = SkRect::MakeXYWH(center.GetX() - radius + thickness / 2, center.GetY() - radius + th… in PaintProgress()
162 canvas->rotate(startAngle, center.GetX(), center.GetY()); in PaintProgress()
163 …canvas->drawCircle(center.GetX(), center.GetY() - radius + thickness / 2, thickness / 2, startCirc… in PaintProgress()
168 …gradientPaint.setShader(BlendSkShader(center.GetX(), center.GetY(), colors, pos, 2, percent * draw… in PaintProgress()
170 canvas->rotate(startAngle - QUARTER_CIRCLE, center.GetX(), center.GetY()); in PaintProgress()
175 canvas->rotate(drawAngle + startAngle, center.GetX(), center.GetY()); in PaintProgress()
[all …]
Dflutter_render_data_panel.cpp42 …const ScopedCanvas& canvas, const Offset& center, double thickness, const Color& color, double dia… in PaintTrackBackground() argument
47 SkRect rect = SkRect::MakeXYWH(center.GetX() - diameter / 2 + thickness / 2, in PaintTrackBackground()
48 center.GetY() - diameter / 2 + thickness / 2, diameter - thickness, diameter - thickness); in PaintTrackBackground()
120 Offset center = arcData.center; in PaintProgress() local
129 …SkRect rect = SkRect::MakeXYWH(center.GetX() - radius + thickness / 2, center.GetY() - radius + th… in PaintProgress()
161 canvas->canvas()->rotate(startAngle, center.GetX(), center.GetY()); in PaintProgress()
163 center.GetX(), center.GetY() - radius + thickness / 2, thickness / 2, startCirclePaint); in PaintProgress()
168 …gradientPaint.setShader(BlendSkShader(center.GetX(), center.GetY(), colors, pos, 2, percent * draw… in PaintProgress()
170 canvas->canvas()->rotate(startAngle - QUARTER_CIRCLE, center.GetX(), center.GetY()); in PaintProgress()
175 canvas->canvas()->rotate(drawAngle + startAngle, center.GetX(), center.GetY()); in PaintProgress()
[all …]
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/test/jsDmsDemo/dmsDemo/entry/src/main/js/RemoteAbility/pages/index/
Dindex.css20 align-items: center;
21 justify-content: center;
24 background-position: center center;
33 text-align: center;
39 align-items: center;
43 align-items: center;
60 text-align: center;
65 text-align: center;
100 align-items: center;
114 align-items: center;
[all …]
/foundation/ace/ace_engine/frameworks/base/geometry/
Dpoint.h63 void Rotate(const Point& center, double angle) in Rotate() argument
65 …double x = (x_ - center.GetX()) * std::cos(angle) - (y_ - center.GetY()) * std::sin(angle) + cente… in Rotate()
66 …double y = (x_ - center.GetX()) * std::sin(angle) + (y_ - center.GetY()) * std::cos(angle) + cente… in Rotate()
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/base/PercentSupport/
Dindex.css20 justify-content: center;
21 align-items: center;
27 justify-content: center;
28 align-items: center;
43 justify-content: center;
44 align-items: center;
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/image-animator/01/
Dindex.css16 justify-content: center;
18 align-items: center;
28 align-items: center;
29 justify-content: center;
33 text-align: center;
44 align-items: center;
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/base/VersionCheck001/
Dindex.css17 justify-content: center;
18 align-items: center;
27 text-align: center;
33 text-align: center;
40 text-align: center;
46 justify-content: center;
/foundation/graphic/ui/frameworks/draw/
Ddraw_arc.cpp137 int16_t yStart = mask.GetTop() - arcInfo.center.y; in DrawCircleNoEndpoint()
138 int16_t yEnd = mask.GetBottom() - arcInfo.center.y; in DrawCircleNoEndpoint()
211 … DrawHorLine(gfxDstBuffer, arcInfo.center, arcInfo.imgPos, mask, 0, style, opa, arcInfo.imgSrc); in DrawAxisLine()
216 …orLine(gfxDstBuffer, Point { static_cast<int16_t>(arcInfo.center.x - outRadius), arcInfo.center.y … in DrawAxisLine()
221 …orLine(gfxDstBuffer, Point { static_cast<int16_t>(arcInfo.center.x + inRadius), arcInfo.center.y }, in DrawAxisLine()
226 …DrawVerLine(gfxDstBuffer, Point { arcInfo.center.x, static_cast<int16_t>(arcInfo.center.y - outRad… in DrawAxisLine()
231 …DrawVerLine(gfxDstBuffer, Point { arcInfo.center.x, static_cast<int16_t>(arcInfo.center.y + inRadi… in DrawAxisLine()
248 …Point {static_cast<int16_t>(arcInfo.center.x + start), static_cast<int16_t>(arcInfo.center.y + y)}, in DrawLineWithDegree()
267 …Point { static_cast<int16_t>(arcInfo.center.x + start), static_cast<int16_t>(arcInfo.center.y + y)… in DrawLineWithDegree()
313 …Point { static_cast<int16_t>(arcInfo.center.x + drawStart), static_cast<int16_t>(arcInfo.center.y … in DrawLineWithDegreeInner()
[all …]
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/style/StyleBaseTest001/
Dindex.css17 justify-content: center;
18 align-items: center;
27 text-align: center;
33 text-align: center;
44 text-align: center;
50 justify-content: center;
/foundation/ace/ace_engine_lite/frameworks/examples/airquality/src/main/js/default/pages/index/
Dindex.css16 text-align: center;
24 text-align: center;
31 text-align: center;
42 center-x: 227px;
43 center-y: 250px;
59 text-align: center;
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/image-animator/06/
Dindex.css16 justify-content: center;
17 align-items: center;
27 text-align: center;
36 justify-content: center;
37 align-items: center;
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/text/text002/
Dindex.css17 justify-content: center;
18 align-items: center;
27 text-align: center;
54 justify-content: center;
55 align-items: center;
74 justify-content:center;
/foundation/ace/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/progress/circle/style/
Dstyle.css78 center-x: 50px;
79 center-y: 50px;
101 center-x: 35px;
102 center-y: 35px;
114 center-x: 65px;
115 center-y: 65px;
127 center-x: 50px;
128 center-y: 50px;
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/base/JSHeapOverFlow001/
Dindex.css17 justify-content: center;
18 align-items: center;
28 text-align: center;
35 text-align: center;
46 justify-content: center;
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/style/MediaQuery/
Dindex.css19 justify-content: center;
20 align-items: center;
26 text-align: center;
33 justify-content: center;
34 align-items: center;
/foundation/ace/ace_engine_lite/frameworks/examples/alarm/src/main/js/default/pages/editAlarm/
Dedit_alarm.css51 justify-content: center;
52 align-items: center;
79 justify-content: center;
80 align-items: center;
87 text-align: center;
95 text-align: center;
/foundation/ace/ace_engine/frameworks/core/components/list/
Drosen_render_list_item.cpp255 Offset center; in PaintStickyEffect() local
260 center.SetX((GetLayoutSize().Width() + offset.GetX()) / CENTER_POINT1); in PaintStickyEffect()
261 center.SetY(GetLayoutSize().Height() + offset.GetY() - GetStickyRadius()); in PaintStickyEffect()
264 canvas->drawCircle(center.GetX(), center.GetY(), GetStickyRadius(), paint); in PaintStickyEffect()
270 center.SetX((GetLayoutSize().Width() + offset.GetX()) / CENTER_POINT1); in PaintStickyEffect()
271 center.SetY(GetLayoutSize().Height() + offset.GetY() - radius); in PaintStickyEffect()
274 canvas->drawCircle(center.GetX(), center.GetY(), radius, paint); in PaintStickyEffect()
322 Point center; in PaintCurrentSticky() local
323 center.SetX((itemSize.Width() + offset.GetX()) / CENTER_POINT1); in PaintCurrentSticky()
324 center.SetY(itemSize.Height() + offset.GetY() - radius); in PaintCurrentSticky()
[all …]
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/text/text001/
Dindex.css17 justify-content: center;
18 align-items: center;
27 text-align: center;
54 justify-content: center;
55 align-items: center;
74 justify-content:center;

12345678