/foundation/ace/ace_engine/frameworks/core/components/tip/ |
D | flutter_render_tip.cpp | 86 path_.moveTo(globalArrowPosition.GetX() + arrowOffset, globalArrowPosition.GetY()); in PaintTopTip() 88 globalArrowPosition.GetY() + NormalizeToPx(BEZIER_VERTICAL_OFFSET_FIRST), in PaintTopTip() 90 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_SECOND)); in PaintTopTip() 92 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD), in PaintTopTip() 94 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD)); in PaintTopTip() 96 globalArrowPosition.GetY() - bubbleSpacing); in PaintTopTip() 97 …rmalizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY()), in PaintTopTip() 100 … globalArrowPosition.GetY() - bubbleSpacing - NormalizeToPx(border_.BottomRightRadius().GetY())); in PaintTopTip() 102 …globalArrowPosition.GetY() - bubbleSpacing - (childHeight - NormalizeToPx(border_.TopRightRadius()… in PaintTopTip() 103 …rmalizeToPx(border_.TopRightRadius().GetX()), NormalizeToPx(border_.TopRightRadius().GetY()), 0.0f, in PaintTopTip() [all …]
|
D | rosen_render_tip.cpp | 86 path_.moveTo(globalArrowPosition.GetX() + arrowOffset, globalArrowPosition.GetY()); in PaintTopTip() 88 globalArrowPosition.GetY() + NormalizeToPx(BEZIER_VERTICAL_OFFSET_FIRST), in PaintTopTip() 90 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_SECOND)); in PaintTopTip() 92 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD), in PaintTopTip() 94 globalArrowPosition.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD)); in PaintTopTip() 96 globalArrowPosition.GetY() - bubbleSpacing); in PaintTopTip() 97 …rmalizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY()), in PaintTopTip() 100 … globalArrowPosition.GetY() - bubbleSpacing - NormalizeToPx(border_.BottomRightRadius().GetY())); in PaintTopTip() 102 …globalArrowPosition.GetY() - bubbleSpacing - (childHeight - NormalizeToPx(border_.TopRightRadius()… in PaintTopTip() 103 …rmalizeToPx(border_.TopRightRadius().GetX()), NormalizeToPx(border_.TopRightRadius().GetY()), 0.0f, in PaintTopTip() [all …]
|
/foundation/graphic/ui/test/unittest/layout/ |
D | grid_layout_unit_test.cpp | 31 EXPECT_EQ(view->GetY(), 0); in CreatView() 89 EXPECT_EQ(view1->GetY(), 25); // 25: view y after layout 91 EXPECT_EQ(view2->GetY(), view1->GetY()); 93 EXPECT_EQ(view3->GetY(), view1->GetY()); 95 EXPECT_EQ(view4->GetY(), 175); // 175: view x after layout 130 EXPECT_EQ(view1->GetY(), 25); // 25: view y after layout 132 EXPECT_EQ(view2->GetY(), 175); // 175: view y afert layout 134 EXPECT_EQ(view3->GetY(), view1->GetY()); 136 EXPECT_EQ(view4->GetY(), view2->GetY()); 171 EXPECT_EQ(view1->GetY(), 25); // 25: view y after layout [all …]
|
D | flex_layout_unit_test.cpp | 31 EXPECT_EQ(view->GetY(), 0); in CreatView() 84 EXPECT_EQ(view1->GetY(), 0); 86 EXPECT_EQ(view2->GetY(), 0); 88 EXPECT_EQ(view3->GetY(), 0); 119 EXPECT_EQ(view1->GetY(), 100); // 100: view x after layout 121 EXPECT_EQ(view2->GetY(), 100); // 100: view y after layout 123 EXPECT_EQ(view3->GetY(), 100); // 100: view y after layout 154 EXPECT_EQ(view1->GetY(), 100); // 100: view x after layout 156 EXPECT_EQ(view2->GetY(), 100); // 100: view y after layout 158 EXPECT_EQ(view3->GetY(), 100); // 100: view y after layout [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/bubble/ |
D | flutter_render_bubble.cpp | 68 …SkRect rect = SkRect::MakeXYWH(childOffset_.GetX(), childOffset_.GetY(), childSize_.Width(), child… in MakeRRect() 72 …Make(NormalizeToPx(border_.TopLeftRadius().GetX()), NormalizeToPx(border_.TopLeftRadius().GetY())); in MakeRRect() 74 …ke(NormalizeToPx(border_.TopRightRadius().GetX()), NormalizeToPx(border_.TopRightRadius().GetY())); in MakeRRect() 76 …malizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY())); in MakeRRect() 78 …ormalizeToPx(border_.BottomLeftRadius().GetX()), NormalizeToPx(border_.BottomLeftRadius().GetY())); in MakeRRect() 140 …Width - std::max(NormalizeToPx(padding_.Right()), NormalizeToPx(border_.TopRightRadius().GetY())) - in PaintTopBubble() 144 path_.moveTo(arrowPosition_.GetX() + arrowOffset, arrowPosition_.GetY()); in PaintTopBubble() 146 arrowPosition_.GetY() + NormalizeToPx(BEZIER_VERTICAL_OFFSET_FIRST), in PaintTopBubble() 148 arrowPosition_.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_SECOND)); in PaintTopBubble() 150 arrowPosition_.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD), in PaintTopBubble() [all …]
|
D | rosen_render_bubble.cpp | 69 …SkRect rect = SkRect::MakeXYWH(childOffset_.GetX(), childOffset_.GetY(), childSize_.Width(), child… in MakeRRect() 73 …Make(NormalizeToPx(border_.TopLeftRadius().GetX()), NormalizeToPx(border_.TopLeftRadius().GetY())); in MakeRRect() 75 …ke(NormalizeToPx(border_.TopRightRadius().GetX()), NormalizeToPx(border_.TopRightRadius().GetY())); in MakeRRect() 77 …malizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY())); in MakeRRect() 79 …ormalizeToPx(border_.BottomLeftRadius().GetX()), NormalizeToPx(border_.BottomLeftRadius().GetY())); in MakeRRect() 141 …Width - std::max(NormalizeToPx(padding_.Right()), NormalizeToPx(border_.TopRightRadius().GetY())) - in PaintTopBubble() 145 path_.moveTo(arrowPosition_.GetX() + arrowOffset, arrowPosition_.GetY()); in PaintTopBubble() 147 arrowPosition_.GetY() + NormalizeToPx(BEZIER_VERTICAL_OFFSET_FIRST), in PaintTopBubble() 149 arrowPosition_.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_SECOND)); in PaintTopBubble() 151 arrowPosition_.GetY() - NormalizeToPx(BEZIER_VERTICAL_OFFSET_THIRD), in PaintTopBubble() [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/test/unittest/drag_bar/ |
D | drag_bar_test_utils.h | 35 if (!NearEqual(barLeftPoint_.GetY(), barCenterPoint_.GetY()) || in CheckPanelMode() 36 !NearEqual(barCenterPoint_.GetY(), barRightPoint_.GetY())) { in CheckPanelMode() 41 if (NearEqual(barLeftPoint_.GetY(), barCenterPoint_.GetY()) || in CheckPanelMode() 42 NearEqual(barCenterPoint_.GetY(), barRightPoint_.GetY())) { in CheckPanelMode() 74 checkY = dragOffset_.GetY() > 0.0; in CheckDragOffset() 76 checkY = dragOffset_.GetY() < 0.0; in CheckDragOffset()
|
/foundation/ace/ace_engine/frameworks/core/components/track/ |
D | rosen_render_moon_track.cpp | 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()
|
D | flutter_render_moon_track.cpp | 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()
|
D | rosen_render_linear_track.cpp | 101 …{ startRect, offset.GetY(), endRect, offset.GetY() + trackHeight }, trackHeight * HALF, trackHeigh… in Paint() 111 const double startRect = offset.GetY(); in Paint() 122 …SkRRect selectRect = SkRRect::MakeRectXY({ startRect, offset.GetY(), endRect, offset.GetY() + trac… in Paint() 124 …lectPaint.setShader(BlendSkShader({ startRect + scanHighLightValue_ * trackLength, offset.GetY() }, in Paint() 158 double current = offset.GetY(); in PaintSliderSteps() 165 while (current < offset.GetY() + trackLength) { in PaintSliderSteps() 170 …dyOffset = std::clamp(current, offset.GetY() + size * HALF, offset.GetY() + trackLength - size * H… in PaintSliderSteps() 172 dyOffset = std::clamp(current, offset.GetY(), offset.GetY() + trackLength); in PaintSliderSteps() 180 const double dyOffset = offset.GetY() + trackHeight * HALF; in PaintSliderSteps() 223 dyOffset = offset.GetY() + trackHeight * HALF; in PaintSliderTrack() [all …]
|
D | flutter_render_linear_track.cpp | 99 …{ startRect, offset.GetY(), endRect, offset.GetY() + trackHeight }, trackHeight * HALF, trackHeigh… in Paint() 114 startRect = isReverse_ ? offset.GetY() + GetLayoutSize().Height() : offset.GetY(); in Paint() 134 …{ startRect, offset.GetY(), endRect, offset.GetY() + trackHeight }, trackHeight * HALF, trackHeigh… in Paint() 138 …{ startRect + scanHighLightValue_ * trackLength, offset.GetY() }, GetSelectColor().GetValue(), pla… in Paint() 181 double current = offset.GetY(); in PaintSliderSteps() 182 while (current < offset.GetY() + trackLength) { in PaintSliderSteps() 187 …dyOffset = std::clamp(current, offset.GetY() + size * HALF, offset.GetY() + trackLength - size * H… in PaintSliderSteps() 189 dyOffset = std::clamp(current, offset.GetY(), offset.GetY() + trackLength); in PaintSliderSteps() 198 double dyOffset = offset.GetY() + trackHeight * HALF; in PaintSliderSteps() 235 dyOffset = offset.GetY() + trackHeight * HALF; in PaintSliderTrack() [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/checkable/ |
D | rosen_render_checkbox.cpp | 156 double originY = origin.GetY(); in DrawSquare() 162 … { originX + start.GetX(), originY + start.GetY(), paintSize.Width() + originX + start.GetX(), in DrawSquare() 163 paintSize.Height() + originY + start.GetY() }, in DrawSquare() 192 double originY = origin.GetY(); in DrawCheck() 200 path.moveTo(originX + start.GetX(), originY + start.GetY()); in DrawCheck() 201 path.lineTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck() 205 path.moveTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck() 206 path.lineTo(originX + end.GetX(), originY + end.GetY()); in DrawCheck() 217 double originY = origin.GetY(); in DrawBorder() 229 double originY = origin.GetY(); in DrawAnimationOffToOn() [all …]
|
D | flutter_render_checkbox.cpp | 169 double originY = origin.GetY(); in DrawSquare() 176 … { originX + start.GetX(), originY + start.GetY(), paintSize.Width() + originX + start.GetX(), in DrawSquare() 177 paintSize.Height() + originY + start.GetY() }, in DrawSquare() 211 double originY = origin.GetY(); in DrawCheck() 219 path->moveTo(originX + start.GetX(), originY + start.GetY()); in DrawCheck() 220 path->lineTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck() 224 path->moveTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck() 225 path->lineTo(originX + end.GetX(), originY + end.GetY()); in DrawCheck() 237 double originY = origin.GetY(); in DrawBorder() 254 double originY = origin.GetY(); in DrawAnimationOffToOn() [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/chart/ |
D | rosen_render_chart.cpp | 65 paintRegion.GetOffset().GetY() + paintRegion.Height() - in ConvertDataToPosition() 66 (point.GetY() - vertical_.min) * paintRegion.Height() / yLength); in ConvertDataToPosition() 80 Rect(offset.GetX(), offset.GetY(), GetLayoutSize().Width() * 0.1, GetLayoutSize().Height()); in Paint() 82 … Rect(offset.GetX(), offset.GetY() + GetLayoutSize().Height() - GetLayoutSize().Height() * 0.1, in Paint() 86 dataRegion = Rect(offset.GetX() + EDGE_PADDING, offset.GetY() + DOUBLE_TEXT_PADDING, in Paint() 91 …dataRegion = Rect(offset.GetX() + tickHorizontalOffset_ + EDGE_PADDING, offset.GetY() + EDGE_PADDI… in Paint() 162 pointPosition.GetY() - textSize.Height() - TEXT_PADDING); in PaintText() 165 … canvas, pointPosition.GetX() - textSize.Width() / 2, pointPosition.GetY() + TEXT_PADDING); in PaintText() 187 canvas->drawCircle(offset.GetX(), offset.GetY(), innerRadius, paint); in PaintPoint() 189 canvas->drawCircle(offset.GetX(), offset.GetY(), pointSize / 2, paint); in PaintPoint() [all …]
|
D | flutter_render_chart.cpp | 77 paintRegion.GetOffset().GetY() + paintRegion.Height() - in ConvertDataToPosition() 78 (point.GetY() - vertical_.min) * paintRegion.Height() / yLength); in ConvertDataToPosition() 92 Rect(offset.GetX(), offset.GetY(), GetLayoutSize().Width() * 0.1, GetLayoutSize().Height()); in Paint() 94 … Rect(offset.GetX(), offset.GetY() + GetLayoutSize().Height() - GetLayoutSize().Height() * 0.1, in Paint() 98 dataRegion = Rect(offset.GetX() + EDGE_PADDING, offset.GetY() + DOUBLE_TEXT_PADDING, in Paint() 104 …dataRegion = Rect(offset.GetX() + tickHorizontalOffset_ + EDGE_PADDING, offset.GetY() + EDGE_PADDI… in Paint() 180 pointPosition.GetY() - textSize.Height() - TEXT_PADDING); in PaintText() 183 …canvas->canvas(), pointPosition.GetX() - textSize.Width() / 2, pointPosition.GetY() + TEXT_PADDING… in PaintText() 206 canvas->drawCircle(offset.GetX(), offset.GetY(), innerRadius, paint, paintData); in PaintPoint() 208 canvas->drawCircle(offset.GetX(), offset.GetY(), pointSize / 2, paint, paintData); in PaintPoint() [all …]
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
D | js_click_function.cpp | 44 obj->SetProperty<double>("screenY", SystemProperties::Px2Vp(globalOffset.GetY())); in Execute() 46 obj->SetProperty<double>("y", SystemProperties::Px2Vp(localOffset.GetY())); in Execute() 53 globalOffset.GetX(), globalOffset.GetY(), localOffset.GetX(), localOffset.GetY()); in Execute() 65 obj->SetProperty<double>("screenY", SystemProperties::Px2Vp(globalOffset.GetY())); in Execute() 67 obj->SetProperty<double>("y", SystemProperties::Px2Vp(localOffset.GetY())); in Execute() 74 globalOffset.GetX(), globalOffset.GetY(), localOffset.GetX(), localOffset.GetY()); in Execute() 90 obj->SetProperty<double>("screenY", SystemProperties::Px2Vp(globalOffset.GetY())); in Execute() 92 obj->SetProperty<double>("y", SystemProperties::Px2Vp(localOffset.GetY())); in Execute() 102 …info.GetAction(), globalOffset.GetX(), globalOffset.GetY(), localOffset.GetX(), localOffset.GetY()… in Execute()
|
/foundation/ace/ace_engine/frameworks/core/components/swiper/ |
D | rosen_render_swiper.cpp | 85 canvas->translate(offset.GetX(), offset.GetY()); in PaintFade() 147 canvas->drawCircle(center.GetX(), center.GetY() + fadeTranslate, radius, painter); in PaintShadow() 149 canvas->drawCircle(center.GetX() + fadeTranslate, center.GetY(), radius, painter); in PaintShadow() 264 canvas->drawCircle(center.GetX() + offset.GetX(), center.GetY() + offset.GetY(), in CanvasDrawIndicator() 270 canvas->drawCircle(center.GetX() + offset.GetX(), center.GetY() + offset.GetY(), in CanvasDrawIndicator() 316 SkDoubleToScalar(offset.GetY() + indicatorPosition_.GetY() - NormalizeToPx(9.0_vp))); in PaintMask() 318 SkDoubleToScalar(offset.GetY() + indicatorPosition_.GetY() + NormalizeToPx(15.0_vp))); in PaintMask() 321 SkDoubleToScalar(offset.GetY())); in PaintMask() 323 SkDoubleToScalar(offset.GetY())); in PaintMask() 340 …canvas->drawRect({ offset.GetX(), offset.GetY() + indicatorPosition_.GetY() - NormalizeToPx(9.0_vp… in PaintMask() [all …]
|
D | flutter_render_swiper.cpp | 85 canvas->translate(offset.GetX(), offset.GetY()); in PaintFade() 148 … canvas->drawCircle(center.GetX(), center.GetY() + fadeTranslate, radius, painter, paintData); in PaintShadow() 150 … canvas->drawCircle(center.GetX() + fadeTranslate, center.GetY(), radius, painter, paintData); in PaintShadow() 271 canvas->drawCircle(center.GetX() + offset.GetX(), center.GetY() + offset.GetY(), in CanvasDrawIndicator() 277 canvas->drawCircle(center.GetX() + offset.GetX(), center.GetY() + offset.GetY(), in CanvasDrawIndicator() 329 SkDoubleToScalar(offset.GetY() + indicatorPosition_.GetY() - NormalizeToPx(9.0_vp))); in PaintMask() 331 SkDoubleToScalar(offset.GetY() + indicatorPosition_.GetY() + NormalizeToPx(15.0_vp))); in PaintMask() 334 SkDoubleToScalar(offset.GetY())); in PaintMask() 336 SkDoubleToScalar(offset.GetY())); in PaintMask() 354 … canvas->drawRect(offset.GetX(), offset.GetY() + indicatorPosition_.GetY() - NormalizeToPx(9.0_vp), in PaintMask() [all …]
|
/foundation/graphic/ui/test/unittest/components/ |
D | ui_view_unit_test.cpp | 365 EXPECT_EQ(view_->GetY(), 0); 367 EXPECT_EQ(view_->GetY(), POS_Y); 384 EXPECT_EQ(view_->GetY(), 0); 387 EXPECT_EQ(view_->GetY(), POS_Y); 406 EXPECT_EQ(view_->GetY(), 0); 411 EXPECT_EQ(view_->GetY(), POS_Y); 430 EXPECT_EQ(view_->GetY(), POS_Y); 473 EXPECT_EQ(view_->GetY(), POS_Y); 516 EXPECT_EQ(view_->GetY(), POS_Y); 564 EXPECT_EQ(view_->GetY(), POS_Y); [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/slider/ |
D | rosen_render_circle_block.cpp | 42 offset.GetY(), radiusScale_); in Paint() 53 canvas->drawCircle(offset.GetX(), offset.GetY(), hoverRadius, hoverPaint); in Paint() 65 canvas->drawCircle(offset.GetX(), offset.GetY(), radius, blockPaint); in Paint() 70 canvas->drawCircle(offset.GetX(), offset.GetY(), radius, blockPaint); in Paint() 81 canvas->drawCircle(offset.GetX(), offset.GetY(), radius, borderPaint); in Paint() 100 …SkRect rect = SkRect::MakeXYWH(offset.GetX() - radius, offset.GetY() - radius, diameter, diameter); in PaintShadow() 103 skCanvas->drawCircle(offset.GetX(), offset.GetY() + BORDER_WEIGHT, radius, borderShadowPaint); in PaintShadow() 105 …skCanvas->drawCircle(offset.GetX(), offset.GetY() + BORDER_WEIGHT * 2.0, radius, borderShadowPaint… in PaintShadow()
|
D | flutter_render_circle_block.cpp | 41 offset.GetY(), radiusScale_); in Paint() 57 skCanvas->drawCircle(offset.GetX(), offset.GetY(), hoverRadius, hoverPaint); in Paint() 69 skCanvas->drawCircle(offset.GetX(), offset.GetY(), radius, blockPaint); in Paint() 74 skCanvas->drawCircle(offset.GetX(), offset.GetY(), radius, blockPaint); in Paint() 85 skCanvas->drawCircle(offset.GetX(), offset.GetY(), radius, borderPaint); in Paint() 104 …SkRect rect = SkRect::MakeXYWH(offset.GetX() - radius, offset.GetY() - radius, diameter, diameter); in PaintShadow() 107 skCanvas->drawCircle(offset.GetX(), offset.GetY() + BORDER_WEIGHT, radius, borderShadowPaint); in PaintShadow() 109 …skCanvas->drawCircle(offset.GetX(), offset.GetY() + BORDER_WEIGHT * 2.0, radius, borderShadowPaint… in PaintShadow()
|
/foundation/ace/ace_engine/frameworks/core/components/data_panel/ |
D | flutter_render_data_panel.cpp | 48 center.GetY() - diameter / 2 + thickness / 2, diameter - thickness, diameter - thickness); in PaintTrackBackground() 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() 177 center.GetX(), center.GetY() - radius + thickness / 2, thickness / 2, endCirclePaint); in PaintProgress() 189 canvas->canvas()->rotate(startAngle, center.GetX(), center.GetY()); in PaintProgress() 191 center.GetX(), center.GetY() - radius + thickness / 2, thickness / 2, startCirclePaint); in PaintProgress() [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/text_overlay/ |
D | rosen_render_text_overlay.cpp | 77 …ngleHandle_ && clipRect_.IsInRegion(Point(startHandleOffset_.GetX(), startHandleOffset_.GetY()))) { in PaintHandles() 84 clipRect_.IsInRegion(Point(startHandleOffset_.GetX(), startHandleOffset_.GetY()))) { in PaintHandles() 89 …_.showEndHandle && clipRect_.IsInRegion(Point(endHandleOffset_.GetX(), endHandleOffset_.GetY()))) { in PaintHandles() 103 skCanvas->translate(centerOffset.GetX(), centerOffset.GetY()); in PaintHandle() 123 … skCanvas->drawLine(startPoint.GetX(), startPoint.GetY(), endPoint.GetX(), endPoint.GetY(), paint); in PaintHandle() 147 …globalY = textFieldGlobalOffset.GetY() + caretRect.GetOffset().GetY() - NormalizeToPx(MAGNIFIER_WI… in PaintMagnifier() 153 y = caretRect.GetOffset().GetY() + caretRect.Height() / 2 - NormalizeToPx(MAGNIFIER_RADIUS); in PaintMagnifier() 159 …globalY = textFieldGlobalOffset.GetY() + caretRect.GetOffset().GetY() - NormalizeToPx(MAGNIFIER_WI… in PaintMagnifier() 166 y = caretRect.GetOffset().GetY() + caretRect.Height() / 2 - NormalizeToPx(MAGNIFIER_RADIUS); in PaintMagnifier() 298 canvas->translate(moreOffset.GetX() + center.GetX(), moreOffset.GetY() + center.GetY()); in PaintMore() [all …]
|
/foundation/ace/ace_engine/frameworks/core/components_v2/pattern_lock/ |
D | rosen_render_pattern_lock.cpp | 47 double offsetY = cellcenter.GetY(); in PaintLockCircle() 90 int offsetIntY = static_cast<int>(offset.GetY() - half); in PaintLockLine() 104 …canvas->drawLine(pointBegin.GetX(), pointBegin.GetY(), pointEnd.GetX(), pointEnd.GetY(), skPaintSt… in PaintLockLine() 110 double y1 = pointBegin.GetY(); in PaintLockLine() 112 double y2 = offset.GetY() + cellCenter_.GetY(); in PaintLockLine() 115 …y2 = y2 > offset.GetY() + NormalizeToPx(sideLength_) ? offset.GetY() + NormalizeToPx(sideLength_) … in PaintLockLine() 116 y2 = y2 < offset.GetY() ? offset.GetY() : y2; in PaintLockLine()
|
D | flutter_render_pattern_lock.cpp | 47 double offsetY = cellcenter.GetY(); in PaintLockCircle() 92 int offsetIntY = static_cast<int>(offset.GetY() - half); in PaintLockLine() 107 pointBegin.GetX(), pointBegin.GetY(), pointEnd.GetX(), pointEnd.GetY(), skPaintStroke); in PaintLockLine() 113 double y1 = pointBegin.GetY(); in PaintLockLine() 115 double y2 = offset.GetY() + cellCenter_.GetY(); in PaintLockLine() 118 …y2 = y2 > offset.GetY() + NormalizeToPx(sideLength_) ? offset.GetY() + NormalizeToPx(sideLength_) … in PaintLockLine() 119 y2 = y2 < offset.GetY() ? offset.GetY() : y2; in PaintLockLine()
|