Home
last modified time | relevance | path

Searched refs:GetLinearColor (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/animation/
H A Dgradient_arithmetic.h39 … gradientColor.SetLinearColor(srcColors[i].GetLinearColor() + destColors[i].GetLinearColor()); in Add()
50 … gradientColor.SetLinearColor(srcColors[i].GetLinearColor() + destColors[i].GetLinearColor()); in Add()
69 … gradientColor.SetLinearColor(srcColors[i].GetLinearColor() - destColors[i].GetLinearColor()); in Minus()
80 … gradientColor.SetLinearColor(srcColors[i].GetLinearColor() - destColors[i].GetLinearColor()); in Minus()
94 gradientColor.SetLinearColor(srcColors[i].GetLinearColor() * scale); in Multiply()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_modifier.cpp461 … colors.emplace_back(segmentLinearData.segmentColor.GetColors().at(i).GetLinearColor().GetValue()); in PaintColorSegment()
505 …colors.emplace_back(segmentLinearData.segmentShadowColor.GetColors().at(i).GetLinearColor().GetVal… in PaintColorSegmentFilterMask()
605 colors.emplace_back(sourceColors.GetColors().rbegin()->GetLinearColor().GetValue()); in PaintProgress()
609 colors.emplace_back(sourceColors.GetColors().at(i).GetLinearColor().GetValue()); in PaintProgress()
643 colors.emplace_back(sourceColors.GetColors().begin()->GetLinearColor().GetValue()); in PaintProgress()
688 … colors.emplace(colors.begin(), sourceColors.GetColors().rbegin()->GetLinearColor().GetValue()); in PaintProgress()
H A Ddata_panel_paint_property.h139 … gradientColorJosn->Put("color", gradientColor.GetLinearColor().ToColor().ColorToString().c_str()); in ToJsonValueColors()
199 … gradientColorJosn->Put("color", gradientColor.GetLinearColor().ToColor().ColorToString().c_str()); in ToJsonTrackShadow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_paint_property.h54 return colors.GetColors()[0].GetLinearColor().ToColor().ColorToString(); in ToJsonTrackBackgroundColor()
71 … gradientColorJson->Put("color", gradientColor.GetLinearColor().ToColor().ColorToString().c_str()); in GradientToJson()
H A Dslider_content_modifier.cpp167 colors.emplace_back(gradientColors[i].GetLinearColor().GetValue()); in DrawBackground()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_modifier_test_ng.cpp1057 EXPECT_EQ(gradientColors[0].GetLinearColor(), gradientColors2[0].GetLinearColor());
1058 EXPECT_EQ(gradientColors[1].GetLinearColor(), gradientColors2[1].GetLinearColor());
1059 EXPECT_EQ(gradientColors[2].GetLinearColor(), gradientColors2[2].GetLinearColor());
1115 EXPECT_EQ(defaultGradientColors[0].GetLinearColor(), gradientColors[0].GetLinearColor());
1116 EXPECT_EQ(defaultGradientColors[1].GetLinearColor(), gradientColors[1].GetLinearColor());
H A Dslider_Extend_test_ng.cpp1647 EXPECT_EQ(defaultGradientColors.at(0).GetLinearColor().ToColor().GetValue(),
1648 testGradientColors.at(0).GetLinearColor().ToColor().GetValue());
1649 EXPECT_EQ(defaultGradientColors.at(1).GetLinearColor().ToColor().GetValue(),
1650 testGradientColors.at(1).GetLinearColor().ToColor().GetValue());
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dgradient_property.h156 const LinearColor& GetLinearColor() const in GetLinearColor() function
184 opacity_ == other.GetOpacity() && linearColor_ == other.GetLinearColor());
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_paint_property.cpp142 … gradientColorJson->Put("color", gradientColor.GetLinearColor().ToColor().ColorToString().c_str()); in ToJsonGradientColor()
H A Dprogress_modifier.cpp970 Color color = gradientColors[i].GetLinearColor().BlendOpacity(RING_SHADOW_OPACITY); in PaintRingProgressOrShadow()
1011 colors.emplace_back(gradientColors[i].GetLinearColor().GetValue()); in PaintWhole()
1056 colors.emplace_back(gradientColors[i].GetLinearColor().GetValue()); in PaintBeginHalf()
1059 colors.emplace_back(gradientColors[0].GetLinearColor().GetValue()); in PaintBeginHalf()
1105 colors.emplace_back(gradientColors[gradientColors.size() - 1].GetLinearColor().GetValue()); in PaintEndHalf()
1109 colors.emplace_back(gradientColors[i].GetLinearColor().GetValue()); in PaintEndHalf()
1328 Color color = gradientColors[i].GetLinearColor().BlendOpacity(dimension); in PaintTrailing()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_data_panel_bridge.cpp108 allColor.emplace_back(shadowColors[i].GetColors()[j].GetLinearColor().GetValue()); in SetTrackShadowObject()
150 allColor.emplace_back(shadowColors[i].GetColors()[j].GetLinearColor().GetValue()); in SetValueColors()
H A Darkts_native_progress_bridge.cpp171 colorValues.push_back(gradient.GetColors()[i].GetLinearColor().GetValue()); in SetProgressColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_slider_modifier.cpp533 return gradient.GetColors().at(0).GetLinearColor().ToColor().GetValue(); in GetTrackBackgroundColor()