Home
last modified time | relevance | path

Searched refs:y2 (Results 1 - 25 of 108) sorted by relevance

12345

/foundation/resourceschedule/ffrt/benchmarks/fib/
H A Dfib.cpp26 int y2; in Fib() local
28 Fib(x - 2, y2); in Fib()
29 y = y1 + y2; in Fib()
40 int y2; in FibFFRTChildWait() local
42 ffrt::submit([&]() { FibFFRTChildWait(x - 2, y2); }, {}, {}); in FibFFRTChildWait()
44 y = y1 + y2; in FibFFRTChildWait()
55 int y2; in FibFFRTDataWait() local
57 ffrt::submit([&]() { FibFFRTDataWait(x - 2, y2); }, {}, {&y2}); in FibFFRTDataWait()
58 ffrt::wait({&y1, &y2}); in FibFFRTDataWait()
88 int *y1, *y2; FibFFRTNoWait() local
[all...]
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_scanline_clip.cpp28 int32_t x2, int32_t y2, in LineClipY()
35 * It indicates that the coordinates x1, y1, x2 and y2 are all within the range, and the line operates in LineClipY()
40 RasterDepictInt::GetYCoordinateValue(y2)); in LineClipY()
44 * It indicates that the coordinates x1, y1, x2 and y2 are all outside the range and do not operate in LineClipY()
51 int32_t ty2 = y2; in LineClipY()
56 tx1 = x1 + RasterDepictInt::MultDiv(clipBox_.GetTop() - y1, x2 - x1, y2 - y1); in LineClipY()
61 * Indicates that the coordinate y1 > clip.y2 in LineClipY()
64 tx1 = x1 + RasterDepictInt::MultDiv(clipBox_.GetBottom() - y1, x2 - x1, y2 - y1); in LineClipY()
68 * Indicates that the coordinate y1 > clip.y2 in LineClipY()
71 tx2 = x1 + RasterDepictInt::MultDiv(clipBox_.GetTop() - y1, x2 - x1, y2 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
105 LineTo(RasterizerCellsAntiAlias& rasterLine, int32_t x2, int32_t y2) LineTo() argument
[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
141 if (y2 < minY_) { in OutLineLegal()
142 minY_ = y2; in OutLineLegal()
144 if (y2 > maxY_) { in OutLineLegal()
145 maxY_ = y2; 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()
264 LineOperate(cx, cy, x2, y2); in LineOperate()
270 int64_t dy = (int64_t)y2 in LineOperate()
[all...]
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_curves.h42 float x2, float y2, in QuadBezierCurveIncr()
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);
92 float x2, float y2, in QuadrBezierCurveDividOp()
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);
125 float x2, float y2,
128 float x2, float y2,
145 float x2, float y2, in CubicBezierCurvePoints()
152 cpArray[3] = y2; in CubicBezierCurvePoints()
41 QuadBezierCurveIncr(float x1, float y1, float x2, float y2, float x3, float y3) QuadBezierCurveIncr() argument
91 QuadrBezierCurveDividOp(float x1, float y1, float x2, float y2, float x3, float y3) QuadrBezierCurveDividOp() argument
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).
171 * @param x2,y2 End point coordinates.
185 float x2, float y2) : bezierArcModel_(), isRadiusJoinPath_(false) in BezierArcSvg()
187 Init(x1, y1, rx, ry, angle, largeArcFlag, sweepFlag, x2, y2); in BezierArcSvg()
203 float y2);
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/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/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/
H A Dgeometry_curves.cpp35 float x2, float y2, in Init()
44 float deltaY1 = y2 - y1; in Init()
46 float deltaY2 = y3 - y2; in Init()
63 float tmpY = (y1 - y2 * FLOATNUM + y3) * subdivideStep2; in Init()
72 savedDeltaFinalCoordinate_.y = tmpY + (y2 - y1) * (FLOATNUM * subdivideStep); in Init()
73 deltaFinalCoordinate_.y = tmpY + (y2 - y1) * (FLOATNUM * subdivideStep); in Init()
145 float x2, float y2, in Init()
151 Bezier(x1, y1, x2, y2, x3, y3); in Init()
208 float x2, float y2, in Recursive()
218 float y12 = (y1 + y2) / FLOATNU in Recursive()
34 Init(float x1, float y1, float x2, float y2, float x3, float y3) Init() argument
144 Init(float x1, float y1, float x2, float y2, float x3, float y3) Init() argument
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...]
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_scanline.cpp149 int32_t y2 = scanline2.GetYLevel(); in BlendSourceAtop() local
153 if (y2 > y1) { in BlendSourceAtop()
156 if (y1 == y2) { in BlendSourceAtop()
164 if (y1 == y2) { in BlendSourceAtop()
168 spanGen2.Generate(alloc.GetSpanPtr(), x2, y2, span2->spanLength); in BlendSourceAtop()
169 renBase.BlendColorHSpan(x2, y2, (uint32_t)span2->spanLength, in BlendSourceAtop()
172 spanGen1.Generate(alloc.GetSpanPtr(), x2, y2, span2->spanLength); in BlendSourceAtop()
173 renBase.BlendColorHSpan(x2, y2, (uint32_t)span2->spanLength, in BlendSourceAtop()
177 spanGen1.Generate(alloc.GetSpanPtr(), x1, y2, span1->spanLength); in BlendSourceAtop()
178 renBase.BlendColorHSpan(x1, y2, (uint32_ in BlendSourceAtop()
274 int32_t y2 = scanline2.GetYLevel(); BlendSourceOut() local
408 int32_t y2 = scanline2.GetYLevel(); BlendXOR() local
559 int32_t y2 = scanline2.GetYLevel(); BlendSourceInLoop() local
[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()
H A Drender_base.h64 * @param y2 rectangular diagonal y coordinate.
67 bool ClipBox(int32_t x1, int32_t y1, int32_t x2, int32_t y2);
81 * @param y2 rectangular starting point y coordinate.
83 void ClipBoxNaked(int32_t x1, int32_t y1, int32_t x2, int32_t y2);
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_line_declaration.h27 Dimension y2; member
58 void SetY2(const Dimension& y2) in SetY2() argument
61 attribute.y2 = y2; in SetY2()
85 return attribute.y2; in GetY2()
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Drosen_render_pattern_lock.cpp170 double y2 = offset.GetY() + cellCenter_.GetY(); in PaintLockLine() local
173 y2 = y2 > offset.GetY() + NormalizeToPx(sideLength_) ? offset.GetY() + NormalizeToPx(sideLength_) : y2; in PaintLockLine()
174 y2 = y2 < offset.GetY() ? offset.GetY() : y2; in PaintLockLine()
175 SkPoint points[2] = { SkPoint::Make(x1, y1), SkPoint::Make(x2, y2) }; in PaintLockLine()
181 canvas->drawLine(x1, y1, x2, y2, skPaintStroke); in PaintLockLine()
225 double y2 in PaintLockLine() local
[all...]
/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
183 y2 = y3 + 1; in NestedWhile()
184 EXPECT_EQ(y2, 10); in NestedWhile()
186 { &y3 }, { &y2 }, ffrt::task_attr().name(("y2s1w" + to_string(i)).c_str())); in NestedWhile()
189 {}, { &y2 }, ffrt::task_attr().name(("y2w" + to_string(i)).c_str())); in NestedWhile()
192 y1 = y2 + 1; in NestedWhile()
195 { &y2 }, { &y1 }, ffrt::task_attr().name(("y1s1w" + to_string(i)).c_str())); in NestedWhile()
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgeometry2d.cpp78 int16_t y2 = line[1].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()
160 int16_t y2 = line[1].y_; in Clip() local
163 int32_t iPos = static_cast<int32_t>(x2 - x1) * (iY - y1) - static_cast<int32_t>(y2 - y1) * (iX - x1); in Clip()
166 int32_t kPos = static_cast<int32_t>(x2 - x1) * (kY - y1) - static_cast<int32_t>(y2 - y1) * (kX - x1); in Clip()
170 Intersect(Line(x1, y1, x2, y2), Line(iX, iY, kX, kY), intersectPoint); in Clip()
/foundation/resourceschedule/ffrt/benchmarks/
H A Dcommon.h72 int y2; in FibFFRT() local
74 ffrt::submit([&]() { FibFFRT(x - 2, y2); }, {&x}, {&y2}); 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.cpp84 float y2 = 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, x2, y2, weigh in NativeDrawingPathTest002()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rslineargradientblurshaderfilter_fuzzer/
H A Drslineargradientblurshaderfilter_fuzzer.cpp93 float y2 = GetData<float>(); in DoCreateRSLinearGradientBlurShaderFilter() local
95 std::make_pair(x1, x2), std::make_pair(y1, y2) in DoCreateRSLinearGradientBlurShaderFilter()
171 float y2 = GetData<float>(); in DoIsOffscreenCanvas() local
173 std::make_pair(x1, x2), std::make_pair(y1, y2) in DoIsOffscreenCanvas()
199 float y2 = 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.cpp39 ConvertDimensionToPx(lineAttr_.y2, viewPort, SvgLengthType::VERTICAL)); in AsPath()
49 ConvertDimensionToPx(lineAttr_.y2, viewPort, SvgLengthType::VERTICAL)); in AsPath()
71 attr.y2 = SvgAttributesParser::ParseDimension(val); in ParseAndSetSpecializedAttr()
/foundation/window/window_manager_lite/services/wms/
H A Dlite_wm.cpp264 int16_t y2 = mask.GetBottom(); in Resize() local
269 if (y2 != rectBefore.GetBottom()) { in Resize()
270 UpdateWindowRegion(window, {x1, static_cast<int16_t>(y2 + 1), x2, rectBefore.GetBottom()}); 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()
440 CalculateUpdateRegion(winNode->prev_, mask.GetRight() + 1, mask.GetTop(), x2, y2); in CalculateUpdateRegion()
443 if (y2 != mask.GetBottom()) { in CalculateUpdateRegion()
444 CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), mask.GetBottom() + 1, mask.GetRight(), y2); in CalculateUpdateRegion()
449 CalculateUpdateRegion(winNode->prev_, x1, y1, x2, y2); in CalculateUpdateRegion()
508 DrawRegion(const ListNode<LiteWindow*>* winNode, int16_t x1, int16_t y1, int16_t x2, int16_t y2) DrawRegion() argument
565 DrawBackground(int16_t x1, int16_t y1, int16_t x2, int16_t y2) DrawBackground() argument
598 int16_t y2 = rect.GetBottom(); DrawMouseCursor() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Dsvg_line_component.cpp62 void SvgLineComponent::SetY2(const Dimension& y2) in SetY2() argument
64 declaration_->SetY2(y2); in SetY2()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_cubic_bezier_interpolator.cpp77 float y2 = 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()
/foundation/arkui/ui_lite/frameworks/dock/
H A Dscreen_device.h100 virtual void Flush(int16_t x1, int16_t y1, int16_t x2, int16_t y2, const uint8_t* buffer, ColorMode mode) {} in Flush() argument
102 virtual void Fill(int16_t x1, int16_t y1, int16_t x2, int16_t y2, const ColorType& color) {} in Fill() argument
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/
H A Dfill_interpolator.h113 int32_t y2 = MATH_ROUND32(ty * SUBPIXEL_SCALE); in Begin() local
116 dda2LineInterpolatorY_ = GeometryDdaLine(y1, y2, len); in Begin()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/rasterizer/
H A Drasterizer_scanline_clip.h148 * -------+--------+-------- clip_box.y2
160 void LineTo(RasterizerCellsAntiAlias& ras, int32_t x2, int32_t y2);
172 int32_t x2, int32_t y2,

Completed in 12 milliseconds

12345