Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 25 of 263) sorted by relevance

1234567891011

/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_scanline_clip.cpp49 int32_t ty1 = y1; in LineClipY()
56 tx1 = x1 + RasterDepictInt::MultDiv(clipBox_.GetTop() - y1, x2 - x1, y2 - y1); in LineClipY()
64 tx1 = x1 + RasterDepictInt::MultDiv(clipBox_.GetBottom() - y1, x2 - x1, y2 - y1); in LineClipY()
71 tx2 = x1 + RasterDepictInt::MultDiv(clipBox_.GetTop() - y1, x2 - x1, y2 - y1); in LineClipY()
78 tx2 = x1 + RasterDepictInt::MultDiv(clipBox_.GetBottom() - y1, x2 - x1, y2 - y1); in LineClipY()
117 int32_t y1 = y1_; in LineTo() local
135 … yPilotOne = y1 + RasterDepictInt::MultDiv(clipBox_.GetRight() - x1, y2 - y1, x2 - x1); in LineTo()
146 … yPilotOne = y1 + RasterDepictInt::MultDiv(clipBox_.GetRight() - x1, y2 - y1, x2 - x1); in LineTo()
164 … yPilotOne = y1 + RasterDepictInt::MultDiv(clipBox_.GetLeft() - x1, y2 - y1, x2 - x1); in LineTo()
176 … yPilotTwo = y1 + RasterDepictInt::MultDiv(clipBox_.GetLeft() - x1, y2 - y1, x2 - x1); in LineTo()
[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()
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()
273 int32_t ey1 = y1 >> POLY_SUBPIXEL_SHIFT; in LineOperate()
[all …]
/ohos5.0/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
44 y = y1 + y2; in FibFFRTChildWait()
54 int y1; in FibFFRTDataWait() local
56 ffrt::submit([&]() { FibFFRTDataWait(x - 1, y1); }, {}, {&y1}); in FibFFRTDataWait()
59 y = y1 + y2; in FibFFRTDataWait()
88 int *y1, *y2; in FibFFRTNoWait() local
91 ffrt::submit([=]() { FibFFRTNoWait(x - 1, y1); }, {}, {y1}); in FibFFRTNoWait()
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_curves.h46 Init(x1, y1, x2, y2, x3, y3); in QuadBezierCurveIncr()
96 Init(x1, y1, x2, y2, x3, y3); in QuadrBezierCurveDividOp()
124 void Bezier(float x1, float y1,
127 void Recursive(float x1, float y1,
150 cpArray[1] = y1; in CubicBezierCurvePoints()
159 void Init(float x1, float y1, in Init()
165 cpArray[1] = y1; in Init()
313 x1, y1, in HermiteToBezier()
358 void Init(float x1, float y1,
394 void Bezier(float x1, float y1,
[all …]
H A Dgeometry_bezier_arc.h180 float y1, in BezierArcSvg() argument
187 Init(x1, y1, rx, ry, angle, largeArcFlag, sweepFlag, x2, y2); in BezierArcSvg()
196 float y1,
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/
H A Dgeometry_curves.cpp39 startCoordinate_.y = y1; in Init()
44 float deltaY1 = y2 - y1; in Init()
67 savedFinalCoordinate_.y = y1; in Init()
68 finalCoordinate_.y = y1; in Init()
151 Bezier(x1, y1, x2, y2, x3, y3); in Init()
224 float deltaY = y3 - y1; in Recursive()
300 startCoordinate_.y = y1; in Init()
305 float deltaY1 = y2 - y1; in Init()
343 savedFinalCoordinate_.y = y1; in Init()
344 finalCoordinate_.y = y1; in Init()
[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()
/ohos5.0/foundation/arkui/ui_lite/frameworks/render/
H A Drender_scanline.cpp142 int32_t y1 = 0; in BlendSourceAtop() local
153 if (y2 > y1) { in BlendSourceAtop()
216 if (y1 == y2) { in BlendSourceAtop()
237 int32_t y1 = 0; in BlendSourceIn() local
259 int32_t y1 = 0; in BlendSourceOut() local
324 if (y1 == y2 && y1 < raster2.GetMaxY() - 1) { in BlendSourceOut()
401 int32_t y1 = 0; in BlendXOR() local
487 if (y1 == y2 && y1 < raster2.GetMaxY() - 1) { in BlendXOR()
564 if (y2 > y1) { in BlendSourceInLoop()
575 if (y1 == y2) { in BlendSourceInLoop()
[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()
/ohos5.0/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()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-svg-line.md27 | y1 | &lt;length&gt;\|&lt;percentage&gt; | - | 否 | 设置线条起点的y轴坐标。支持属性动画。 |
38 <line x1="10" x2="300" y1="50" y2="50" stroke-width="4" fill="white" stroke="blue"></line>
39 <line x1="10" x2="300" y1="100" y2="100" stroke-width="4" fill="white" stroke="blue"></line>
40 … <line x1="10" x2="300" y1="150" y2="150" stroke-width="10" stroke="red" stroke-dasharray="5 3"
43 …<line x1="10" x2="300" y1="200" y2="200" stroke-width="10" stroke="black" stroke-linecap="round"><…
45 …<line x1="10" x2="300" y1="220" y2="220" stroke-width="10" stroke="black" stroke-linecap="butt"></…
47 …<line x1="10" x2="300" y1="240" y2="240" stroke-width="10" stroke="black" stroke-linecap="square">…
/ohos5.0/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 - x… in Clip()
84 …int32_t kPos = static_cast<int32_t>(x2 - x1) * (kY - y1) - static_cast<int32_t>(y2 - y1) * (kX - x… 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) * (iX - x… in Clip()
166 …int32_t kPos = static_cast<int32_t>(x2 - x1) * (kY - y1) - static_cast<int32_t>(y2 - y1) * (kX - x… in Clip()
170 Intersect(Line(x1, y1, x2, y2), Line(iX, iY, kX, kY), intersectPoint); in Clip()
H A Dtrans_affine.cpp18 const TransAffine& TransAffine::RectToParl(float x1, float y1, in RectToParl() argument
25 data_[4] = y2 - y1; in RectToParl()
27 data_[5] = y1; in RectToParl()
/ohos5.0/foundation/window/window_manager_lite/services/wms/
H A Dlite_wm.cpp263 int16_t y1 = mask.GetTop(); in Resize() local
417 Rect rect(x1, y1, x2, y2); in CalculateUpdateRegion()
435 if (y1 != mask.GetTop()) { in CalculateUpdateRegion()
515 DrawBackground(x1, y1, x2, y2); in DrawRegion()
525 Rect rect(x1, y1, x2, y2); in DrawRegion()
552 if (y1 != mask.GetTop()) { in DrawRegion()
568 Rect rectBg(x1, y1, x2, y2); in DrawBackground()
575 y1 = rect.GetTop(); in DrawBackground()
580 for (int16_t y = y1; y <= y2; y++) { in DrawBackground()
597 int16_t y1 = rect.GetTop(); in DrawMouseCursor() local
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/
H A D_image_effect___region.md25 | int32_t [y1](#y1) | Y轴终止坐标。 |
58 ### y1 subsection
61 int32_t ImageEffect_Region::y1
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/display/
H A D_i_line_v10.md23 | int [y1](#y1) | 线条终点的Y坐标 |
70 ### y1 subsection
73 int ILine::y1
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-svg-line.md28 | y1 | &lt;length&gt;\|&lt;percentage&gt; | - | No| Y-coordinate of the start point of the line. At…
39 <line x1="10" x2="300" y1="50" y2="50" stroke-width="4" fill="white" stroke="blue"></line>
40 <line x1="10" x2="300" y1="100" y2="100" stroke-width="4" fill="white" stroke="blue"></line>
41 … <line x1="10" x2="300" y1="150" y2="150" stroke-width="10" stroke="red" stroke-dasharray="5 3"
44 …<line x1="10" x2="300" y1="200" y2="200" stroke-width="10" stroke="black" stroke-linecap="round"><…
46 …<line x1="10" x2="300" y1="220" y2="220" stroke-width="10" stroke="black" stroke-linecap="butt"></…
48 …<line x1="10" x2="300" y1="240" y2="240" stroke-width="10" stroke="black" stroke-linecap="square">…
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpath_fuzzer/
H A Dpath_fuzzer.cpp82 float y1 = GetObject<float>(); in NativeDrawingPathTest002() local
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, weight); in NativeDrawingPathTest002()
105 OH_Drawing_PathRConicTo(pathConicTo, x1, y1, x2, y2, weight); in NativeDrawingPathTest002()
108 OH_Drawing_PathCubicTo(nullptr, x1, y1, x2, y2, endX, endY); in NativeDrawingPathTest002()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/
H A D_image_effect___region.md25 | int32_t [y1](#y1) | End coordinate of the Y axis. |
61 ### y1 subsection
64 int32_t ImageEffect_Region::y1
/ohos5.0/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()
171 int32_t x1, int32_t y1,
/ohos5.0/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()
/ohos5.0/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_; variable
180 EXPECT_EQ(circleProgress_->GetCenterPosition().y, y1);
200 int16_t y1 = y + view->GetStyleConst().paddingTop_ + view->GetStyleConst().borderWidth_; variable
203 EXPECT_EQ(circleProgress_->GetCenterPosition().y, y1);
/ohos5.0/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()

1234567891011