/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/ |
H A D | js_progress_theme.h | 51 auto borderColor = themeColors->CompEmphasizeSecondary(); in ApplyTheme() local 52 ViewAbstractModel::GetInstance()->SetBorderColor(borderColor, borderColor, borderColor, borderColor); in ApplyTheme()
|
/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | border_property_test_ng.cpp | 162 * @tc.steps: step1. set multiValued is true, use the default borderColor and call ToJsonValue in HWTEST_F() 169 auto borderColor = json->GetValue("borderColor"); in HWTEST_F() local 170 auto left = borderColor->GetString("left", ""); in HWTEST_F() 172 auto top = borderColor->GetString("top", ""); in HWTEST_F() 174 auto right = borderColor->GetString("right", ""); in HWTEST_F() 176 auto bottom = borderColor->GetString("bottom", ""); in HWTEST_F() 180 * @tc.steps: step2. set multiValued is true, set the borderColor blue and call ToJsonValue in HWTEST_F() 188 borderColor = json->GetValue("borderColor"); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_style.h | 128 std::optional<NG::BorderColorProperty> borderColor; // border color member 143 borderWidth == sheetStyle.borderWidth && borderColor == sheetStyle.borderColor && in operator ==() 176 borderColor = sheetStyle.borderColor.has_value() ? sheetStyle.borderColor : borderColor; in PartialUpdate()
|
H A D | sheet_wrapper_paint_method.h | 48 void SetBorderPenStyle(RSPen& pen, const Dimension& borderWidth, const Color& borderColor);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_property_drawable_background_test.cpp | 171 auto borderColor = Color(255, 255, 255, 255); in HWTEST_F() local 174 { borderColor, borderColor, borderColor, borderColor }); in HWTEST_F() 199 auto borderColor = Color(255, 255, 255, 255); in HWTEST_F() local 202 { borderColor, borderColor, borderColor, borderColor }); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/ |
H A D | rs_property_draw_background_test.cpp | 171 auto borderColor = Color(255, 255, 255, 255); in HWTEST_F() local 174 { borderColor, borderColor, borderColor, borderColor }); in HWTEST_F() 199 auto borderColor = Color(255, 255, 255, 255); in HWTEST_F() local 202 { borderColor, borderColor, borderColor, borderColor }); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_sec_button_base.cpp | 176 Color borderColor; in SetBackgroundBorderColor() local 177 if (!ParseJsColor(info[0], borderColor)) { in SetBackgroundBorderColor() 178 borderColor = theme->GetBorderColor(); in SetBackgroundBorderColor() 180 SecurityComponentModelNG::SetBackgroundBorderColor(borderColor); in SetBackgroundBorderColor()
|
H A D | js_sliding_panel.cpp | 100 JSClass<JSSlidingPanel>::StaticMethod("borderColor", JsPanelBorderColor); in JSBind() 194 Color borderColor; in JsPanelBorderColor() local 195 if (!ParseJsColor(info[0], borderColor)) { in JsPanelBorderColor() 199 SlidingPanelModel::GetInstance()->SetBorderColor(borderColor); in JsPanelBorderColor() 252 Color borderColor; in JsPanelBorder() local 253 ParseJsColor(argsPtrItem->GetProperty("color"), borderColor); in JsPanelBorder() 254 SlidingPanelModel::GetInstance()->SetBorderColor(borderColor); in JsPanelBorder()
|
H A D | js_badge.cpp | 109 JSRef<JSVal> borderColorValue = value->GetProperty("borderColor"); in CreateBadgeParameters() 172 Color borderColor; in CreateBadgeParameters() local 173 if (ParseJsColor(borderColorValue, borderColor)) { in CreateBadgeParameters() 174 badgeParameters.badgeBorderColor = borderColor; in CreateBadgeParameters()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/action_sheet/ |
H A D | js_action_sheet.cpp | 204 auto colorValue = obj->GetProperty("borderColor"); in ParseBorderWidthAndColor() 205 NG::BorderColorProperty borderColor; in ParseBorderWidthAndColor() local 206 if (JSActionSheet::ParseBorderColorProps(colorValue, borderColor)) { in ParseBorderWidthAndColor() 207 properties.borderColor = borderColor; in ParseBorderWidthAndColor() 209 borderColor.SetColor(Color::BLACK); in ParseBorderWidthAndColor() 210 properties.borderColor = borderColor; in ParseBorderWidthAndColor()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_badge_bridge.cpp | 55 param.borderColor = themeColors ? themeColors->Warning().GetValue() : badgeTheme->GetBadgeBorderColor().GetValue(); in InitBadgeParam() 131 Local<JSValueRef> borderColor = runtimeCallInfo->GetCallArgRef(6); // 6: parameter index in ParseBadgeBaseParam() local 149 if (ArkTSUtils::ParseJsColorAlpha(vm, borderColor, borderColorVal)) { in ParseBadgeBaseParam() 150 param.borderColor = borderColorVal.GetValue(); in ParseBadgeBaseParam()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_alert_dialog.cpp | 251 auto colorValue = obj->GetProperty("borderColor"); in ParseAlertBorderWidthAndColor() 252 NG::BorderColorProperty borderColor; in ParseAlertBorderWidthAndColor() local 253 if (JSAlertDialog::ParseBorderColorProps(colorValue, borderColor)) { in ParseAlertBorderWidthAndColor() 254 properties.borderColor = borderColor; in ParseAlertBorderWidthAndColor() 256 borderColor.SetColor(Color::BLACK); in ParseAlertBorderWidthAndColor() 257 properties.borderColor = borderColor; in ParseAlertBorderWidthAndColor()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/ |
H A D | security_component_test_ng.cpp | 339 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); in HWTEST_F() local 340 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::RED); in HWTEST_F() 468 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); in HWTEST_F() local 469 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F() 526 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); in HWTEST_F() local 527 EXPECT_EQ(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F() 569 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); in HWTEST_F() local 570 EXPECT_NE(borderColor.leftColor.value_or(Color()), Color::GREEN); in HWTEST_F() 787 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); in HWTEST_F() local 788 EXPECT_EQ(borderColor in HWTEST_F() 917 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); HWTEST_F() local 975 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); HWTEST_F() local 1018 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); HWTEST_F() local 1215 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); HWTEST_F() local 1344 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); HWTEST_F() local 1402 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); HWTEST_F() local 1444 auto borderColor = buttonRender->GetBorderColor().value_or(BorderColorProperty()); HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_picker_model_ng.cpp | 118 BorderColorProperty borderColor; in CreateButtonChild() local 119 borderColor.SetColor(theme->GetEntryBorderColor()); in CreateButtonChild() 120 buttonNode->GetRenderContext()->UpdateBorderColor(borderColor); in CreateButtonChild() 259 BorderColorProperty borderColor; in CreateNode() local 260 borderColor.SetColor(theme->GetEntryBorderColor()); in CreateNode() 261 pickerNode->GetRenderContext()->UpdateBorderColor(borderColor); in CreateNode() 367 BorderColorProperty borderColor; in ClearBorderColor() local 368 borderColor.SetColor(theme->GetEntryBorderColor()); in ClearBorderColor() 369 frameNode->GetRenderContext()->UpdateBorderColor(borderColor); in ClearBorderColor() 553 BorderColorProperty borderColor; in ClearBorderColor() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | border_property.h | 201 void SetColor(const Color& borderColor) in SetColor() 203 leftColor = borderColor; in SetColor() 204 rightColor = borderColor; in SetColor() 205 topColor = borderColor; in SetColor() 206 bottomColor = borderColor; in SetColor()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | sliding_panel_model.h | 51 virtual void SetBorderColor(const Color& borderColor);
|
H A D | sliding_panel_model_ng.h | 40 void SetBorderColor(const Color& borderColor) override;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | sliding_panel_model_impl.h | 38 void SetBorderColor(const Color& borderColor) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/badge/ |
H A D | badge_pattern.cpp | 107 BorderColorProperty borderColor; in OnModifyDone() local 108 borderColor.SetColor(color); in OnModifyDone() 109 textRenderContext->UpdateBorderColor(borderColor); in OnModifyDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/app_bar/ |
H A D | atomic_service_pattern.cpp | 220 BorderColorProperty borderColor; in UpdateMenuBarColor() local 224 borderColor.SetColor(theme->GetBorderColorLight()); in UpdateMenuBarColor() 227 borderColor.SetColor(theme->GetBorderColorDark()); in UpdateMenuBarColor() 230 renderContext->UpdateBorderColor(borderColor); in UpdateMenuBarColor()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/ |
H A D | checkbox_paint_method.h | 48 auto borderColor = isSelect ? Color::TRANSPARENT : checkBoxTheme->GetInactiveColor(); variable 69 isSelect, boardColor, checkColor, borderColor, shadowColor, size, offset, checkStroke, strokeSize);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_date.h | 102 Color borderColor; member
|
H A D | progress_pattern.cpp | 71 auto borderColor = paintProperty->GetBorderColor().value_or(progressTheme->GetBorderColor()); in InitAnimatableProperty() local 88 progressAnimatableProperty.borderColor = borderColor; in InitAnimatableProperty()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_model_ng.cpp | 197 BorderColorProperty borderColor; in SetDefaultBackgroundButton() local 198 borderColor.SetColor(secCompTheme->GetBorderColor()); in SetDefaultBackgroundButton() 199 renderContext->UpdateBorderColor(borderColor); in SetDefaultBackgroundButton()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_pattern.cpp | 317 props.borderStyle.has_value() || props.borderColor.has_value(); in UpdateContentRenderContext() 358 if (props.borderColor.has_value()) { in UpdateContentRenderContext() 359 contentRenderContext->UpdateBorderColor(props.borderColor.value()); in UpdateContentRenderContext() 362 BorderColorProperty borderColor; in UpdateContentRenderContext() local 364 borderColor.SetColor(dialogTheme_->GetDialogInnerBorderColor()); in UpdateContentRenderContext() 369 contentRenderContext->UpdateBorderColor(borderColor); in UpdateContentRenderContext() 1236 if (dialogProperties_.borderColor.has_value()) { in OnLanguageConfigurationUpdate() 1241 contentRenderContext_->UpdateBorderColor(dialogProperties_.borderColor.value()); in OnLanguageConfigurationUpdate() 1597 if (dialogProperties_.borderColor.has_value()) { in DumpInfo() 1598 DumpLog::GetInstance().AddDesc("BorderColor: " + dialogProperties_.borderColor in DumpInfo() [all...] |