Home
last modified time | relevance | path

Searched refs:leftColor (Results 1 - 21 of 21) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dborder_property.h193 std::optional<Color> leftColor; member
203 leftColor = borderColor; in SetColor()
211 return (leftColor == value.leftColor) && (rightColor == value.rightColor) && (topColor == value.topColor) && in operator ==()
H A Dborder_property.cpp143 res->Put("left", leftColor.value_or(Color()).ColorToString().c_str()); in ToJsonValue()
151 auto left = leftColor.value_or(Color()).ColorToString(); in ToJsonValue()
160 str.append("leftColor: [").append(leftColor.has_value() ? leftColor->ColorToString() : "NA").append("]"); in ToString()
/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/
H A Dsecurity_component_test_ng.cpp340 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::RED); in HWTEST_F()
469 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F()
527 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F()
570 EXPECT_NE(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F()
788 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::RED); in HWTEST_F()
918 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F()
976 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F()
1019 EXPECT_NE(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F()
1216 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::RED); in HWTEST_F()
1345 EXPECT_EQ(borderColor.leftColor in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/layout/
H A Dlayout_property_test_ng_two.cpp299 EXPECT_EQ(renderContext->GetBorder()->GetBorderColorValue().leftColor.value(), Color::BLUE); in HWTEST_F()
334 EXPECT_EQ(renderContext->GetBorder()->GetBorderColorValue().leftColor.value(), Color::BLUE); in HWTEST_F()
647 EXPECT_EQ(renderContext->GetOuterBorder()->GetOuterBorderColorValue().leftColor.value(), Color::BLUE); in HWTEST_F()
683 EXPECT_EQ(renderContext->GetOuterBorder()->GetOuterBorderColorValue().leftColor.value(), Color::BLUE); in HWTEST_F()
706 EXPECT_FALSE(renderContext->GetOuterBorder()->GetOuterBorderColorValue().leftColor.has_value()); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Dborder_property_test_ng.cpp301 const string strTemp = "leftColor: [NA]rightColor: [NA]topColor: [NA]bottomColor: [NA]"; in HWTEST_F()
306 EXPECT_TRUE(borderColorProperty.leftColor.has_value()); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.cpp1531 borderColors.leftColor = outerBorderColorProperty.startColor; in CheckLocalizedOuterBorderColor()
1537 borderColors.leftColor = outerBorderColorProperty.endColor; in CheckLocalizedOuterBorderColor()
1749 borderColors.leftColor = colorProperty.startColor; in CheckLocalizedEdgeColors()
1755 borderColors.leftColor = colorProperty.endColor; in CheckLocalizedEdgeColors()
/foundation/arkui/ace_engine/test/unittest/core/render/
H A Drender_context_test_ng.cpp369 EXPECT_EQ(renderContext->GetBorderColor()->leftColor.value(), Color::BLACK); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_abstract_model_impl.cpp425 Color leftColor = colorLeft.has_value() ? colorLeft.value() : BoxComponentHelper::GetBorderColorTop(decoration); in SetBorderColor() local
434 BoxComponentHelper::SetBorderColor(decoration, leftColor, rightColor, topColor, bottomColor, option); in SetBorderColor()
438 BoxStateAttribute::BORDER_COLOR, AnimatableColor(leftColor, option), stack->GetVisualState()); in SetBorderColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp2404 rsNode_->SetBorderColor(value.leftColor.value_or(Color::BLACK).GetValue(), in SetBorderColor()
2514 Rosen::Vector4<Rosen::RSColor> color(Rosen::RSColor::FromArgbInt(value.leftColor.value_or(Color::BLACK).GetValue()), in SetOuterBorderColor()
3567 auto leftColor = (Color::TRANSPARENT).GetValue(); in ResetBlendBorderColor() local
3572 leftColor = GetBorderColor()->leftColor.value_or(Color::TRANSPARENT).GetValue(); in ResetBlendBorderColor()
3577 rsNode_->SetBorderColor(leftColor, topColor, rightColor, bottomColor); in ResetBlendBorderColor()
3584 auto leftColor = color.GetValue(); in BlendBorderColor() local
3589 leftColor = (GetBorderColor()->leftColor.value_or(Color::TRANSPARENT).BlendColor(color)).GetValue(); in BlendBorderColor()
3594 rsNode_->SetBorderColor(leftColor, topColo in BlendBorderColor()
[all...]
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp884 Color leftColor; in GetBorderColorProps() local
888 if (ParseNapiColor(env, leftApi, leftColor)) { in GetBorderColorProps()
889 colorProperty.leftColor = leftColor; in GetBorderColorProps()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_pattern.cpp334 renderContext->GetBorderColor()->leftColor.value_or(Color::BLACK).ColorToString().c_str(), filter);
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Drender_node_modifier.cpp318 .leftColor = Color(left), in SetBorderColor()
H A Dnode_text_area_modifier.cpp1224 SetOptionalBorderColor(borderColors.leftColor, values, valuesSize, offset); in SetAllOptionalBorderColor()
1367 borderColors.leftColor = Color(leftColorInt); in SetTextAreaBorderColor()
H A Dnode_common_modifier.cpp844 borderColors.leftColor = Color(leftColorInt); in SetBorderColor()
1826 * colorAndStyle[offset + 0], option[offset + 1]: borderColors startColor/leftColor(hasValue, value)
1860 SetOptionalBorderColor(borderColors.leftColor, colorAndStyle, colorAndStyleSize, colorAndStyleOffset); in SetBorder()
4579 SetOptionalBorderColor(borderColors.leftColor, values, valuesSize, colorOffset); in SetOutlineColor()
4599 (*values)[NUM_3] = colors.leftColor->GetValue(); in GetOutlineColor()
4728 * colorAndStyle[offset + 0], option[offset + 1]: OutlineColors leftColor(hasValue, value)
4766 SetOptionalBorderColor(borderColors.leftColor, colorAndStyle, colorAndStyleSize, colorAndStyleOffset); in SetOutline()
5086 (*values)[NUM_3] = colors.leftColor->GetValue(); in GetBorderColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract_model_ng.h331 borderColors.leftColor = colorLeft;
455 borderColors.leftColor = colorLeft;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_utils.cpp1645 std::optional<Color> leftColor; in ParseOuterBorderColor() local
1652 leftColor = left; in ParseOuterBorderColor()
1667 PushOuterBorderColorVector(leftColor, values); in ParseOuterBorderColor()
H A Darkts_native_text_area_bridge.cpp1621 Color leftColor; in SetBorderColor() local
1626 if (!ArkTSUtils::ParseJsColorAlpha(vm, leftArg, leftColor)) { in SetBorderColor()
1627 leftColor.SetValue(COLOR_ALPHA_VALUE); in SetBorderColor()
1638 GetArkUINodeModifiers()->getTextAreaModifier()->setTextAreaBorderColor(nativeNode, leftColor.GetValue(), in SetBorderColor()
H A Darkts_native_common_bridge.cpp950 std::optional<Color> leftColor; in ParseOuterBorderColor() local
959 leftColor = left; in ParseOuterBorderColor()
989 PushOuterBorderColorVector(leftColor, values); in ParseOuterBorderColor()
1848 Color leftColor; in SetBorderColor() local
1859 if (!ArkTSUtils::ParseJsColorAlpha(vm, leftArg, leftColor)) { in SetBorderColor()
1860 leftColor.SetValue(COLOR_ALPHA_VALUE); in SetBorderColor()
1865 (isRightToLeft && isLocalized) ? leftColor.GetValue() : rightColor.GetValue(), in SetBorderColor()
1867 (isRightToLeft && isLocalized) ? rightColor.GetValue() : leftColor.GetValue()); in SetBorderColor()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js954 this.value.arkColor.leftColor, this.value.arkColor.rightColor,
1126 let leftColor;
1132 leftColor = this.value.color;
1138 leftColor = this.value.color.left;
1181 leftColor, rightColor, topColor, bottomColor,
3477 arkBorder.arkColor.leftColor = value.color;
3485 arkBorder.arkColor.leftColor = value.color.left;
4956 borderValue.arkColor.leftColor = value.color;
4963 borderValue.arkColor.leftColor = (value.color).left;
6763 let leftColor;
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar_picker/
H A Dcalendar_picker_test_ng.cpp189 EXPECT_EQ(borderColor->leftColor->ColorToString(), theme->GetEntryBorderColor().ColorToString()); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_abstract.cpp10260 colorProperty.leftColor = commonColor.left; in ParseBorderColorProps()

Completed in 103 milliseconds