Searched refs:ColorStopArray (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_gauge.h | 41 std::vector<OHOS::Ace::NG::ColorStopArray>& colors, OHOS::Ace::NG::GaugeType& type); 43 const JsiRef<JsiValue>& itemParam, std::vector<OHOS::Ace::NG::ColorStopArray>& colors); 44 static void SortColorStopOffset(std::vector<NG::ColorStopArray>& colors);
|
H A D | js_gauge.cpp | 186 std::vector<NG::ColorStopArray> colors; in SetGradientColors() 224 void JSGauge::SortColorStopOffset(std::vector<NG::ColorStopArray>& colors) in SortColorStopOffset() 241 const JsiRef<JsiValue>& itemParam, std::vector<NG::ColorStopArray>& colors, NG::GaugeType& type) in ConvertGradientColor() 256 NG::ColorStopArray colorStopArray; in ConvertGradientColor() 264 …e::ConvertResourceColor(const JsiRef<JsiValue>& itemParam, std::vector<NG::ColorStopArray>& colors) in ConvertResourceColor() 270 NG::ColorStopArray colorStopArray; in ConvertResourceColor()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_gauge_ffi.cpp | 101 void SortColorStopOffset(std::vector<NG::ColorStopArray>& colors) in SortColorStopOffset() 139 std::vector<NG::ColorStopArray> colors; in FfiOHOSAceFrameworkGaugeSetColorsV2() 153 NG::ColorStopArray colorStopArray; in FfiOHOSAceFrameworkGaugeSetColorsV2() 161 NG::ColorStopArray colorStopArray; in FfiOHOSAceFrameworkGaugeSetColorsV2() 170 std::vector<NG::ColorStopArray> colors; in FfiOHOSAceFrameworkGaugeSetLinearGradientColors() 192 NG::ColorStopArray colorStopArray; in FfiOHOSAceFrameworkGaugeSetLinearGradientColors() 204 NG::ColorStopArray colorStopArray; in FfiOHOSAceFrameworkGaugeSetLinearGradientColors()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | gauge_modifier.cpp | 186 void SortColorStopByOffset(std::vector<NG::ColorStopArray>& colors) in SortColorStopByOffset() 213 std::vector<ColorStopArray> colors(gradient->length); in SetGradientColors() 220 … colors.at(i) = NG::ColorStopArray { std::make_pair(Color(gradient->color[pos]), Dimension(0.0)) }; in SetGradientColors() 223 ColorStopArray colorStop(gradient->gradientLength[i]); in SetGradientColors()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/gauge/ |
H A D | gauge_test_ng.cpp | 970 ColorStopArray colorStopArray; in __anon035cb6071002() 1012 ColorStopArray colorStopArray; in __anon035cb6071102() 1068 ColorStopArray colorStopArray; in __anon035cb6071202() 1116 ColorStopArray colorStopArray; in __anon035cb6071302() 1188 ColorStopArray colorStopArray; 1253 ColorStopArray colorStopArray; 1310 ColorStopArray colorStopArray; 1564 ColorStopArray colorStopArray; 1638 ColorStopArray colorStopArray; 1802 ColorStopArray colorStopArray; [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_gauge_bridge.cpp | 44 void SortColorStopOffset(std::vector<NG::ColorStopArray>& colors) in SortColorStopOffset() 60 …urceColor(const EcmaVM* vm, const Local<JSValueRef>& item, std::vector<NG::ColorStopArray>& colors) in ConvertResourceColor() 66 NG::ColorStopArray colorStopArray; in ConvertResourceColor() 72 …const EcmaVM* vm, const Local<JSValueRef>& itemParam, std::vector<NG::ColorStopArray>& colors, NG:… in ConvertGradientColor() 87 NG::ColorStopArray colorStopArray; in ConvertGradientColor() 95 …orsObject(const EcmaVM* vm, const Local<JSValueRef>& info, std::vector<NG::ColorStopArray>& colors, in SetGradientColorsObject() 117 …lorsArray(const EcmaVM* vm, const Local<JSValueRef>& info, std::vector<NG::ColorStopArray>& colors, in SetGradientColorsArray() 153 std::vector<NG::ColorStopArray> colors; in SetGradientColors()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_model_ng.h | 42 …const std::vector<ColorStopArray>& colors, const std::vector<float>& values, const GaugeType& type… 72 static void SetGradientColors(FrameNode* frameNode, const std::vector<ColorStopArray>& colors,
|
H A D | gauge_modifier.h | 52 ColorStopArray colorStopArray; 119 RefPtr<GaugePaintProperty>& paintProperty, std::vector<ColorStopArray>& colors,
|
H A D | gauge_model_ng.cpp | 64 …const std::vector<ColorStopArray>& colors, const std::vector<float>& values, const GaugeType& type) in SetGradientColors() 212 void GaugeModelNG::SetGradientColors(FrameNode* frameNode, const std::vector<ColorStopArray>& color… in SetGradientColors()
|
H A D | gauge_model.h | 38 …const std::vector<NG::ColorStopArray>& colors, const std::vector<float>& values, const NG::GaugeTy…
|
H A D | gauge_paint_property.h | 28 using ColorStopArray = std::vector<std::pair<Color, Dimension>>; variable 268 …ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(GradientColors, std::vector<ColorStopArray>, PROPERTY_UPDAT…
|
H A D | gauge_modifier.cpp | 580 std::vector<ColorStopArray> colors; in PaintMultiSegmentGradientCircular() 584 ColorStopArray colorStopArray; in PaintMultiSegmentGradientCircular() 620 RefPtr<GaugePaintProperty>& paintProperty, std::vector<ColorStopArray>& colors, in PaintMultiSegmentGradientCircularShadow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | gauge_model_impl.h | 33 …void SetGradientColors(const std::vector<NG::ColorStopArray>& colors, const std::vector<float>& va… in SetGradientColors()
|