Home
last modified time | relevance | path

Searched refs:x1 (Results 1 - 25 of 255) sorted by relevance

1234567891011

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/include/
H A Da2dp_codec_constant.h68 A2DP_SBC_SAMPLE_RATE_48000 = 0x1 << 4, /* octet0 b4 */
69 A2DP_SBC_SAMPLE_RATE_44100 = 0x1 << 5, /* octet0 b5 */
70 A2DP_SBC_SAMPLE_RATE_32000 = 0x1 << 6, /* octet0 b6 */
71 A2DP_SBC_SAMPLE_RATE_16000 = 0x1 << 7, /* octet0 b7 */
91 A2DP_SBC_CHANNEL_MODE_JOINT_STEREO = 0x1, /* octet0 b0 */
92 A2DP_SBC_CHANNEL_MODE_STEREO = 0x1 << 1, /* octet0 b1 */
93 A2DP_SBC_CHANNEL_MODE_DUAL = 0x1 << 2, /* octet0 b2 */
94 A2DP_SBC_CHANNEL_MODE_MONO = 0x1 << 3, /* octet0 b3 */
102 A2DP_SBC_BLOCKS_16 = 0x1 << 4, /* octet1 b4: 16 */
103 A2DP_SBC_BLOCKS_12 = 0x1 <<
[all...]
/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()
37 ras.LineOperate(RasterDepictInt::GetXCoordinateValue(x1), in LineClipY()
44 * It indicates that the coordinates x1, y1, x2 and y2 are all outside the range and do not operate in LineClipY()
48 int32_t tx1 = x1; 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 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
116 int32_t x1 = x1_; 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
123 if (x1 < minX_) { in OutLineLegal()
124 minX_ = x1; in OutLineLegal()
126 if (x1 > maxX_) { in OutLineLegal()
127 maxX_ = x1; 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()
163 int32_t submaskFlagsX1 = x1 & POLY_SUBPIXEL_MASK; in RenderHorizonline()
168 int32_t pixelX1 = x1 >> POLY_SUBPIXEL_SHIFT; in RenderHorizonline()
194 dx = (long long)x2 - (long long)x1; 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
334 RenderVerticalLine(int32_t& x1, int32_t& ex1, int64_t& dy, int32_t& first, int32_t& increase, int32_t& xFrom, int32_t& submaskFlagsY1, int32_t& submaskFlagsY2, int32_t& ey1, int32_t& ey2, int32_t& delta) RenderVerticalLine() argument
[all...]
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_scanline.cpp165 int32_t x1 = span1->x; in BlendSourceAtop() local
171 if ((x1 <= x2) && ((x2 + span2->spanLength) < (x1 + span1->spanLength))) { in BlendSourceAtop()
176 } else if ((x1 >= x2) && ((x1 + span1->spanLength) <= (x2 + span2->spanLength))) { in BlendSourceAtop()
177 spanGen1.Generate(alloc.GetSpanPtr(), x1, y2, span1->spanLength); in BlendSourceAtop()
178 renBase.BlendColorHSpan(x1, y2, (uint32_t)span1->spanLength, in BlendSourceAtop()
181 } else if ((x1 > x2) && (x1 < (x2 + span2->spanLength)) && in BlendSourceAtop()
182 ((x1 in BlendSourceAtop()
281 int32_t x1 = span1->x; BlendSourceOut() local
417 int32_t x1 = span1->x; BlendXOR() local
576 int32_t x1 = span1->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 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()
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()
69 int32_t swapTemp = x1; in BlendHLine()
70 x1 = x2; in BlendHLine()
73 if (y > GetYMax() || y < GetYMin() || x1 > GetXMax() || x2 < GetXMin()) { in BlendHLine()
76 if (x1 < GetXMi in BlendHLine()
[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()
149 cpArray[0] = x1; 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...]
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Da2dp_parcel_codec.h55 A2DP_SBC_SAMPLE_RATE_48000_IPC = 0x1 << 4, /* octet0 b4 */
56 A2DP_SBC_SAMPLE_RATE_44100_IPC = 0x1 << 5, /* octet0 b5 */
57 A2DP_SBC_SAMPLE_RATE_32000_IPC = 0x1 << 6, /* octet0 b6 */
58 A2DP_SBC_SAMPLE_RATE_16000_IPC = 0x1 << 7, /* octet0 b7 */
83 A2DP_SBC_CHANNEL_MODE_JOINT_STEREO_IPC = 0x1, /* octet0 b0 */
84 A2DP_SBC_CHANNEL_MODE_STEREO_IPC = 0x1 << 1, /* octet0 b1 */
85 A2DP_SBC_CHANNEL_MODE_DUAL_IPC = 0x1 << 2, /* octet0 b2 */
86 A2DP_SBC_CHANNEL_MODE_MONO_IPC = 0x1 << 3, /* octet0 b3 */
100 A2DP_SAMPLE_BITS_16_IPC = 0x1 << 0,
101 A2DP_SAMPLE_BITS_24_IPC = 0x1 <<
[all...]
/foundation/deviceprofile/device_info_manager/old/radar/include/
H A Ddp_radar_helper.h37 DP_GET_SA = 0x1,
48 STAGE_SUCC = 0x1,
55 BIZ_STATE_START = 0x1,
61 DP_CHECK_SA = 0x1,
67 DP_GET_DATA = 0x1,
71 DP_ADD_DATA = 0x1,
75 DP_DELET_DATA = 0x1,
79 DP_SUBSCRIBE_DATA = 0x1,
84 DP_UNSUBSCRIBE_DATA = 0x1,
88 DP_SYNC_DATA = 0x1,
[all...]
/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_protocol_def.h21 #define PROTOCOL_ABILITY_MESSAGE 0x1
22 #define PROTOCOL_ABILITY_BYTES (0x1 << 1)
23 #define PROTOCOL_ABILITY_STREAM (0x1 << 2)
24 #define PROTOCOL_ABILITY_FILE (0x1 << 3)
28 #define LNN_PROTOCOL_BR (0x1)
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Dutf8_decode.h41 0x0, 0x1, 0x2, 0x3, 0x5, 0x8, 0x7, 0x1, 0x1, 0x1, 0x4, 0x6, 0x1, 0x1, 0x1, 0x1, // s0..s0
/foundation/ability/ability_base/interfaces/inner_api/base/src/
H A Dbase.cpp27 0x00000000, 0x0000, 0x0000, 0x0000, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1}
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}
59 0x596dc69a, 0xae7d, 0x42ad, 0xb00f, {0x0, 0xd, 0x5, 0xe, 0xb, 0x0, 0x1, 0xa, 0x2, 0x5, 0x5, 0x7}
63 0x69644bf4, 0xdd20, 0x417b, 0x9055, {0x5, 0xa, 0x2, 0x6, 0xe, 0x3, 0xe, 0x1, 0x7, 0x9, 0x3, 0xb}
67 0x875b9da6, 0x9913, 0x4370, 0x8847, {0xe, 0x1,
[all...]
H A Dbase_object.cpp25 0x8321f710, 0xa0c0, 0x4cbe, 0xbfbc, {0x5, 0xa, 0x7, 0x8, 0xf, 0x1, 0x3, 0x1, 0x2, 0xb, 0x1, 0xb}
29 0x26ab1978, 0x1d11, 0x4a4f, 0x826d, {0x6, 0x1, 0x7, 0x8, 0x5, 0xc, 0x0, 0x4, 0x8, 0xc, 0xc, 0xa}
33 0xbc3f5250, 0x34d7, 0x42d2, 0x9b40, {0xf, 0xf, 0xc, 0xe, 0x8, 0x3, 0xf, 0xd, 0x4, 0x0, 0x6, 0x1}
/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/
H A Dgeometry_curves.cpp34 void QuadBezierCurveIncr::Init(float x1, float y1, in Init() argument
38 startCoordinate_.x = x1; in Init()
43 float deltaX1 = x2 - x1; in Init()
62 float tmpX = (x1 - x2 * FLOATNUM + x3) * subdivideStep2; in Init()
65 savedFinalCoordinate_.x = x1; in Init()
66 finalCoordinate_.x = x1; in Init()
70 savedDeltaFinalCoordinate_.x = tmpX + (x2 - x1) * (FLOATNUM * subdivideStep); in Init()
71 deltaFinalCoordinate_.x = tmpX + (x2 - x1) * (FLOATNUM * subdivideStep); in Init()
144 void QuadrBezierCurveDividOp::Init(float x1, float y1, in Init() argument
151 Bezier(x1, y 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...]
/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
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/ability/ability_base/test/unittest/base/
H A Dbase_object_test.cpp66 0xbc3f5250, 0x34d7, 0x42d2, 0x9b40, {0xf, 0xf, 0xc, 0xe, 0x8, 0x3, 0xf, 0xd, 0x4, 0x0, 0x6, 0x1} in HWTEST_F()
80 0x00000000, 0x0000, 0x0000, 0x0000, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1} in HWTEST_F()
94 0x8321f710, 0xa0c0, 0x4cbe, 0xbfbc, {0x5, 0xa, 0x7, 0x8, 0xf, 0x1, 0x3, 0x1, 0x2, 0xb, 0x1, 0xb} in HWTEST_F()
108 0xbc3f5250, 0x34d7, 0x42d2, 0x9b40, {0xf, 0xf, 0xc, 0xe, 0x8, 0x3, 0xf, 0xd, 0x4, 0x0, 0x6, 0x1} in HWTEST_F()
122 0x26ab1978, 0x1d11, 0x4a4f, 0x826d, {0x6, 0x1, 0x7, 0x8, 0x5, 0xc, 0x0, 0x4, 0x8, 0xc, 0xc, 0xa} in HWTEST_F()
173 0x8321f710, 0xa0c0, 0x4cbe, 0xbfbc, {0x5, 0xa, 0x7, 0x8, 0xf, 0x1, 0x3, 0x1, 0x2, 0xb, 0x1, in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/radar/include/
H A Ddm_radar_helper.h40 DM_DISCOVER = 0x1,
48 DM_AUTHCATION = 0x1,
56 STAGE_SUCC = 0x1,
63 BIZ_STATE_START = 0x1,
69 DISCOVER_REGISTER_CALLBACK = 0x1,
75 AUTH_START = 0x1,
86 NETWORK_ONLINE = 0x1,
91 DELETE_TRUST = 0x1,
95 CREATE_PIN_HOLDER = 0x1,
104 GET_TRUST_DEVICE_LIST = 0x1,
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_line_declaration.h24 Dimension x1; member
40 void SetX1(const Dimension& x1) in SetX1() argument
43 attribute.x1 = x1; in SetX1()
67 return attribute.x1; in GetX1()
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgeometry2d.cpp75 int16_t x1 = line[0].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()
157 int16_t x1 = line[0].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()
[all...]
/foundation/ability/idl_tool/metadata/
H A Dmeta_component.h47 static constexpr unsigned int INTERFACE_PROPERTY_ONEWAY = 0x1;
49 static constexpr unsigned int METHOD_PROPERTY_ONEWAY = 0x1;
51 static constexpr unsigned int ATTR_IN = 0x1;
/foundation/ability/idl_tool/idl_tool_2/metadata/
H A Dmeta_component.h46 static constexpr unsigned int INTERFACE_PROPERTY_ONEWAY = 0x1;
48 static constexpr unsigned int METHOD_PROPERTY_ONEWAY = 0x1;
50 static constexpr unsigned int ATTR_IN = 0x1;
/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
136 x1_ = x1; in MoveTo()
139 clippingFlags_ = ClippingFlags(x1, y1, clipBox_); in MoveTo()
156 * clip_box.x1 clip_box.x2
171 int32_t x1, int32_t y1,
/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/include/
H A Dlnn_network_manager.h37 #define LNN_NETIF_TYPE_ETH (0x1)
38 #define LNN_NETIF_TYPE_WLAN (0x1 << 1)
39 #define LNN_NETIF_TYPE_BR (0x1 << 2)
40 #define LNN_NETIF_TYPE_BLE (0x1 << 3)
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/all_connect/
H A Dall_connect_manager_test.cpp115 EXPECT_CALL(*libraryFuncMock_, dlopen(_, _)).WillOnce(Return(reinterpret_cast<void *>(0x1))); in HWTEST_F()
142 EXPECT_CALL(*libraryFuncMock_, dlopen(_, _)).WillOnce(Return(reinterpret_cast<void *>(0x1))); in HWTEST_F()
219 allConnectManager.dllHandle_ = (void *)0x1; in HWTEST_F()
243 allConnectManager.dllHandle_ = (void *)0x1; in HWTEST_F()
273 allConnectManager.dllHandle_ = (void *)0x1; in HWTEST_F()
324 allConnectManager.dllHandle_ = (void *)0x1; in HWTEST_F()
347 allConnectManager.dllHandle_ = (void *)0x1; in HWTEST_F()
377 allConnectManager.dllHandle_ = (void *)0x1; in HWTEST_F()
418 allConnectManager.dllHandle_ = (void *)0x1; in HWTEST_F()
507 EXPECT_CALL(*libraryFuncMock_, dlopen(_, _)).WillOnce(Return(reinterpret_cast<void *>(0x1))); in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpath_fuzzer/
H A Dpath_fuzzer.cpp81 float x1 = 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, y in NativeDrawingPathTest002()
[all...]
/foundation/arkui/ui_lite/frameworks/animator/
H A Dinterpolation.cpp71 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()

Completed in 12 milliseconds

1234567891011