Searched refs:GetLinearColor (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/animation/ |
H A D | gradient_arithmetic.h | 39 … 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 D | data_panel_modifier.cpp | 461 … 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 D | data_panel_paint_property.h | 139 … 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 D | slider_paint_property.h | 54 return colors.GetColors()[0].GetLinearColor().ToColor().ColorToString(); in ToJsonTrackBackgroundColor() 71 … gradientColorJson->Put("color", gradientColor.GetLinearColor().ToColor().ColorToString().c_str()); in GradientToJson()
|
H A D | slider_content_modifier.cpp | 167 colors.emplace_back(gradientColors[i].GetLinearColor().GetValue()); in DrawBackground()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
H A D | slider_modifier_test_ng.cpp | 1057 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 D | slider_Extend_test_ng.cpp | 1647 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 D | gradient_property.h | 156 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 D | progress_paint_property.cpp | 142 … gradientColorJson->Put("color", gradientColor.GetLinearColor().ToColor().ColorToString().c_str()); in ToJsonGradientColor()
|
H A D | progress_modifier.cpp | 970 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 D | arkts_native_data_panel_bridge.cpp | 108 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 D | arkts_native_progress_bridge.cpp | 171 colorValues.push_back(gradient.GetColors()[i].GetLinearColor().GetValue()); in SetProgressColor()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_slider_modifier.cpp | 533 return gradient.GetColors().at(0).GetLinearColor().ToColor().GetValue(); in GetTrackBackgroundColor()
|