Home
last modified time | relevance | path

Searched defs:center (Results 1 – 25 of 97) sorted by relevance

1234

/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_analog_clock_unit_test.cpp158 Point center = { 14, 223 }; // { 14, 223 }: the rotation center of this clock hand variable
246 Point center = { 14, 223 }; // { 14, 223 }: the rotation center of this clock hand variable
H A Dui_scroll_view_unit_test.cpp28 const Point center = {0, 0}; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_scroll_fade_painter.cpp40 Offset center = Offset(size.Width() / 2.0, height - radius); in Paint() local
65 Offset center = Offset(size.Width() / 2.0, height - radius); in Paint() local
H A Drosen_decoration_painter.cpp619 SkPoint center = GetCenter(radialGradient, size, dipScale); in CreateRadialGradient() local
636 RSPoint center = GetCenter(radialGradient, size, dipScale); in CreateRadialGradient() local
688 SkPoint center = SkPoint::Make(size.width() / 2.0f, size.height() / 2.0f); in GetCenter() local
705 RSPoint center = RSPoint(size.Width() / 2.0f, size.Height() / 2.0f); in GetCenter() local
816 const SkPoint& center, const SkSize& size, RadialShapeType type, const CompareType& compare) in RadiusToSide()
833 const RSPoint& center, const RSSize& size, RadialShapeType type, const CompareType& compare) in RadiusToSide()
878 const SkPoint& center, const SkSize& size, RadialShapeType type, const CompareType& compare) in RadiusToCorner()
907 const RSPoint& center, const RSSize& size, RadialShapeType type, const CompareType& compare) in RadiusToCorner()
1029 SkPoint center = GetCenter(sweepGradient, size, dipScale); in CreateSweepGradient() local
1031 RSPoint center = GetCenter(sweepGradient, size, dipScale); in CreateSweepGradient() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dfill_types_persp.cpp81 OH_Drawing_Point* center = OH_Drawing_PointCreate(100, 100); // 100, 100 PointCreate参数值 in ShowFour() local
120 OH_Drawing_Point* center = OH_Drawing_PointCreate(100, 100); // 100, 100 PointCreate参数值 in OnTestFunction() local
H A Ddrawbitmaprect.cpp75 OH_Drawing_Point *center = OH_Drawing_PointCreate(32.f, 32.f); in PrecondItions() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drosen_render_list_item.cpp273 Offset center; in PaintStickyEffect() local
277 Offset center; in PaintStickyEffect() local
364 Point center; in PaintCurrentSticky() local
396 Point center; in PaintNextSticky() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Drosen_render_bubble_progress.cpp59 for (auto& center : subCircleCenter_) { in Paint() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_moon_track.cpp33 Offset center = offset + Offset(canvasSize.Width() / 2, canvasSize.Height() / 2); in Paint() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Dpoint_t.h51 void Rotate(const PointT& center, T angle) in Rotate()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DCamera.js75 center(x, y, z) { method in Camera
H A DPlaneShape.js45 … constructor(width = 1, height = 1, center = new Point(), widthSegments = 1, heightSegments = 1) { argument
H A DCubeShape.js48 …constructor(width = 1, height = 1, depth = 1, center = new Point(), widthSegments = 1, heightSegme… argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/effect/
H A Dscroll_fade_painter.cpp38 Offset center = Offset(size.Width() / 2.0, height - radius); in Paint() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/data_panel/
H A Drosen_render_data_panel.cpp48 void PaintTrackBackground(SkCanvas* canvas, const Offset& center, double thickness, const Color& co… in PaintTrackBackground()
162 Offset center = arcData.center; in PaintProgress() local
272 Offset center = arcData.center; in PaintProgress() local
400 Offset center = arcData.center; in PaintProgressFilterMask() local
553 Offset center = arcData.center; in PaintRainbowFilterMask() local
718 … const Offset& center = offset + Offset(GetLayoutSize().Width() / 2, GetLayoutSize().Height() / 2); in PaintEffectedLoadingProgress() local
782 … const Offset& center = offset + Offset(GetLayoutSize().Width() / 2, GetLayoutSize().Height() / 2); in PaintLoadingProgress() local
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Dclip_utils.cpp53 ClipPath& ClipPath::Arc(const PointF& center, float radius, int16_t startAngle, int16_t endAngle) in Arc()
82 ClipPath& ClipPath::Circle(const PointF& center, float radius) in Circle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_border.h52 Drawing::Point center; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_decoration_painter.cpp361 …RadialGradientShader(const NG::Gradient& gradient, const RSPoint& center, float radius0, float rad… in RadialGradientShader()
402 RSPoint center = GetCenter(radialGradient, size); in CreateRadialGradient() local
452 RSPoint center = RSPoint(size.Width() / 2.0f, size.Height() / 2.0f); in GetCenter() local
467 …nst std::shared_ptr<NG::RadialGradient>& radialGradient, const RSSize& size, const RSPoint& center) in GetCircleSize()
512const RSPoint& center, const RSSize& size, NG::RadialShapeType type, const CompareType& compare) in RadiusToSide()
541const RSPoint& center, const RSSize& size, NG::RadialShapeType type, const CompareType& compare) in RadiusToCorner()
581 …const NG::Gradient& gradient, const RSPoint& center, float startAngle, float endAngle, float rotat… in SweepGradientShader()
616 RSPoint center = GetCenter(sweepGradient, size); in CreateSweepGradient() local
641 RSPoint center = RSPoint(size.Width() / 2.0f, size.Height() / 2.0f); in GetCenter() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.cpp388 …RadialGradientShader(const NG::Gradient& gradient, const SkPoint& center, float radius0, float rad… in RadialGradientShader()
429 SkPoint center = GetCenter(radialGradient, size); in CreateRadialGradient() local
479 SkPoint center = SkPoint::Make(size.width() / 2.0f, size.height() / 2.0f); in GetCenter() local
494 …nst std::shared_ptr<NG::RadialGradient>& radialGradient, const SkSize& size, const SkPoint& center) in GetCircleSize()
539const SkPoint& center, const SkSize& size, NG::RadialShapeType type, const CompareType& compare) in RadiusToSide()
568const SkPoint& center, const SkSize& size, NG::RadialShapeType type, const CompareType& compare) in RadiusToCorner()
606 …const NG::Gradient& gradient, const SkPoint& center, float startAngle, float endAngle, float rotat… in SweepGradientShader()
641 SkPoint center = GetCenter(sweepGradient, size); in CreateSweepGradient() local
666 SkPoint center = SkPoint::Make(size.width() / 2.0f, size.height() / 2.0f); in GetCenter() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_graphic.cpp185 auto center = RSPoint(static_cast<RSScalar>(info.cx), static_cast<RSScalar>(info.cy)); in SetGradientStyle() local
227 auto center = RSPoint(static_cast<RSScalar>(info.cx), static_cast<RSScalar>(info.cy)); in SetStrokeGradientStyle() local
/ohos5.0/drivers/peripheral/display/composer/test/common/
H A Dhdi_composition_check.cpp23 static void GetCheckPoints(Point center, std::vector<Point> &points) in GetCheckPoints()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_modifier.cpp139 Offset center = Offset(context.width * PERCENT_HALF, context.height * PERCENT_HALF); in PaintCircle() local
239 Offset center = arcData.center; in GetPaintPath() local
573 auto center = arcData.center; in PaintTrackBackground() local
621 Offset center = arcData.center; in PaintProgress() local
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_analog_clock.cpp32 …id UIAnalogClock::SetHandImage(HandType type, const UIImageView& img, Point position, Point center) in SetHandImage()
68 Point center, in SetHandLine()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dpoint.h87 void Rotate(const Point& center, double angle) in Rotate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drosen_render_swiper.cpp149 Offset center = Offset(centerX, centerY); in PaintShadow() local
276 Offset center = indicatorPosition_ + indicatorProperties.centerPadding; in CanvasDrawIndicator() local
301 Offset center = indicatorPosition_ + indicatorProperties.centerPadding; in CanvasDrawIndicator() local

1234