/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/ |
H A D | appearance_border_radius_test.cpp | 290 const int dashGap = 25; in GRAPHIC_TEST() local 306 testNode1->SetBorderDashGap({ dashGap, dashGap, dashGap, dashGap }); in GRAPHIC_TEST() 318 testNode2->SetBorderDashGap({ dashGap, dashGap, dashGap, dashGap }); in GRAPHIC_TEST()
|
H A D | appearance_border_test.cpp | 274 const int dashGap = 25; in GRAPHIC_TEST() local 289 testNode1->SetBorderDashGap({ dashGap, dashGap, dashGap, dashGap }); in GRAPHIC_TEST() 300 testNode2->SetBorderDashGap({ dashGap, dashGap, dashGap, dashGap }); in GRAPHIC_TEST()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_border.cpp | 79 void RSBorder::SetDashGap(float dashGap) in SetDashGap() argument 82 dashGap_.push_back(dashGap); in SetDashGap() 133 // if dashGap is not set, return -1 and the value will be calculated in GetDashGap() 180 void RSBorder::SetDashGapFour(const Vector4f& dashGap) in SetDashGapFour() argument 182 if (dashGap.x_ == dashGap.y_ && dashGap.x_ == dashGap.z_ && dashGap.x_ == dashGap in SetDashGapFour() 260 float dashGap = GetDashGap(idx); SetBorderEffect() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_border.h | 74 void SetDashGap(float dashGap); 86 void SetDashGapFour(const Vector4f& dashGap); 131 // Dash params dashWidth and dashGap
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_abstract_test_ng_for_property_config.cpp | 128 * @tc.steps: Build a object dashGap . in HWTEST_F() 173 BorderWidthProperty dashGap; in HWTEST_F() local 174 dashGap.SetBorderWidth(Dimension(2)); in HWTEST_F() 175 ViewAbstract::SetDashGap(AceType::RawPtr(frameNode), dashGap); in HWTEST_F() local 202 BorderWidthProperty dashGap; in HWTEST_F() local 203 dashGap.SetBorderWidth(Dimension(2)); in HWTEST_F() 204 ViewAbstract::SetDashWidth(AceType::RawPtr(frameNode), dashGap); in HWTEST_F() local
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract_model_ng.h | 398 NG::BorderWidthProperty dashGap; variable 399 dashGap.leftDimen = left; 400 dashGap.rightDimen = right; 401 dashGap.topDimen = top; 402 dashGap.bottomDimen = bottom; 403 dashGap.multiValued = true; 404 ViewAbstract::SetDashGap(dashGap);
|
H A D | view_abstract.cpp | 646 BorderWidthProperty dashGap; in SetDashGap() local 647 dashGap.SetBorderWidth(value); in SetDashGap() 649 ACE_UPDATE_RENDER_CONTEXT(DashGap, dashGap); in SetDashGap() 654 BorderWidthProperty dashGap; in SetDashGap() local 655 dashGap.SetBorderWidth(value); in SetDashGap() 657 ACE_UPDATE_NODE_RENDER_CONTEXT(DashGap, dashGap, frameNode); in SetDashGap()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 279 void SetBorderDashGap(const Vector4f& dashGap); 288 void SetOutlineDashGap(const Vector4f& dashGap);
|
H A D | rs_node.cpp | 1322 void RSNode::SetBorderDashGap(const Vector4f& dashGap) in SetBorderDashGap() argument 1325 RSModifierType::BORDER_DASH_GAP, dashGap); in SetBorderDashGap() 1374 void RSNode::SetOutlineDashGap(const Vector4f& dashGap) in SetOutlineDashGap() argument 1377 RSModifierType::OUTLINE_DASH_GAP, dashGap); in SetOutlineDashGap()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties.h | 217 void SetBorderDashGap(const Vector4f& dashGap); 228 void SetOutlineDashGap(const Vector4f& dashGap);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_search.cpp | 766 auto dashGap = object->GetProperty("dashGap"); in JsBorder() local 767 if (!dashGap->IsUndefined()) { in JsBorder() 768 JSViewAbstract::ParseDashGap(dashGap); in JsBorder()
|
H A D | js_textfield.cpp | 864 auto dashGap = object->GetProperty("dashGap"); in JsBorder() local 865 if (!dashGap->IsUndefined()) { in JsBorder() 866 JSViewAbstract::ParseDashGap(dashGap); in JsBorder()
|
H A D | js_view_abstract.cpp | 3974 auto dashGap = object->GetProperty("dashGap"); in JsBorder() local 3975 if (!dashGap->IsUndefined()) { in JsBorder() 3976 ParseDashGap(dashGap); in JsBorder() 4056 CalcDimension dashGap; in ParseDashGap() local 4057 if (ParseLengthMetricsToDimension(args, dashGap)) { in ParseDashGap() 4058 if (dashGap.Unit() == DimensionUnit::PERCENT) { in ParseDashGap() 4059 dashGap.Reset(); in ParseDashGap() 4061 ViewAbstractModel::GetInstance()->SetDashGap(dashGap); in ParseDashGap() 4069 dashGap in ParseDashGap() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_properties.cpp | 1085 void RSProperties::SetBorderDashGap(const Vector4f& dashGap) in SetBorderDashGap() argument 1090 border_->SetDashGapFour(dashGap); in SetBorderDashGap() 1195 void RSProperties::SetOutlineDashGap(const Vector4f& dashGap) in SetOutlineDashGap() argument 1200 outline_->SetDashGapFour(dashGap); in SetOutlineDashGap()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 3526 if (!isUndefined(value === null || value === void 0 ? void 0 : value.dashGap) && (value === null || value === void 0 ? void 0 : value.dashGap) !== null) { 3527 if (isNumber(value.dashGap) || isString(value.dashGap) || isResource(value.dashGap) || isObject(value.dashGap) && isNumber(value.dashGap.value)) { 3528 arkBorder.arkDashGap.left = value.dashGap; 3529 arkBorder.arkDashGap.right = value.dashGap; 3530 arkBorder.arkDashGap.top = value.dashGap; [all...] |