Lines Matching refs:skjson

67 sk_sp<sksg::RenderNode> AttachMask(const skjson::ArrayValue* jmask,  in AttachMask()
83 for (const skjson::ObjectValue* m : *jmask) { in AttachMask()
86 const skjson::StringValue* jmode = (*m)["mode"]; in AttachMask()
243 const skjson::ObjectValue& jlayer, AnimatorScope* ascope, in attachAssetRef()
244 const std::function<sk_sp<sksg::RenderNode>(const skjson::ObjectValue&, in attachAssetRef()
276 sk_sp<sksg::RenderNode> AnimationBuilder::attachSolidLayer(const skjson::ObjectValue& jlayer, in attachSolidLayer()
281 const skjson::StringValue* hex_str = jlayer["sc"]; in attachSolidLayer()
298 AnimationBuilder::loadImageAsset(const skjson::ObjectValue& jimage) const { in loadImageAsset()
299 const skjson::StringValue* name = jimage["p"]; in loadImageAsset()
300 const skjson::StringValue* path = jimage["u"]; in loadImageAsset()
324 sk_sp<sksg::RenderNode> AnimationBuilder::attachImageAsset(const skjson::ObjectValue& jimage, in attachImageAsset()
383 sk_sp<sksg::RenderNode> AnimationBuilder::attachImageLayer(const skjson::ObjectValue& jlayer, in attachImageLayer()
387 [this, &layer_info] (const skjson::ObjectValue& jimage, AnimatorScope* ascope) { in attachImageLayer()
392 sk_sp<sksg::RenderNode> AnimationBuilder::attachNullLayer(const skjson::ObjectValue& layer, in attachNullLayer()
401 AttachLayerContext(const skjson::ArrayValue& jlayers, AnimatorScope* scope) in AttachLayerContext()
404 const skjson::ArrayValue& fLayerList;
409 sk_sp<sksg::Transform> attachLayerTransform(const skjson::ObjectValue& jlayer, in attachLayerTransform()
422 sk_sp<sksg::Transform> attachParentLayerTransform(const skjson::ObjectValue& jlayer, in attachParentLayerTransform()
432 for (const skjson::ObjectValue* l : fLayerList) { in attachParentLayerTransform()
443 sk_sp<sksg::Transform> attachLayerTransformImpl(const skjson::ObjectValue& jlayer, in attachLayerTransformImpl()
453 if (const skjson::ObjectValue* jtransform = jlayer["ks"]) { in attachLayerTransformImpl()
464 sk_sp<sksg::RenderNode> AnimationBuilder::attachLayer(const skjson::ObjectValue* jlayer, in attachLayer()
480 using LayerAttacher = sk_sp<sksg::RenderNode> (AnimationBuilder::*)(const skjson::ObjectValue&, in attachLayer()
520 if (const skjson::ObjectValue* jtransform = (*jlayer)["ks"]) { in attachLayer()
525 if (const skjson::ArrayValue* jeffects = (*jlayer)["ef"]) { in attachLayer()
595 sk_sp<sksg::RenderNode> AnimationBuilder::attachComposition(const skjson::ObjectValue& comp, in attachComposition()
597 const skjson::ArrayValue* jlayers = comp["layers"]; in attachComposition()