/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | border_property.h | 196 std::optional<Color> bottomColor; member 206 bottomColor = borderColor; in SetColor() 212 (bottomColor == value.bottomColor); in operator ==()
|
H A D | border_property.cpp | 146 res->Put("bottom", bottomColor.value_or(Color()).ColorToString().c_str()); in ToJsonValue() 163 str.append("bottomColor: [").append(bottomColor.has_value() ? bottomColor->ColorToString() : "NA").append("]"); in ToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/ |
H A D | layout_property.cpp | 1545 if (outerBorderColorProperty.bottomColor.has_value()) { in CheckLocalizedOuterBorderColor() 1546 borderColors.topColor = outerBorderColorProperty.bottomColor; in CheckLocalizedOuterBorderColor() 1763 if (colorProperty.bottomColor.has_value()) { in CheckLocalizedEdgeColors() 1764 borderColors.bottomColor = colorProperty.bottomColor; in CheckLocalizedEdgeColors()
|
/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | layout_property_test_ng_two.cpp | 309 * @tc.desc: Test CheckLocalizedEdgeColors when endColor,topColor,bottomColor all have values 323 borderColorProperty.bottomColor = std::make_optional<Color>(Color::GREEN); in HWTEST_F() 657 * @tc.desc: Test CheckLocalizedOuterBorderColor when endColor,topColor,bottomColor have values 671 borderColorProperty.bottomColor = std::make_optional<Color>(Color::GREEN); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 2406 value.bottomColor.value_or(Color::BLACK).GetValue()); in SetBorderColor() 2517 Rosen::RSColor::FromArgbInt(value.bottomColor.value_or(Color::BLACK).GetValue())); in SetOuterBorderColor() 3570 auto bottomColor = (Color::TRANSPARENT).GetValue(); in ResetBlendBorderColor() local 3575 bottomColor = GetBorderColor()->bottomColor.value_or(Color::TRANSPARENT).GetValue(); in ResetBlendBorderColor() 3577 rsNode_->SetBorderColor(leftColor, topColor, rightColor, bottomColor); in ResetBlendBorderColor() 3587 auto bottomColor = color.GetValue(); in BlendBorderColor() local 3592 bottomColor = (GetBorderColor()->bottomColor.value_or(Color::TRANSPARENT).BlendColor(color)).GetValue(); in BlendBorderColor() 3594 rsNode_->SetBorderColor(leftColor, topColor, rightColor, bottomColor); in BlendBorderColor() [all...] |
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/ |
H A D | prompt_action.cpp | 887 Color bottomColor; in GetBorderColorProps() local 897 if (ParseNapiColor(env, bottomApi, bottomColor)) { in GetBorderColorProps() 898 colorProperty.bottomColor = bottomColor; in GetBorderColorProps()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | render_node_modifier.cpp | 321 .bottomColor = Color(bottom), in SetBorderColor()
|
H A D | node_text_area_modifier.cpp | 1227 SetOptionalBorderColor(borderColors.bottomColor, values, valuesSize, offset); in SetAllOptionalBorderColor() 1366 borderColors.bottomColor = Color(bottomColorInt); in SetTextAreaBorderColor()
|
H A D | node_common_modifier.cpp | 843 borderColors.bottomColor = Color(bottomColorInt); in SetBorderColor() 1829 * colorAndStyle[offset + 6], option[offset + 7]: borderColors bottomColor(hasValue, value) 1864 SetOptionalBorderColor(borderColors.bottomColor, colorAndStyle, colorAndStyleSize, colorAndStyleOffset); in SetBorder() 4578 SetOptionalBorderColor(borderColors.bottomColor, values, valuesSize, colorOffset); in SetOutlineColor() 4598 (*values)[NUM_2] = colors.bottomColor->GetValue(); in GetOutlineColor() 4731 * colorAndStyle[offset + 6], option[offset + 7]: OutlineColors bottomColor(hasValue, value) 4769 SetOptionalBorderColor(borderColors.bottomColor, colorAndStyle, colorAndStyleSize, colorAndStyleOffset); in SetOutline() 5085 (*values)[NUM_2] = colors.bottomColor->GetValue(); in GetBorderColor()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract_model_ng.h | 334 borderColors.bottomColor = colorBottom; 458 borderColors.bottomColor = colorBottom;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | view_abstract_model_impl.cpp | 429 Color bottomColor = in SetBorderColor() local 434 BoxComponentHelper::SetBorderColor(decoration, leftColor, rightColor, topColor, bottomColor, option); in SetBorderColor()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_utils.cpp | 1648 std::optional<Color> bottomColor; in ParseOuterBorderColor() local 1664 bottomColor = bottom; in ParseOuterBorderColor() 1670 PushOuterBorderColorVector(bottomColor, values); in ParseOuterBorderColor()
|
H A D | arkts_native_text_area_bridge.cpp | 1624 Color bottomColor; in SetBorderColor() local 1635 if (!ArkTSUtils::ParseJsColorAlpha(vm, bottomArg, bottomColor)) { in SetBorderColor() 1636 bottomColor.SetValue(COLOR_ALPHA_VALUE); in SetBorderColor() 1639 rightColor.GetValue(), topColor.GetValue(), bottomColor.GetValue()); in SetBorderColor()
|
H A D | arkts_native_common_bridge.cpp | 953 std::optional<Color> bottomColor; in ParseOuterBorderColor() local 971 bottomColor = bottom; in ParseOuterBorderColor() 993 PushOuterBorderColorVector(bottomColor, values); in ParseOuterBorderColor() 1847 Color bottomColor; in SetBorderColor() local 1856 if (!ArkTSUtils::ParseJsColorAlpha(vm, bottomArg, bottomColor)) { in SetBorderColor() 1857 bottomColor.SetValue(COLOR_ALPHA_VALUE); in SetBorderColor() 1866 bottomColor.GetValue(), in SetBorderColor()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 955 this.value.arkColor.topColor, this.value.arkColor.bottomColor, 1129 let bottomColor; 1135 bottomColor = this.value.color; 1141 bottomColor = this.value.color.bottom; 1181 leftColor, rightColor, topColor, bottomColor, 3480 arkBorder.arkColor.bottomColor = value.color; 3488 arkBorder.arkColor.bottomColor = value.color.bottom; 4959 borderValue.arkColor.bottomColor = value.color; 4966 borderValue.arkColor.bottomColor = (value.color).bottom; 6766 let bottomColor; [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_pattern.cpp | 1138 boderColor.bottomColor = indexerTheme->GetPopupSeparateColor(); in UpdateBubbleLetterView()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 4525 borderColors.bottomColor = colorBottom; in GetLocalizedBorderColor() 10255 colorProperty.bottomColor = commonColor.bottom; in ParseBorderColorProps()
|