Home
last modified time | relevance | path

Searched refs:ascope (Results 1 – 12 of 12) sorted by relevance

/external/skqp/modules/skottie/src/
DSkottieShapeLayer.cpp37 AnimatorScope* ascope) { in AttachPathGeometry() argument
38 return abuilder->attachPath(jpath["ks"], ascope); in AttachPathGeometry()
43 AnimatorScope* ascope) { in AttachRRectGeometry() argument
51 auto p_attached = abuilder->bindProperty<VectorValue>(jrect["p"], ascope, in AttachRRectGeometry()
55 auto s_attached = abuilder->bindProperty<VectorValue>(jrect["s"], ascope, in AttachRRectGeometry()
59 auto r_attached = abuilder->bindProperty<ScalarValue>(jrect["r"], ascope, in AttachRRectGeometry()
73 AnimatorScope* ascope) { in AttachEllipseGeometry() argument
81 auto p_attached = abuilder->bindProperty<VectorValue>(jellipse["p"], ascope, in AttachEllipseGeometry()
85 auto s_attached = abuilder->bindProperty<VectorValue>(jellipse["s"], ascope, in AttachEllipseGeometry()
101 AnimatorScope* ascope) { in AttachPolystarGeometry() argument
[all …]
DSkottiePrecompLayer.cpp23 AnimatorScope* ascope) const { in attachPrecompLayer()
34 requires_time_mapping ? &local_animators : ascope, in attachPrecompLayer()
36 AnimatorScope* ascope) { in attachPrecompLayer() argument
37 return this->attachComposition(jcomp, ascope); in attachPrecompLayer()
78 this->bindProperty<ScalarValue>(*time_remap, ascope, in attachPrecompLayer()
83 ascope->push_back(std::move(time_mapper)); in attachPrecompLayer()
DSkottie.cpp65 AnimatorScope* ascope, in attachMatrix2D() argument
73 auto bound = this->bindProperty<VectorValue>(t["a"], ascope, in attachMatrix2D()
77 bound |= this->bindProperty<VectorValue>(t["p"], ascope, in attachMatrix2D()
81 bound |= this->bindProperty<VectorValue>(t["s"], ascope, in attachMatrix2D()
92 bound |= this->bindProperty<ScalarValue>(*jrotation, ascope, in attachMatrix2D()
96 bound |= this->bindProperty<ScalarValue>(t["sk"], ascope, in attachMatrix2D()
100 bound |= this->bindProperty<ScalarValue>(t["sa"], ascope, in attachMatrix2D()
113 AnimatorScope* ascope, in attachMatrix3D() argument
121 auto bound = this->bindProperty<VectorValue>(t["a"], ascope, in attachMatrix3D()
125 bound |= this->bindProperty<VectorValue>(t["p"], ascope, in attachMatrix3D()
[all …]
DSkottieLayerEffect.cpp23 AnimatorScope* ascope, in AttachFillLayerEffect() argument
50 sk_sp<sksg::Color> color_node = abuilder->attachColor(*color_prop, ascope, "v"); in AttachFillLayerEffect()
55 abuilder->bindProperty<ScalarValue>((*opacity_prop)["v"], ascope, in AttachFillLayerEffect()
70 AnimatorScope* ascope, in attachLayerEffects() argument
77 layer = AttachFillLayerEffect((*jeffect)["ef"], this, ascope, std::move(layer)); in attachLayerEffects()
DSkottieAnimator.cpp260 AnimatorScope* ascope, in BindPropertyImpl() argument
300 ascope->push_back(std::move(animator)); in BindPropertyImpl()
364 AnimatorScope* ascope, in BindSplitPositionProperty() argument
368 ascope->push_back(std::unique_ptr<sksg::Animator>(split_animator.release())); in BindSplitPositionProperty()
379 AnimatorScope* ascope, in bindProperty() argument
382 return BindPropertyImpl(jv, this, ascope, std::move(apply), noop); in bindProperty()
387 AnimatorScope* ascope, in bindProperty() argument
394 ? BindSplitPositionProperty(jv, this, ascope, std::move(apply), noop) in bindProperty()
395 : BindPropertyImpl(jv, this, ascope, std::move(apply), noop); in bindProperty()
400 AnimatorScope* ascope, in bindProperty() argument
[all …]
DSkottieLayer.cpp69 AnimatorScope* ascope, in AttachMask() argument
104 auto mask_path = abuilder->attachPath((*m)["pt"], ascope); in AttachMask()
122 has_opacity |= abuilder->bindProperty<ScalarValue>((*m)["o"], ascope, in AttachMask()
177 AnimatorScope* ascope) const { in attachNestedAnimation()
234 ascope->push_back( in attachNestedAnimation()
241 const skjson::ObjectValue& jlayer, AnimatorScope* ascope, in attachAssetRef() argument
252 return this->attachNestedAnimation(refId.c_str() + 1, ascope); in attachAssetRef()
268 auto asset = func(*asset_info->fAsset, ascope); in attachAssetRef()
324 AnimatorScope* ascope) const { in attachImageAsset()
360 ascope->push_back(skstd::make_unique<MultiFrameAnimator>(asset_info->fAsset, in attachImageAsset()
[all …]
DSkottiePriv.h64 AnimatorScope* ascope, in bindProperty() argument
67 return this->bindProperty(jv, ascope, std::move(apply), &default_ignore); in bindProperty()
107 sk_sp<sksg::RenderNode> attachNestedAnimation(const char* name, AnimatorScope* ascope) const;
DSkottieTextLayer.cpp240 AnimatorScope* ascope) const { in attachTextLayer()
287 this->bindProperty<TextValue>(*jd, ascope, [adapter] (const TextValue& txt) { in attachTextLayer()
/external/skia/modules/skottie/src/
DLayer.cpp348 AnimationBuilder::AutoScope ascope(&abuilder, std::move(fLayerScope)); in getTransform() local
350 fLayerScope = ascope.release(); in getTransform()
459 AnimationBuilder::AutoScope ascope(&abuilder, std::move(fLayerScope)); in buildRenderTree() local
523 sk_sp<Animator> controller = sk_make_sp<LayerController>(ascope.release(), in buildRenderTree()
DSkottie.cpp186 AutoScope ascope(this); in parse() local
189 auto animators = ascope.release(); in parse()
/external/skia/modules/skottie/src/layers/
DTextLayer.cpp150 AnimationBuilder::AutoScope ascope(abuilder); in parse_glyph_path() local
152 auto animators = ascope.release(); in parse_glyph_path()
/external/skia/modules/skottie/src/layers/shapelayer/
DShapeLayer.cpp336 AutoScope ascope(this); in attachShape() local
343 auto local_scope = ascope.release(); in attachShape()