Home
last modified time | relevance | path

Searched refs:y1 (Results 1 - 25 of 133) sorted by relevance

123456

/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_scanline_clip.cpp27 int32_t x1, int32_t y1, in LineClipY()
35 * It indicates that the coordinates x1, y1, x2 and y2 are all within the range, and the line operates in LineClipY()
38 RasterDepictInt::GetYCoordinateValue(y1), in LineClipY()
44 * It indicates that the coordinates x1, y1, x2 and y2 are all outside the range and do not operate in LineClipY()
49 int32_t ty1 = y1; in LineClipY()
53 * Indicates that the coordinate y1 < clip.y1 in LineClipY()
56 tx1 = x1 + RasterDepictInt::MultDiv(clipBox_.GetTop() - y1, x2 - x1, y2 - y1); in LineClipY()
61 * Indicates that the coordinate y1 > cli in LineClipY()
26 LineClipY(RasterizerCellsAntiAlias& ras, int32_t x1, int32_t y1, int32_t x2, int32_t y2, uint32_t clipFlagsOne, uint32_t clipFlagsTwo) const LineClipY() argument
117 int32_t y1 = y1_; LineTo() local
[all...]
H A Drasterizer_cells_antialias.cpp118 void RasterizerCellsAntiAlias::OutLineLegal(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in OutLineLegal() argument
129 if (y1 < minY_) { in OutLineLegal()
130 minY_ = y1; in OutLineLegal()
132 if (y1 > maxY_) { in OutLineLegal()
133 maxY_ = y1; in OutLineLegal()
152 * The filling process of cell cells longitudinally from sub-pixel mask y1 to sub-pixel mask y2.
254 void RasterizerCellsAntiAlias::LineOperate(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in LineOperate() argument
262 int32_t cy = static_cast<int32_t>(((int64_t)y1 + (int64_t)y2) >> 1); in LineOperate()
263 LineOperate(x1, y1, cx, cy); in LineOperate()
270 int64_t dy = (int64_t)y2 - (int64_t)y1; in LineOperate()
[all...]
/foundation/resourceschedule/ffrt/benchmarks/fib/
H A Dfib.cpp25 int y1; in Fib() local
27 Fib(x - 1, y1); in Fib()
29 y = y1 + y2; in Fib()
39 int y1; in FibFFRTChildWait() local
41 ffrt::submit([&]() { FibFFRTChildWait(x - 1, y1); }, {}, {}); in FibFFRTChildWait()
44 y = y1 + y2; in FibFFRTChildWait()
54 int y1; in FibFFRTDataWait() local
56 ffrt::submit([&]() { FibFFRTDataWait(x - 1, y1); }, {}, {&y1}); in FibFFRTDataWait()
58 ffrt::wait({&y1, in FibFFRTDataWait()
88 int *y1, *y2; FibFFRTNoWait() local
[all...]
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_curves.h41 QuadBezierCurveIncr(float x1, float y1, in QuadBezierCurveIncr() argument
46 Init(x1, y1, x2, y2, x3, y3); in QuadBezierCurveIncr()
49 void Init(float x1, float y1, float x2, float y2, float x3, float y3);
91 QuadrBezierCurveDividOp(float x1, float y1, in QuadrBezierCurveDividOp() argument
96 Init(x1, y1, x2, y2, x3, y3); in QuadrBezierCurveDividOp()
99 void Init(float x1, float y1, float x2, float y2, float x3, float y3);
124 void Bezier(float x1, float y1,
127 void Recursive(float x1, float y1,
144 CubicBezierCurvePoints(float x1, float y1, in CubicBezierCurvePoints()
150 cpArray[1] = y1; in CubicBezierCurvePoints()
189 CubicBezierCurveIncrement(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) CubicBezierCurveIncrement() argument
247 CatromToBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) CatromToBezier() argument
275 UbsplineToBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) UbsplineToBezier() argument
307 HermiteToBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) HermiteToBezier() argument
340 CubicBezierCurveDividOperate(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) CubicBezierCurveDividOperate() argument
427 QuadraticBezierCurve(float x1, float y1, float x2, float y2, float x3, float y3) QuadraticBezierCurve() argument
433 Init(float x1, float y1, float x2, float y2, float x3, float y3) Init() argument
526 CubicBezierCurve(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) CubicBezierCurve() argument
542 Init(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) Init() argument
[all...]
H A Dgeometry_bezier_arc.h168 * @brief Calculates elliptical arcs from (x1, y1) to (x2, y2).
170 * @param x1,y1 Starting point coordinates.
180 float y1, in BezierArcSvg()
187 Init(x1, y1, rx, ry, angle, largeArcFlag, sweepFlag, x2, y2); in BezierArcSvg()
196 float y1,
179 BezierArcSvg(float x1, float y1, float rx, float ry, float angle, bool largeArcFlag, bool sweepFlag, float x2, float y2) BezierArcSvg() argument
/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/
H A Dgeometry_curves.cpp34 void QuadBezierCurveIncr::Init(float x1, float y1, in Init() argument
39 startCoordinate_.y = y1; in Init()
44 float deltaY1 = y2 - y1; in Init()
63 float tmpY = (y1 - y2 * FLOATNUM + y3) * subdivideStep2; in Init()
67 savedFinalCoordinate_.y = y1; in Init()
68 finalCoordinate_.y = y1; in Init()
72 savedDeltaFinalCoordinate_.y = tmpY + (y2 - y1) * (FLOATNUM * subdivideStep); in Init()
73 deltaFinalCoordinate_.y = tmpY + (y2 - y1) * (FLOATNUM * subdivideStep); in Init()
144 void QuadrBezierCurveDividOp::Init(float x1, float y1, in Init() argument
151 Bezier(x1, y1, x in Init()
207 Recursive(float x1, float y1, float x2, float y2, float x3, float y3, uint32_t level) Recursive() argument
275 Bezier(float x1, float y1, float x2, float y2, float x3, float y3) Bezier() argument
294 Init(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) Init() argument
431 Init(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) Init() argument
500 Recursive(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, uint32_t level) Recursive() argument
670 Bezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) Bezier() argument
[all...]
H A Dgeometry_bezier_arc.cpp138 float y1 = -sinA * delatX2 + cosA * delatY2; in Init() local
143 float py1 = y1 * y1; in Init()
163 float cx1 = coef * ((rx * y1) / ry); in Init()
170 float uy = (y1 - cy1) / ry; in Init()
172 float vy = (-y1 - cy1) / ry; in Init()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dcommon_math.h40 inline float CrossProduct(float x1, float y1, float x2, float y2, float x, float y) in CrossProduct() argument
42 return (x - x2) * (y2 - y1) - (y - y2) * (x2 - x1); in CrossProduct()
52 inline float CalcDistance(float x1, float y1, float x2, float y2) in CalcDistance() argument
55 float dy = y2 - y1; in CalcDistance()
66 inline float CalcSqDistance(float x1, float y1, float x2, float y2) in CalcSqDistance() argument
69 float dy = y2 - y1; in CalcSqDistance()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_line_declaration.h25 Dimension y1; member
52 void SetY1(const Dimension& y1) in SetY1() argument
55 attribute.y1 = y1; in SetY1()
79 return attribute.y1; in GetY1()
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgeometry2d.cpp76 int16_t y1 = line[0].y_; in Clip() local
81 int32_t iPos = static_cast<int32_t>(x2 - x1) * (iY - y1) - static_cast<int32_t>(y2 - y1) * (iX - x1); in Clip()
84 int32_t kPos = static_cast<int32_t>(x2 - x1) * (kY - y1) - static_cast<int32_t>(y2 - y1) * (kX - x1); in Clip()
97 bool intersect = Intersect(Line(x1, y1, x2, y2), Line(iX, iY, kX, kY), intersectPoint); in Clip()
112 bool intersect = Intersect(Line(x1, y1, x2, y2), Line(iX, iY, kX, kY), intersectPoint); in Clip()
158 int16_t y1 = line[0].y_; in Clip() local
163 int32_t iPos = static_cast<int32_t>(x2 - x1) * (iY - y1) - static_cast<int32_t>(y2 - y1) * (i in Clip()
[all...]
H A Dtrans_affine.cpp18 const TransAffine& TransAffine::RectToParl(float x1, float y1, in RectToParl() argument
23 data_[3] = 0; // y1 - y1 in RectToParl()
25 data_[4] = y2 - y1; in RectToParl()
27 data_[5] = y1; in RectToParl()
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_scanline.cpp142 int32_t y1 = 0; in BlendSourceAtop() local
144 y1 = scanline1.GetYLevel(); in BlendSourceAtop()
153 if (y2 > y1) { in BlendSourceAtop()
155 y1 = scanline1.GetYLevel(); in BlendSourceAtop()
156 if (y1 == y2) { in BlendSourceAtop()
164 if (y1 == y2) { in BlendSourceAtop()
216 if (y1 == y2) { in BlendSourceAtop()
218 y1 = scanline1.GetYLevel(); in BlendSourceAtop()
237 int32_t y1 = 0; in BlendSourceIn() local
239 y1 in BlendSourceIn()
259 int32_t y1 = 0; BlendSourceOut() local
333 BlendSourceOutWhile(int32_t y1, GeometryScanline& scanline1, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendSourceOutWhile() argument
401 int32_t y1 = 0; BlendXOR() local
519 BlendXORColorHspan(int32_t& y1, RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendXORColorHspan() argument
556 BlendSourceInLoop(RasterizerScanlineAntialias& raster1, GeometryScanline& scanline1, GeometryScanline& scanline2, SpanBase& spanGen1, RenderBase& renBase, FillBase& alloc, int32_t& y1) BlendSourceInLoop() argument
[all...]
H A Drender_base.cpp31 bool RenderBase::ClipBox(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in ClipBox() argument
33 Rect32 cb(x1, y1, x2, y2); in ClipBox()
52 void RenderBase::ClipBoxNaked(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in ClipBoxNaked() argument
54 clipBox_.SetRect(x1, y1, x2, y2); in ClipBoxNaked()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/rasterizer/
H A Drasterizer_scanline_clip.h134 void MoveTo(int32_t x1, int32_t y1) in MoveTo() argument
137 y1_ = y1; in MoveTo()
139 clippingFlags_ = ClippingFlags(x1, y1, clipBox_); in MoveTo()
152 * -------+--------+-------- clip_box.y1
171 int32_t x1, int32_t y1,
/foundation/resourceschedule/ffrt/test/testfunc/
H A Dfunc_pool.cpp57 int x = 1, y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, i = 1; in NestedWhile() local
192 y1 = y2 + 1; in NestedWhile()
193 EXPECT_EQ(y1, 11); in NestedWhile()
195 { &y2 }, { &y1 }, ffrt::task_attr().name(("y1s1w" + to_string(i)).c_str())); in NestedWhile()
198 {}, { &y1 }, ffrt::task_attr().name(("y1w" + to_string(i)).c_str())); in NestedWhile()
201 y0 = y1 + 1; in NestedWhile()
204 { &y1 }, { &y0 }, ffrt::task_attr().name(("y0s1w" + to_string(i)).c_str())); in NestedWhile()
/foundation/resourceschedule/ffrt/benchmarks/
H A Dcommon.h71 int y1; in FibFFRT() local
73 ffrt::submit([&]() { FibFFRT(x - 1, y1); }, {&x}, {&y1}); in FibFFRT()
75 ffrt::wait({&y1, &y2}); in FibFFRT()
76 y = y1 + y2; in FibFFRT()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpath_fuzzer/
H A Dpath_fuzzer.cpp82 float y1 = GetObject<float>(); in NativeDrawingPathTest002() local
92 OH_Drawing_PathArcTo(nullptr, x1, y1, x2, y2, startDeg, sweepDeg); in NativeDrawingPathTest002()
93 OH_Drawing_PathArcTo(pathArcTo, x1, y1, x2, y2, startDeg, sweepDeg); in NativeDrawingPathTest002()
96 OH_Drawing_PathQuadTo(nullptr, x1, y1, x2, y2); in NativeDrawingPathTest002()
97 OH_Drawing_PathQuadTo(pathQuadTo, x1, y1, x2, y2); in NativeDrawingPathTest002()
98 OH_Drawing_PathRQuadTo(nullptr, x1, y1, x2, y2); in NativeDrawingPathTest002()
99 OH_Drawing_PathRQuadTo(pathQuadTo, x1, y1, x2, y2); in NativeDrawingPathTest002()
102 OH_Drawing_PathConicTo(nullptr, x1, y1, x2, y2, weight); in NativeDrawingPathTest002()
103 OH_Drawing_PathConicTo(pathConicTo, x1, y1, x2, y2, weight); in NativeDrawingPathTest002()
104 OH_Drawing_PathRConicTo(nullptr, x1, y1, x in NativeDrawingPathTest002()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rslineargradientblurshaderfilter_fuzzer/
H A Drslineargradientblurshaderfilter_fuzzer.cpp92 float y1 = GetData<float>(); in DoCreateRSLinearGradientBlurShaderFilter() local
95 std::make_pair(x1, x2), std::make_pair(y1, y2) in DoCreateRSLinearGradientBlurShaderFilter()
170 float y1 = GetData<float>(); in DoIsOffscreenCanvas() local
173 std::make_pair(x1, x2), std::make_pair(y1, y2) in DoIsOffscreenCanvas()
198 float y1 = GetData<float>(); in DoGetLinearGradientBlurRadius() local
201 std::make_pair(x1, x2), std::make_pair(y1, y2) in DoGetLinearGradientBlurRadius()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_line.cpp37 ConvertDimensionToPx(lineAttr_.y1, viewPort, SvgLengthType::VERTICAL)); in AsPath()
47 ConvertDimensionToPx(lineAttr_.y1, viewPort, SvgLengthType::VERTICAL)); in AsPath()
67 attr.y1 = SvgAttributesParser::ParseDimension(val); in ParseAndSetSpecializedAttr()
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_circle_progress_unit_test.cpp177 int16_t y1 = y + view->GetStyleConst().paddingTop_ + view->GetStyleConst().borderWidth_; in HWTEST_F() local
180 EXPECT_EQ(circleProgress_->GetCenterPosition().y, y1); in HWTEST_F()
200 int16_t y1 = y + view->GetStyleConst().paddingTop_ + view->GetStyleConst().borderWidth_; in HWTEST_F() local
203 EXPECT_EQ(circleProgress_->GetCenterPosition().y, y1); in HWTEST_F()
/foundation/window/window_manager_lite/services/wms/
H A Dlite_wm.cpp263 int16_t y1 = mask.GetTop(); in Resize() local
266 UpdateWindowRegion(window, {static_cast<int16_t>(x2 + 1), y1, rectBefore.GetRight(), in Resize()
415 void LiteWM::CalculateUpdateRegion(const ListNode<LiteWindow*>* winNode, int16_t x1, int16_t y1, int16_t x2, int16_t y2) in CalculateUpdateRegion() argument
417 Rect rect(x1, y1, x2, y2); in CalculateUpdateRegion()
432 CalculateUpdateRegion(winNode->prev_, x1, y1, mask.GetLeft() - 1, y2); in CalculateUpdateRegion()
435 if (y1 != mask.GetTop()) { in CalculateUpdateRegion()
436 CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), y1, x2, mask.GetTop() - 1); in CalculateUpdateRegion()
449 CalculateUpdateRegion(winNode->prev_, x1, y1, x2, y2); in CalculateUpdateRegion()
508 void LiteWM::DrawRegion(const ListNode<LiteWindow*>* winNode, int16_t x1, int16_t y1, int16_t x2, int16_t y2) in DrawRegion() argument
515 DrawBackground(x1, y1, x in DrawRegion()
565 DrawBackground(int16_t x1, int16_t y1, int16_t x2, int16_t y2) DrawBackground() argument
597 int16_t y1 = rect.GetTop(); DrawMouseCursor() local
[all...]
H A Dlite_win.cpp157 int16_t y1 = srcRect.GetTop(); in FlushWithModeCopy() local
162 uint8_t* srcBuf = reinterpret_cast<uint8_t*>(backBuf_->GetVirAddr()) + y1 * stride + x1 * sizeof(ColorType); in FlushWithModeCopy()
165 for (int16_t y = y1; y <= y2; ++y) { in FlushWithModeCopy()
185 int16_t y1 = srcRect.GetTop(); in FlushWithModeBlend() local
190 uint8_t* srcBuf = reinterpret_cast<uint8_t*>(backBuf_->GetVirAddr()) + y1 * stride + x1 * sizeof(ColorType); in FlushWithModeBlend()
192 for (int16_t y = y1; y <= y2; ++y) { in FlushWithModeBlend()
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Dsvg_line_component.cpp57 void SvgLineComponent::SetY1(const Dimension& y1) in SetY1() argument
59 declaration_->SetY1(y1); in SetY1()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_cubic_bezier_interpolator.cpp75 float y1 = 0; in Unmarshalling() local
78 if (!(parcel.ReadFloat(x1) && parcel.ReadFloat(y1) && parcel.ReadFloat(x2) && parcel.ReadFloat(y2))) { in Unmarshalling()
81 return new RSCubicBezierInterpolator(id, x1, y1, x2, y2); in Unmarshalling()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_path.cpp62 void NativeCanvasPath::ArcTo(double x1, double y1, double x2, double y2, double radius) in ArcTo() argument
64 path2d_->ArcTo(x1, y1, x2, y2, radius); in ArcTo()

Completed in 18 milliseconds

123456