Home
last modified time | relevance | path

Searched refs:color_node (Results 1 – 3 of 3) 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/layers/shapelayer/
DFillStroke.cpp75 auto* color_node = static_cast<sksg::Color*>(this->node().get()); in onSync() local
76 color_node->setColor(fColor); in onSync()
154 auto color_node = sksg::Color::Make(SK_ColorBLACK); in AttachColorFill() local
155 abuilder->dispatchColorProperty(color_node); in AttachColorFill()
157 return AttachFill(jpaint, abuilder, std::move(color_node)); in AttachColorFill()
162 auto color_node = sksg::Color::Make(SK_ColorBLACK); in AttachColorStroke() local
163 abuilder->dispatchColorProperty(color_node); in AttachColorStroke()
165 return AttachStroke(jpaint, abuilder, std::move(color_node)); in AttachColorStroke()