Home
last modified time | relevance | path

Searched refs:borderColor (Results 1 - 25 of 77) sorted by relevance

1234

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_progress_theme.h51 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 Dborder_property_test_ng.cpp162 * @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 Dsheet_style.h128 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 Dsheet_wrapper_paint_method.h48 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 Drs_property_drawable_background_test.cpp171 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 Drs_property_draw_background_test.cpp171 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 Djs_sec_button_base.cpp176 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 Djs_sliding_panel.cpp100 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 Djs_badge.cpp109 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 Djs_action_sheet.cpp204 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 Darkts_native_badge_bridge.cpp55 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 Djs_alert_dialog.cpp251 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 Dsecurity_component_test_ng.cpp339 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 Dcalendar_picker_model_ng.cpp118 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 Dborder_property.h201 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 Dsliding_panel_model.h51 virtual void SetBorderColor(const Color& borderColor);
H A Dsliding_panel_model_ng.h40 void SetBorderColor(const Color& borderColor) override;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dsliding_panel_model_impl.h38 void SetBorderColor(const Color& borderColor) override;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/badge/
H A Dbadge_pattern.cpp107 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 Datomic_service_pattern.cpp220 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 Dcheckbox_paint_method.h48 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 Dprogress_date.h102 Color borderColor; member
H A Dprogress_pattern.cpp71 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 Dsecurity_component_model_ng.cpp197 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 Ddialog_pattern.cpp317 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...]

Completed in 22 milliseconds

1234