Home
last modified time | relevance | path

Searched refs:colorProperty (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.cpp1740 BorderColorProperty colorProperty = target->GetBorderColorValue(BorderColorProperty {}); in CheckLocalizedEdgeColors() local
1741 if (!colorProperty.startColor.has_value() && !colorProperty.endColor.has_value()) { in CheckLocalizedEdgeColors()
1744 if (colorProperty.startColor.has_value()) { in CheckLocalizedEdgeColors()
1745 borderColors.startColor = colorProperty.startColor; in CheckLocalizedEdgeColors()
1747 borderColors.rightColor = colorProperty.startColor; in CheckLocalizedEdgeColors()
1749 borderColors.leftColor = colorProperty.startColor; in CheckLocalizedEdgeColors()
1752 if (colorProperty.endColor.has_value()) { in CheckLocalizedEdgeColors()
1753 borderColors.endColor = colorProperty.endColor; in CheckLocalizedEdgeColors()
1755 borderColors.leftColor = colorProperty in CheckLocalizedEdgeColors()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_animation_debug_trace_test.cpp133 auto colorProperty = std::make_shared<RSRenderAnimatableProperty<Color>>(red); in HWTEST_F() local
134 EXPECT_EQ(RSAnimationTraceUtils::GetInstance().ParseRenderPropertyVaule(colorProperty, in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_navigation_utils.cpp69 auto colorProperty = optObj->GetProperty(BACKGROUND_COLOR_PROPERTY); in ParseBackgroundOptions() local
71 if (JSViewAbstract::ParseJsColor(colorProperty, color)) { in ParseBackgroundOptions()
H A Djs_view_abstract.h610 static bool ParseBorderColorProps(const JSRef<JSVal>& args, NG::BorderColorProperty& colorProperty);
H A Djs_view_abstract.cpp10241 bool JSViewAbstract::ParseBorderColorProps(const JSRef<JSVal>& args, NG::BorderColorProperty& colorProperty) in ParseBorderColorProps() argument
10248 colorProperty.SetColor(borderColor); in ParseBorderColorProps()
10254 colorProperty.topColor = commonColor.top; in ParseBorderColorProps()
10255 colorProperty.bottomColor = commonColor.bottom; in ParseBorderColorProps()
10257 colorProperty.startColor = commonColor.left; in ParseBorderColorProps()
10258 colorProperty.endColor = commonColor.right; in ParseBorderColorProps()
10260 colorProperty.leftColor = commonColor.left; in ParseBorderColorProps()
10261 colorProperty.rightColor = commonColor.right; in ParseBorderColorProps()
10263 colorProperty.multiValued = true; in ParseBorderColorProps()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_navigation_utils.cpp59 auto colorProperty = obj->Get(vm, panda::StringRef::NewFromUtf8(vm, "backgroundColor")); in ParseTitleOptions() local
61 if (ArkTSUtils::ParseJsColor(vm, colorProperty, color)) { in ParseTitleOptions()
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/
H A Dsegmentbutton.js976 this.h3 = new SynchedPropertyNesedObjectPU(params.colorProperty, this, "colorProperty");
986 this.h3.set(params.colorProperty);
999 this.h3.set(params.colorProperty);
1047 get colorProperty() {
1068 Stack.backgroundColor(this.press && this.hover ? this.pressColor : this.colorProperty.e3);
2403 colorProperty: this.hoverColorArray[index],
2417 colorProperty: this.hoverColorArray[index],
2428 colorProperty: this.hoverColorArray[index],
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp866 NG::BorderColorProperty colorProperty; in GetBorderColorProps() local
873 colorProperty.SetColor(borderColor); in GetBorderColorProps()
874 return colorProperty; in GetBorderColorProps()
889 colorProperty.leftColor = leftColor; in GetBorderColorProps()
892 colorProperty.rightColor = rightColor; in GetBorderColorProps()
895 colorProperty.topColor = topColor; in GetBorderColorProps()
898 colorProperty.bottomColor = bottomColor; in GetBorderColorProps()
900 colorProperty.multiValued = true; in GetBorderColorProps()
901 return colorProperty; in GetBorderColorProps()

Completed in 30 milliseconds