/external/skia/modules/skottie/src/layers/ |
D | PrecompLayer.cpp | 85 const skjson::ObjectValue& jlayer, in attachExternalPrecompLayer() argument 92 const skjson::StringValue* id = jlayer["refId"]; in attachExternalPrecompLayer() 93 const skjson::StringValue* nm = jlayer["nm"]; in attachExternalPrecompLayer() 165 sk_sp<sksg::RenderNode> AnimationBuilder::attachPrecompLayer(const skjson::ObjectValue& jlayer, in attachPrecompLayer() argument 168 if (const skjson::ObjectValue* jtm = jlayer["tm"]) { in attachPrecompLayer() 172 const auto start_time = ParseDefault<float>(jlayer["st"], 0.0f), in attachPrecompLayer() 173 stretch_time = ParseDefault<float>(jlayer["sr"], 1.0f); in attachPrecompLayer() 179 layer_info->fSize = SkSize::Make(ParseDefault<float>(jlayer["w"], 0.0f), in attachPrecompLayer() 180 ParseDefault<float>(jlayer["h"], 0.0f)); in attachPrecompLayer() 187 auto precomp_layer = this->attachExternalPrecompLayer(jlayer, *layer_info); in attachPrecompLayer() [all …]
|
D | SolidLayer.cpp | 20 sk_sp<sksg::RenderNode> AnimationBuilder::attachSolidLayer(const skjson::ObjectValue& jlayer, in attachSolidLayer() argument 22 layer_info->fSize = SkSize::Make(ParseDefault<float>(jlayer["sw"], 0.0f), in attachSolidLayer() 23 ParseDefault<float>(jlayer["sh"], 0.0f)); in attachSolidLayer() 24 const skjson::StringValue* hex_str = jlayer["sc"]; in attachSolidLayer() 30 this->log(Logger::Level::kError, &jlayer, "Could not parse solid layer."); in attachSolidLayer()
|
D | AudioLayer.cpp | 53 sk_sp<sksg::RenderNode> AnimationBuilder::attachAudioLayer(const skjson::ObjectValue& jlayer, in attachAudioLayer() argument 55 const ScopedAssetRef audio_asset(this, jlayer); in attachAudioLayer()
|
D | FootageLayer.cpp | 157 sk_sp<sksg::RenderNode> AnimationBuilder::attachFootageLayer(const skjson::ObjectValue& jlayer, in attachFootageLayer() argument 159 const ScopedAssetRef footage_asset(this, jlayer); in attachFootageLayer()
|
D | TextLayer.cpp | 330 sk_sp<sksg::RenderNode> AnimationBuilder::attachTextLayer(const skjson::ObjectValue& jlayer, in attachTextLayer() argument 332 return this->attachDiscardableAdapter<TextAdapter>(jlayer, in attachTextLayer()
|
/external/skia/modules/skottie/src/ |
D | Composition.cpp | 23 const skjson::ObjectValue& jlayer) { in ScopedAssetRef() argument 24 const auto refId = ParseDefault<SkString>(jlayer["refId"], SkString()); in ScopedAssetRef() 66 for (const skjson::ObjectValue* jlayer : *jlayers) { in CompositionBuilder() 67 if (!jlayer) continue; in CompositionBuilder() 70 fLayerBuilders.emplace_back(*jlayer, fSize); in CompositionBuilder() 81 abuilder.log(Logger::Level::kWarning, jlayer, in CompositionBuilder()
|
D | Camera.cpp | 54 CameraAdaper::CameraAdaper(const skjson::ObjectValue& jlayer, in CameraAdaper() argument 65 this->bind(abuilder, jlayer["pe"], fZoom); in CameraAdaper() 118 sk_sp<sksg::Transform> AnimationBuilder::attachCamera(const skjson::ObjectValue& jlayer, in attachCamera() argument 122 auto adapter = sk_make_sp<CameraAdaper>(jlayer, jtransform, *this, viewport_size); in attachCamera()
|
D | Layer.cpp | 307 LayerBuilder::LayerBuilder(const skjson::ObjectValue& jlayer, const SkSize& comp_size) in LayerBuilder() argument 308 : fJlayer(jlayer) in LayerBuilder() 309 , fIndex (ParseDefault<int>(jlayer["ind" ], -1)) in LayerBuilder() 310 , fParentIndex(ParseDefault<int>(jlayer["parent"], -1)) in LayerBuilder() 311 , fType (ParseDefault<int>(jlayer["ty" ], -1)) in LayerBuilder() 312 , fAutoOrient (ParseDefault<int>(jlayer["ao" ], 0)) in LayerBuilder() 314 ParseDefault<float>(jlayer["ip"], 0.0f), in LayerBuilder() 315 ParseDefault<float>(jlayer["op"], 0.0f)} in LayerBuilder() 318 if (this->isCamera() || ParseDefault<int>(jlayer["ddd"], 0)) {
|
D | Camera.h | 18 CameraAdaper(const skjson::ObjectValue& jlayer,
|
D | Layer.h | 20 LayerBuilder(const skjson::ObjectValue& jlayer, const SkSize& comp_size);
|
D | SkottiePriv.h | 86 sk_sp<sksg::Transform> attachCamera(const skjson::ObjectValue& jlayer, 272 ScopedAssetRef(const AnimationBuilder* abuilder, const skjson::ObjectValue& jlayer);
|
/external/skia/modules/skottie/src/text/ |
D | TextAdapter.cpp | 263 sk_sp<TextAdapter> TextAdapter::Make(const skjson::ObjectValue& jlayer, in Make() argument 307 const skjson::ObjectValue* jt = jlayer["t"]; in Make() 311 abuilder->log(Logger::Level::kError, &jlayer, "Invalid text layer."); in Make() 361 const skjson::ArrayValue* jmasks = jlayer["masksProperties"]; in Make()
|