Home
last modified time | relevance | path

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

/third_party/flutter/skia/modules/skottie/src/layers/
DImageLayer.cpp19 AnimationBuilder::loadImageAsset(const skjson::ObjectValue& jimage) const { in loadImageAsset()
20 const skjson::StringValue* name = jimage["p"]; in loadImageAsset()
21 const skjson::StringValue* path = jimage["u"]; in loadImageAsset()
22 const skjson::StringValue* id = jimage["id"]; in loadImageAsset()
39 const auto size = SkISize::Make(ParseDefault<int>(jimage["w"], 0), in loadImageAsset()
40 ParseDefault<int>(jimage["h"], 0)); in loadImageAsset()
44 sk_sp<sksg::RenderNode> AnimationBuilder::attachImageAsset(const skjson::ObjectValue& jimage, in attachImageAsset() argument
46 const auto* asset_info = this->loadImageAsset(jimage); in attachImageAsset()
109 [this, &layer_info] (const skjson::ObjectValue& jimage) { in attachImageLayer() argument
110 return this->attachImageAsset(jimage, layer_info); in attachImageLayer()
/third_party/skia/modules/skottie/src/layers/
DFootageLayer.cpp79 AnimationBuilder::loadFootageAsset(const skjson::ObjectValue& jimage) const { in loadFootageAsset()
80 const skjson::StringValue* name = jimage["p"]; in loadFootageAsset()
81 const skjson::StringValue* path = jimage["u"]; in loadFootageAsset()
82 const skjson::StringValue* id = jimage["id"]; in loadFootageAsset()
99 const auto size = SkISize::Make(ParseDefault<int>(jimage["w"], 0), in loadFootageAsset()
100 ParseDefault<int>(jimage["h"], 0)); in loadFootageAsset()
104 sk_sp<sksg::RenderNode> AnimationBuilder::attachFootageAsset(const skjson::ObjectValue& jimage, in attachFootageAsset() argument
106 const auto* asset_info = this->loadFootageAsset(jimage); in attachFootageAsset()