/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_triangle.cpp | 33 Point p3 = points[2]; // 2: point index in Draw() local 35 if ((p1.x == p2.x) && ((p1.y == p2.y) || (p1.x == p3.x))) { in Draw() 38 if ((p2.x == p3.x) && (p2.y == p3.y)) { in Draw() 41 if (((p1.x == p3.x) || (p1.y == p2.y)) && (p1.y == p3.y)) { in Draw() 44 SortVertexs(p1, p2, p3); in Draw() 46 Edge edge2 = InitEdge(p1, p3); in Draw() 50 while (edge1.curPoint.y <= p3.y) { in Draw() 51 // change edge1 from p1-p2 to p2-p3 in Draw() 77 SortVertexs(Point& p1, Point& p2, Point& p3) SortVertexs() argument [all...] |
H A D | draw_utils.cpp | 755 OpacityType p3 = GetPxAlphaForAlphaImg(in.info, {intU, intVPlus1}); local 780 const int64_t outA = __SMUAD(p1, w1) + __SMUAD(p2, w2) + __SMUAD(p3, w3) + __SMUAD(p4, w4); 782 const int64_t outA = p1 * w1 + p2 * w2 + p3 * w3 + p4 * w4; 861 const Color16 p3 = *(reinterpret_cast<Color16*>(&imgHead[px1 + in.srcLineWidth])); local 886 __SMUAD(p1.red, w1) + __SMUAD(p2.red, w2) + __SMUAD(p3.red, w3) + __SMUAD(p4.red, w4); 888 __SMUAD(p1.green, w1) + __SMUAD(p2.green, w2) + __SMUAD(p3.green, w3) + __SMUAD(p4.green, w4); 890 __SMUAD(p1.blue, w1) + __SMUAD(p2.blue, w2) + __SMUAD(p3.blue, w3) + __SMUAD(p4.blue, w4); 892 const int64_t outR = p1.red * w1 + p2.red * w2 + p3.red * w3 + p4.red * w4; 893 const int64_t outG = p1.green * w1 + p2.green * w2 + p3.green * w3 + p4.green * w4; 894 const int64_t outB = p1.blue * w1 + p2.blue * w2 + p3 980 const Color24 p3 = *(reinterpret_cast<Color24*>(&imgHead[px1 + in.srcLineWidth])); global() local 1072 const ColorType p3 = *(reinterpret_cast<ColorType*>(&imgHead[px1 + in.srcLineWidth])); global() local 1140 const ColorType p3 = *(reinterpret_cast<ColorType*>(&imgHead[px1 + in.srcLineWidth])); global() local 1386 const ColorType p3 = *(reinterpret_cast<ColorType*>(&imgHead[px1 + in.srcLineWidth])); global() local 1934 Point p3; global() local [all...] |
H A D | draw_triangle.h | 36 static void SortVertexs(Point& p1, Point& p2, Point& p3);
|
H A D | draw_utils.h | 154 Point p3; member
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | macros.h | 28 #define META_GET_MACRO4_IMPL(p0, p1, p2, p3, macro, ...) macro 29 #define META_GET_MACRO5_IMPL(p0, p1, p2, p3, p4, macro, ...) macro
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_chart.cpp | 708 const Point& p3, in GetLineCrossPoint() 713 if ((MATH_MIN(p1.x, p2.x) <= MATH_MAX(p3.x, p4.x)) && (MATH_MIN(p3.x, p4.x) <= MATH_MAX(p1.x, p2.x)) && in GetLineCrossPoint() 714 (MATH_MIN(p1.y, p2.y) <= MATH_MAX(p3.y, p4.y)) && (MATH_MIN(p3.y, p4.y) <= MATH_MAX(p1.y, p2.y))) { in GetLineCrossPoint() 716 if ((p4.y - p3.y) * (p2.x - p1.x) - (p4.x - p3.x) * (p2.y - p1.y) != 0) { in GetLineCrossPoint() 724 int64_t d = p3.y - p4.y; in GetLineCrossPoint() 725 int64_t e = p4.x - p3.x; in GetLineCrossPoint() 726 int64_t f = p4.x * p3 in GetLineCrossPoint() 706 GetLineCrossPoint(const Point& p1, const Point& p2, const Point& p3, const Point& p4, Point& cross) GetLineCrossPoint() argument [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | ObjectTest.cpp | 122 auto p3 = o3.Metadata().GetPropertyByName(propName); in HWTEST_F() local 124 EXPECT_EQ(p1, p3); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/ |
H A D | SharedPtrTest.cpp | 174 auto p3 = BASE_NS::shared_ptr<int>(p1.get(), [](void*) {}); in HWTEST_F() local 177 EXPECT_EQ(p1, p3); in HWTEST_F() 178 EXPECT_EQ(p2, p3); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | spirv_cross_helpers_gles.cpp | 163 const auto p3 = source.find(';', p);
in ConvertConstantToUniform() local 164 if ((p2 != std::string::npos) && (p3 != std::string::npos)) {
in ConvertConstantToUniform() 165 if (p2 < p3) {
in ConvertConstantToUniform() 168 ei = source.begin() + (int64_t)p3;
in ConvertConstantToUniform()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_attraction_effect_filter.h | 69 const Drawing::Point &p3, float t);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_attraction_effect_filter_test.cpp | 173 Drawing::Point p3 = { 20.0f, 20.0f }; in HWTEST_F() local 176 Drawing::Point point = firstEffectFilter.CubicBezier(p1, p2, p3, p4, t); in HWTEST_F()
|
/foundation/graphic/graphic_3d/3d_scene_adapter/src/ |
H A D | scene_adapter.cpp | 393 auto p3 = doc->GetPropertyByName<IntfPtr>("RenderContext"); in DeinitRenderThread() 394 doc->RemoveProperty(p3); in DeinitRenderThread()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 579 let p3 = t.readInt(); 581 if (p3 < 0 || p3 > MAX_SIZE) { 584 for (let c2 = 0; c2 < p3; c2++) {
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_chart.h | 920 bool GetLineCrossPoint(const Point& p1, const Point& p2, const Point& p3, const Point& p4, Point& cross);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_attraction_effect_filter.cpp | 71 const Drawing::Point &p2, const Drawing::Point &p3, float t) in CubicBezier() 73 // p(t) = (1 - t)^3 * p0 + 3 * t * (1 - t)^2 * p1 + 3 * t^2 * (1-t) * p2 + t^3 * p3 in CubicBezier() 82 p = p0 * uCubed + p1 * besselCoefficient * uSquared * t + p2 * besselCoefficient * u * tSquared + p3 * tCubed; in CubicBezier() 70 CubicBezier(const Drawing::Point &p0, const Drawing::Point &p1, const Drawing::Point &p2, const Drawing::Point &p3, float t) CubicBezier() argument
|
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 675 for (let p3 = 0; p3 < this.selectedIndexes.length; p3++) { 676 this.multiColor[this.selectedIndexes[p3]] = this.options.selectedBackgroundColor ??
|
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/ |
H A D | editabletitlebar.js | 974 Button.onTouch((p3) => { 975 this.touchEventAction(p3);
|
/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/ |
H A D | composetitlebar.js | 784 this.observeComponentCreation((o3, p3) => { 814 if (!p3) {
|
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1229 constructor(j3, p3) { 1231 this.headerValue = p3;
|
/foundation/arkui/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1229 constructor(j3, p3) { 1231 this.headerValue = p3;
|
/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/ |
H A D | tabtitlebar.js | 782 constructor(k3, l3, m3, n3 = -1, o3 = undefined, p3) { 783 super(k3, m3, n3, p3);
|
/foundation/arkui/ace_engine/advanced_ui_component/toolbar/interfaces/ |
H A D | toolbar.js | 864 this.observeComponentCreation2((p3, q3) => {
|
/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/ |
H A D | subheader.js | 1699 this.observeComponentCreation2((p3, q3) => {
|