Searched refs:jstyle (Results 1 – 4 of 4) sorted by relevance
/external/skia/modules/skottie/src/effects/ |
D | ShadowStyles.cpp | 31 ShadowAdapter(const skjson::ObjectValue& jstyle, in ShadowAdapter() argument 35 this->bind(abuilder, jstyle["c"], fColor); in ShadowAdapter() 36 this->bind(abuilder, jstyle["o"], fOpacity); in ShadowAdapter() 37 this->bind(abuilder, jstyle["a"], fAngle); in ShadowAdapter() 38 this->bind(abuilder, jstyle["s"], fSize); in ShadowAdapter() 39 this->bind(abuilder, jstyle["d"], fDistance); in ShadowAdapter() 116 static sk_sp<sksg::RenderNode> make_shadow_effect(const skjson::ObjectValue& jstyle, in make_shadow_effect() argument 120 auto filter_node = abuilder.attachDiscardableAdapter<ShadowAdapter>(jstyle, abuilder, type); in make_shadow_effect() 127 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowStyle(const skjson::ObjectValue& jstyle, in attachDropShadowStyle() argument 129 return make_shadow_effect(jstyle, *fBuilder, std::move(layer), in attachDropShadowStyle() [all …]
|
D | GlowStyles.cpp | 32 GlowAdapter(const skjson::ObjectValue& jstyle, const AnimationBuilder& abuilder, Type type) in GlowAdapter() argument 34 this->bind(abuilder, jstyle["c" ], fColor); in GlowAdapter() 35 this->bind(abuilder, jstyle["o" ], fOpacity); in GlowAdapter() 36 this->bind(abuilder, jstyle["s" ], fSize); in GlowAdapter() 37 this->bind(abuilder, jstyle["sr"], fInnerSource); in GlowAdapter() 38 this->bind(abuilder, jstyle["ch"], fChoke); in GlowAdapter() 142 static sk_sp<sksg::RenderNode> make_glow_effect(const skjson::ObjectValue& jstyle, in make_glow_effect() argument 146 auto filter_node = abuilder.attachDiscardableAdapter<GlowAdapter>(jstyle, abuilder, type); in make_glow_effect() 153 sk_sp<sksg::RenderNode> EffectBuilder::attachOuterGlowStyle(const skjson::ObjectValue& jstyle, in attachOuterGlowStyle() argument 155 return make_glow_effect(jstyle, *fBuilder, std::move(layer), GlowAdapter::Type::kOuterGlow); in attachOuterGlowStyle() [all …]
|
D | Effects.cpp | 154 for (const skjson::ObjectValue* jstyle : jstyles) { in attachStyles() local 155 if (!jstyle) { in attachStyles() 160 ParseDefault<size_t>((*jstyle)["ty"], std::numeric_limits<size_t>::max()); in attachStyles() 165 fBuilder->log(Logger::Level::kWarning, jstyle, "Unsupported layer style."); in attachStyles() 169 layer = (this->*builder)(*jstyle, std::move(layer)); in attachStyles()
|
/external/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 142 const skjson::StringValue* jstyle = (*jfont)["fStyle"]; in parseFonts() local 147 !jstyle) { in parseFonts() 155 SkString( jstyle->begin(), jstyle->size()), in parseFonts() 269 const skjson::StringValue* jstyle = (*jchar)["style"]; // "style", not "fStyle"... in resolveEmbeddedTypefaces() local 271 if (!jfamily || !jstyle) { in resolveEmbeddedTypefaces() 276 const auto* style = jstyle->begin(); in resolveEmbeddedTypefaces()
|