/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_scanline.cpp | 163 int32_t x2 = span2->x; in BlendSourceAtop() local 168 spanGen2.Generate(alloc.GetSpanPtr(), x2, y2, span2->spanLength); in BlendSourceAtop() 169 renBase.BlendColorHSpan(x2, y2, (uint32_t)span2->spanLength, in BlendSourceAtop() 171 if ((x1 <= x2) && ((x2 + span2->spanLength) < (x1 + span1->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() 176 } else if ((x1 >= x2) && ((x1 + span1->spanLength) <= (x2 + span2->spanLength))) { in BlendSourceAtop() 181 } else if ((x1 > x2) in BlendSourceAtop() 279 int32_t x2 = span2->x; BlendSourceOut() local 414 int32_t x2 = span2->x; BlendXOR() local 574 int32_t x2 = span2->x; BlendSourceInLoop() local 627 CalcinterScanline(GeometryScanline& scanline3, int32_t x1, int32_t x2, GeometryScanline::ConstIterator span1, GeometryScanline::ConstIterator span2) CalcinterScanline() argument 644 CalcOutScanlineRight(GeometryScanline& scanline, int32_t x1, int32_t x2, GeometryScanline::ConstIterator span1, GeometryScanline::ConstIterator span2) CalcOutScanlineRight() argument 661 CalcOutScanlineLeft(GeometryScanline& scanline, int32_t x1, int32_t x2, GeometryScanline::ConstIterator span1, GeometryScanline::ConstIterator span2) CalcOutScanlineLeft() argument 678 CalcOutScanlineAll(GeometryScanline& scanline, int32_t x1, int32_t x2, GeometryScanline::ConstIterator span1, GeometryScanline::ConstIterator span2) CalcOutScanlineAll() argument [all...] |
H A D | render_base.cpp | 31 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() 66 void RenderBase::BlendHLine(int32_t x1, int32_t y, int32_t x2, const Rgba8T& color, uint8_t cover) in BlendHLine() argument 68 if (x1 > x2) { in BlendHLine() 70 x1 = x2; in BlendHLine() 71 x2 = swapTemp; in BlendHLine() 73 if (y > GetYMax() || y < GetYMin() || x1 > GetXMax() || x2 < GetXMin()) { in BlendHLine() 80 if (x2 > GetXMa in BlendHLine() [all...] |
H A D | render_base.h | 63 * @param x2 rectangular diagonal x coordinate. 67 bool ClipBox(int32_t x1, int32_t y1, int32_t x2, int32_t y2); 80 * @param x2 rectangular starting point x coordinate. 83 void ClipBoxNaked(int32_t x1, int32_t y1, int32_t x2, int32_t y2); 148 * @param x2 Scan line right coordinate. 152 void BlendHLine(int32_t x1, int32_t y, int32_t x2, const Rgba8T& color, uint8_t cover);
|
H A D | render_scanline.h | 70 void CalcinterScanline(GeometryScanline& scanline3, int32_t x1, int32_t x2, 73 void CalcOutScanlineRight(GeometryScanline& scanline, int32_t x1, int32_t x2, 76 void CalcOutScanlineLeft(GeometryScanline& scanline, int32_t x1, int32_t x2, 79 void CalcOutScanlineAll(GeometryScanline& scanline, int32_t x1, int32_t x2,
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_curves.h | 42 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() 151 cpArray[2] = x2; 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 D | geometry_bezier_arc.h | 168 * @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() 202 float x2, 179 BezierArcSvg(float x1, float y1, float rx, float ry, float angle, bool largeArcFlag, bool sweepFlag, float x2, float y2) BezierArcSvg() argument
|
/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | base.cpp | 31 0x492ef6c0, 0xe122, 0x401d, 0x80c4, {0xb, 0xb, 0x6, 0x5, 0xe, 0x2, 0x3, 0x2, 0x5, 0x7, 0x6, 0x6} 35 0x6da72e7c, 0xd353, 0x4d7b, 0x85ef, {0x2, 0x1, 0x4, 0x6, 0xa, 0xd, 0xd, 0x3, 0x4, 0x2, 0x1, 0x9} 39 0x2c9fd6ff, 0x73f7, 0x4a22, 0x9ea8, {0x1, 0xe, 0x3, 0x7, 0xb, 0x2, 0x2, 0x1, 0x3, 0xc, 0xa, 0x1} 47 0x0672d282, 0x7cdb, 0x49b8, 0x92c7, {0x1, 0xa, 0xf, 0x3, 0x5, 0xe, 0x2, 0xd, 0x4, 0x9, 0x4, 0x9} 51 0xd7550828, 0x2eaf, 0x4281, 0x8604, {0x4, 0x2, 0xa, 0x8, 0x2, 0xa, 0xb, 0x9, 0xb, 0xc, 0xd, 0xc} 55 0xb5428638, 0xca53, 0x4a27, 0x95a0, {0x3, 0xf, 0x2, [all...] |
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
H A D | rasterizer_scanline_clip.cpp | 28 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() 39 RasterDepictInt::GetXCoordinateValue(x2), in LineClipY() 44 * It indicates that the coordinates x1, y1, x2 and y2 are all outside the range and do not operate in LineClipY() 50 int32_t tx2 = x2; 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() 101 * clip_box.x1 clip_box.x2 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 D | rasterizer_cells_antialias.cpp | 118 void RasterizerCellsAntiAlias::OutLineLegal(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in OutLineLegal() argument 135 if (x2 < minX_) { in OutLineLegal() 136 minX_ = x2; in OutLineLegal() 138 if (x2 > maxX_) { in OutLineLegal() 139 maxX_ = x2; in OutLineLegal() 151 * x1 to x2 in 1 / 256 pixel horizontally, 157 int32_t ey, int32_t x1, int32_t polySubpixelMaskY1, int32_t x2, int32_t polySubpixelMaskY2) in RenderHorizonline() 164 int32_t submaskFlagsX2 = x2 & POLY_SUBPIXEL_MASK; in RenderHorizonline() 169 int32_t pixelX2 = x2 >> POLY_SUBPIXEL_SHIFT; in RenderHorizonline() 194 dx = (long long)x2 in RenderHorizonline() 156 RenderHorizonline( int32_t ey, int32_t x1, int32_t polySubpixelMaskY1, int32_t x2, int32_t polySubpixelMaskY2) RenderHorizonline() argument 254 LineOperate(int32_t x1, int32_t y1, int32_t x2, int32_t y2) LineOperate() argument [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/ |
H A D | common_math.h | 40 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 54 float dx = x2 - x1; in CalcDistance() 66 inline float CalcSqDistance(float x1, float y1, float x2, float y2) in CalcSqDistance() argument 68 float dx = x2 - x1; in CalcSqDistance()
|
/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/ |
H A D | geometry_curves.cpp | 35 float x2, float y2, in Init() 43 float deltaX1 = x2 - x1; in Init() 45 float deltaX2 = x3 - x2; in Init() 62 float tmpX = (x1 - x2 * FLOATNUM + x3) * subdivideStep2; in Init() 70 savedDeltaFinalCoordinate_.x = tmpX + (x2 - x1) * (FLOATNUM * subdivideStep); in Init() 71 deltaFinalCoordinate_.x = tmpX + (x2 - x1) * (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() 217 float x12 = (x1 + x2) / 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/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/interface/ |
H A D | softbus_broadcast_utils.h | 55 #define BC_FLAG_BYTE_LEN 0x2 57 #define BC_FLAG_AD_DATA 0x2 73 #define RSP_FLAG_BYTE_LEN 0x2 75 #define RSP_FLAG_AD_DATA 0x2
|
/foundation/deviceprofile/device_info_manager/old/radar/include/ |
H A D | dp_radar_helper.h | 38 DP_ADD_DATA = 0x2, 49 STAGE_FAIL = 0x2, 56 BIZ_STATE_END = 0x2, 62 DP_LOAD_SA = 0x2, 80 DP_RECIVE_DATA_CHANGE = 0x2, 89 DP_RECIVE_SYNC_CALLBACK = 0x2, 95 DISTRIBUTED_KV = 0x2,
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_line_declaration.h | 26 Dimension x2; member 46 void SetX2(const Dimension& x2) in SetX2() argument 49 attribute.x2 = x2; in SetX2() 73 return attribute.x2; in GetX2()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | rosen_render_pattern_lock.cpp | 169 double x2 = offset.GetX() + cellCenter_.GetX(); in PaintLockLine() local 171 x2 = x2 > offset.GetX() + NormalizeToPx(sideLength_) ? offset.GetX() + NormalizeToPx(sideLength_) : x2; in PaintLockLine() 172 x2 = x2 < offset.GetX() ? offset.GetX() : x2; 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() 224 double x2 in PaintLockLine() local [all...] |
/foundation/distributedhardware/device_manager/radar/include/ |
H A D | dm_radar_helper.h | 41 DM_GET_TRUST_DEVICE_LIST = 0x2, 49 DM_NETWORK = 0x2, 57 STAGE_FAIL = 0x2, 64 BIZ_STATE_END = 0x2, 70 DISCOVER_USER_DEAL_RES = 0x2, 76 AUTH_OPEN_SESSION = 0x2, 87 NETWORK_OFFLINE = 0x2, 96 SESSION_OPENED = 0x2, 115 API_NATIVE = 0x2, 126 SOFTBUS = 0x2, [all...] |
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | geometry2d.cpp | 77 int16_t x2 = line[1].x_; 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() 159 int16_t x2 = line[1].x_; 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/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpath_fuzzer/ |
H A D | path_fuzzer.cpp | 83 float x2 = 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, y in NativeDrawingPathTest002() [all...] |
/foundation/arkui/ui_lite/frameworks/animator/ |
H A D | interpolation.cpp | 71 float Interpolation::GetBezierY(float x, float x1, float y1, float x2, float y2) in GetBezierY() argument 73 /* P={x,y}; P0={0,0}; P1={x1,y1}; P2={x2,y2}; P3={1,1} in GetBezierY() 77 float xt = GetBezierInterpolation(t, 0, x1, x2, 1); in GetBezierY() 86 t = t + (x - xt) / GetBezierDerivative(t, 0, x1, x2, 1); in GetBezierY() 87 xt = GetBezierInterpolation(t, 0, x1, x2, 1); in GetBezierY()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rslineargradientblurshaderfilter_fuzzer/ |
H A D | rslineargradientblurshaderfilter_fuzzer.cpp | 91 float x2 = GetData<float>(); in DoCreateRSLinearGradientBlurShaderFilter() local 95 std::make_pair(x1, x2), std::make_pair(y1, y2) in DoCreateRSLinearGradientBlurShaderFilter() 169 float x2 = GetData<float>(); in DoIsOffscreenCanvas() local 173 std::make_pair(x1, x2), std::make_pair(y1, y2) in DoIsOffscreenCanvas() 197 float x2 = 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 D | svg_line.cpp | 38 path.lineTo(ConvertDimensionToPx(lineAttr_.x2, viewPort, SvgLengthType::HORIZONTAL), in AsPath() 48 path.LineTo(ConvertDimensionToPx(lineAttr_.x2, viewPort, SvgLengthType::HORIZONTAL), in AsPath() 63 attr.x2 = SvgAttributesParser::ParseDimension(val); in ParseAndSetSpecializedAttr()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography_types.h | 52 OVERLINE = 0x2, 108 DISABLE_LAST_ASCENT = 0x2, 109 DISABLE_ALL = 0x1 | 0x2,
|
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co2_context.c | 35 "mov x2, sp\n" 36 "str x2, [x0,#104]\n" 51 "ldr x2, [x0,#104]\n" 52 "mov sp, x2\n" 201 uintptr_t stack_top = (uintptr_t)stack + stack_size - 0x2 * sizeof(uintptr_t); in co2_init_context() 202 stack_top -= stack_top % (0x2 * sizeof(uintptr_t)); in co2_init_context()
|
/foundation/multimodalinput/input/service/delegate_task/test/ |
H A D | delegate_interface_test.cpp | 75 DelegateInterface::HandlerSummary handler2 = {"handler2", 0x2, HandlerMode::ASYNC, 2, 3};
in HWTEST_F() 104 DelegateInterface::HandlerSummary handler2 = {"handler2", 0x2, HandlerMode::ASYNC, 2, 3};
in HWTEST_F() 133 DelegateInterface::HandlerSummary handler2 = {"handler2", 0x2, HandlerMode::ASYNC, 2, 3};
in HWTEST_F() 179 DelegateInterface::HandlerSummary handler2 = {"handler2", 0x2, HandlerMode::ASYNC, 2, 3};
in HWTEST_F() 224 DelegateInterface::HandlerSummary handler2 = {"handler2", 0x2, HandlerMode::ASYNC, 2, 3};
in HWTEST_F() 255 DelegateInterface::HandlerSummary handler2 = {"handler2", 0x2, HandlerMode::ASYNC, 2, 3};
in HWTEST_F() 284 DelegateInterface::HandlerSummary handler2 = {"handler2", 0x2, HandlerMode::ASYNC, 2, 3};
in HWTEST_F()
|
/foundation/window/window_manager_lite/services/wms/ |
H A D | lite_wm.cpp | 262 int16_t x2 = mask.GetRight(); in Resize() local 265 if (x2 != rectBefore.GetRight()) { in Resize() 266 UpdateWindowRegion(window, {static_cast<int16_t>(x2 + 1), y1, rectBefore.GetRight(), 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() 436 CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), y1, x2, mask.GetTop() - 1); in CalculateUpdateRegion() 439 if (x2 != mask.GetRight()) { in CalculateUpdateRegion() 440 CalculateUpdateRegion(winNode->prev_, mask.GetRight() + 1, mask.GetTop(), x2, y2); in CalculateUpdateRegion() 449 CalculateUpdateRegion(winNode->prev_, x1, y1, x2, y 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 596 int16_t x2 = rect.GetRight(); DrawMouseCursor() local [all...] |