Home
last modified time | relevance | path

Searched refs:color_node (Results 1 – 4 of 4) sorted by relevance

/external/skqp/modules/skottie/src/
DSkottieLayerEffect.cpp50 sk_sp<sksg::Color> color_node = abuilder->attachColor(*color_prop, ascope, "v"); in AttachFillLayerEffect() local
51 if (!color_node) { in AttachFillLayerEffect()
56 [color_node](const ScalarValue& o) { in AttachFillLayerEffect()
57 const auto c = color_node->getColor(); in AttachFillLayerEffect()
59 color_node->setColor(SkColorSetA(c, a)); in AttachFillLayerEffect()
63 std::move(color_node), in AttachFillLayerEffect()
DSkottie.cpp202 auto color_node = sksg::Color::Make(SK_ColorBLACK); in attachColor() local
205 [color_node](const VectorValue& c) { in attachColor()
206 color_node->setColor(ValueTraits<VectorValue>::As<SkColor>(c)); in attachColor()
208 this->dispatchColorProperty(color_node); in attachColor()
210 return color_node; in attachColor()
/external/skia/modules/skottie/src/
DSkottieLayerEffect.cpp133 sk_sp<sksg::Color> color_node = abuilder->attachColor(*color_prop, ascope, "v"); in AttachFillLayerEffect() local
134 if (!color_node) { in AttachFillLayerEffect()
139 [color_node](const ScalarValue& o) { in AttachFillLayerEffect()
140 const auto c = color_node->getColor(); in AttachFillLayerEffect()
142 color_node->setColor(SkColorSetA(c, a)); in AttachFillLayerEffect()
146 std::move(color_node), in AttachFillLayerEffect()
DSkottie.cpp254 auto color_node = sksg::Color::Make(SK_ColorBLACK); in attachColor() local
257 [color_node](const VectorValue& c) { in attachColor()
258 color_node->setColor(ValueTraits<VectorValue>::As<SkColor>(c)); in attachColor()
260 this->dispatchColorProperty(color_node); in attachColor()
262 return color_node; in attachColor()