Home
last modified time | relevance | path

Searched refs:jtransform (Results 1 – 10 of 10) sorted by relevance

/external/skia/modules/skottie/src/
DTransform.cpp108 sk_sp<sksg::Transform> AnimationBuilder::attachMatrix2D(const skjson::ObjectValue& jtransform, in attachMatrix2D() argument
111 const auto* jrotation = &jtransform["r"]; in attachMatrix2D()
114 jrotation = &jtransform["rz"]; in attachMatrix2D()
118 jtransform["a"], in attachMatrix2D()
119 jtransform["p"], in attachMatrix2D()
120 jtransform["s"], in attachMatrix2D()
122 jtransform["sk"], in attachMatrix2D()
123 jtransform["sa"], in attachMatrix2D()
142 TransformAdapter3D::TransformAdapter3D(const skjson::ObjectValue& jtransform, in TransformAdapter3D() argument
146 this->bind(abuilder, jtransform["a"], fAnchorPoint); in TransformAdapter3D()
[all …]
DCamera.cpp55 const skjson::ObjectValue& jtransform, in CameraAdaper() argument
58 : INHERITED(jtransform, abuilder) in CameraAdaper()
62 , fType(jtransform["a"].is<skjson::NullValue>() ? CameraType::kOneNode in CameraAdaper()
119 const skjson::ObjectValue& jtransform, in attachCamera() argument
122 auto adapter = sk_make_sp<CameraAdaper>(jlayer, jtransform, *this, viewport_size); in attachCamera()
DLayer.cpp380 const skjson::ObjectValue* jtransform = fJlayer["ks"]; in doAttachTransform() local
381 if (!jtransform) { in doAttachTransform()
394 *jtransform, in doAttachTransform()
400 ? abuilder.attachMatrix3D(*jtransform, std::move(parent_transform), fAutoOrient) in doAttachTransform()
401 : abuilder.attachMatrix2D(*jtransform, std::move(parent_transform), fAutoOrient); in doAttachTransform()
508 if (const skjson::ObjectValue* jtransform = fJlayer["ks"]) { in buildRenderTree() local
509 layer = abuilder.attachOpacity(*jtransform, std::move(layer)); in buildRenderTree()
DCamera.h19 const skjson::ObjectValue& jtransform,
DSkottiePriv.h86 const skjson::ObjectValue& jtransform,
/external/skia/modules/skottie/src/layers/shapelayer/
DRepeater.cpp117 const skjson::ObjectValue& jtransform, in RepeaterAdapter() argument
128 this->bind(abuilder, jtransform["a" ], fAnchorPoint); in RepeaterAdapter()
129 this->bind(abuilder, jtransform["p" ], fPosition); in RepeaterAdapter()
130 this->bind(abuilder, jtransform["s" ], fScale); in RepeaterAdapter()
131 this->bind(abuilder, jtransform["r" ], fRotation); in RepeaterAdapter()
132 this->bind(abuilder, jtransform["so"], fStartOpacity); in RepeaterAdapter()
133 this->bind(abuilder, jtransform["eo"], fEndOpacity); in RepeaterAdapter()
172 if (const skjson::ObjectValue* jtransform = jrepeater["tr"]) { in AttachRepeaterDrawEffect() local
179 *jtransform, in AttachRepeaterDrawEffect()
DShapeLayer.cpp172 const skjson::ObjectValue* jtransform = nullptr; in attachShape()
210 jtransform = shape; in attachShape()
330 if (jtransform) { in attachShape()
331 const AutoPropertyTracker apt(this, *jtransform); in attachShape()
338 if ((shape_transform = this->attachMatrix2D(*jtransform, nullptr))) { in attachShape()
341 shape_wrapper = this->attachOpacity(*jtransform, std::move(shape_wrapper)); in attachShape()
/external/skqp/modules/skottie/src/
DSkottieShapeLayer.cpp368 if (const skjson::ObjectValue* jtransform = jrepeater["tr"]) { in AttachRepeaterDrawEffect() local
391 abuilder->bindProperty<VectorValue>((*jtransform)["a"], ascope, in AttachRepeaterDrawEffect()
395 abuilder->bindProperty<VectorValue>((*jtransform)["p"], ascope, in AttachRepeaterDrawEffect()
399 abuilder->bindProperty<VectorValue>((*jtransform)["s"], ascope, in AttachRepeaterDrawEffect()
403 abuilder->bindProperty<ScalarValue>((*jtransform)["r"], ascope, in AttachRepeaterDrawEffect()
407 abuilder->bindProperty<ScalarValue>((*jtransform)["so"], ascope, in AttachRepeaterDrawEffect()
411 abuilder->bindProperty<ScalarValue>((*jtransform)["eo"], ascope, in AttachRepeaterDrawEffect()
542 const skjson::ObjectValue* jtransform = nullptr; in attachShape()
571 jtransform = shape; in attachShape()
685 if (jtransform) { in attachShape()
[all …]
DSkottieLayer.cpp451 if (const skjson::ObjectValue* jtransform = jlayer["ks"]) { in attachLayerTransformImpl() local
453 ? abuilder->attachMatrix2D(*jtransform, fScope, std::move(parent_matrix)) in attachLayerTransformImpl()
454 : abuilder->attachMatrix3D(*jtransform, fScope, std::move(parent_matrix)); in attachLayerTransformImpl()
518 if (const skjson::ObjectValue* jtransform = (*jlayer)["ks"]) { in attachLayer() local
519 layer = this->attachOpacity(*jtransform, &layer_animators, std::move(layer)); in attachLayer()
DSkottie.cpp166 sk_sp<sksg::RenderNode> AnimationBuilder::attachOpacity(const skjson::ObjectValue& jtransform, in attachOpacity() argument
174 const auto bound = this->bindProperty<ScalarValue>(jtransform["o"], ascope, in attachOpacity()