Home
last modified time | relevance | path

Searched refs:ColorStopAnimatableArithmetic (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dgradient_style_modifier.h54 class ColorStopAnimatableArithmetic : public Rosen::RSAnimatableArithmetic<ColorStopAnimatableArith…
56 ColorStopAnimatableArithmetic() = default;
57 explicit ColorStopAnimatableArithmetic(const Gradient& gradient);
59 ColorStopAnimatableArithmetic Add(const ColorStopAnimatableArithmetic& value) const override;
60 ColorStopAnimatableArithmetic Minus(const ColorStopAnimatableArithmetic& value) const override;
61 ColorStopAnimatableArithmetic Multiply(const float scale) const override;
62 bool IsEqual(const ColorStopAnimatableArithmetic& value) const override;
92 void PaddingColorStops(ColorStopAnimatableArithmetic& colorStops, bool repeat);
99 std::shared_ptr<Rosen::RSAnimatableProperty<ColorStopAnimatableArithmetic>> colorStops_;
H A Dgradient_style_modifier.cpp113 colorStops_ = std::make_shared<Rosen::RSAnimatableProperty<ColorStopAnimatableArithmetic>>( in SetGradient()
114 ColorStopAnimatableArithmetic(gradient)); in SetGradient()
117 auto colorStops = ColorStopAnimatableArithmetic(gradient); in SetGradient()
253 ColorStopAnimatableArithmetic::ColorStopAnimatableArithmetic(const Gradient& gradient) in ColorStopAnimatableArithmetic() function in OHOS::Ace::NG::ColorStopAnimatableArithmetic
260 ColorStopAnimatableArithmetic ColorStopAnimatableArithmetic::Add(const ColorStopAnimatableArithmeti… in Add()
266 ColorStopAnimatableArithmetic result; in Add()
284 ColorStopAnimatableArithmetic ColorStopAnimatableArithmetic::Minus(const ColorStopAnimatableArithme… in Minus()
290 ColorStopAnimatableArithmetic result; in Minus()
308 ColorStopAnimatableArithmetic ColorStopAnimatableArithmetic::Multiply(const float scale) const in Multiply()
312 ColorStopAnimatableArithmetic result; in Multiply()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/rosen/
H A Dgradient_style_modifier_test.cpp55 ColorStopAnimatableArithmetic colorStops(gradient);