Home
last modified time | relevance | path

Searched refs:jeffect (Results 1 – 2 of 2) sorted by relevance

/external/skia/modules/skottie/src/effects/
DEffects.cpp29 EffectBuilder::EffectBuilderT EffectBuilder::findBuilder(const skjson::ObjectValue& jeffect) const { in findBuilder()
59 const skjson::StringValue* mn = jeffect["mn"]; in findBuilder()
85 switch (ParseDefault<int>(jeffect["ty"], -1)) { in findBuilder()
95 fBuilder->log(Logger::Level::kWarning, &jeffect, in findBuilder()
107 for (const skjson::ObjectValue* jeffect : jeffects) { in attachEffects() local
108 if (!jeffect) { in attachEffects()
112 const auto builder = this->findBuilder(*jeffect); in attachEffects()
113 const skjson::ArrayValue* jprops = (*jeffect)["ef"]; in attachEffects()
118 const AnimationBuilder::AutoPropertyTracker apt(fBuilder, *jeffect); in attachEffects()
122 fBuilder->log(Logger::Level::kError, jeffect, "Invalid layer effect."); in attachEffects()
/external/skqp/modules/skottie/src/
DSkottieLayerEffect.cpp72 for (const skjson::ObjectValue* jeffect : jeffects) { in attachLayerEffects() local
73 if (!jeffect) continue; in attachLayerEffects()
75 switch (const auto ty = ParseDefault<int>((*jeffect)["ty"], -1)) { in attachLayerEffects()
77 layer = AttachFillLayerEffect((*jeffect)["ef"], this, ascope, std::move(layer)); in attachLayerEffects()
85 this->log(Logger::Level::kError, jeffect, "Invalid layer effect."); in attachLayerEffects()