Home
last modified time | relevance | path

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

/external/skia/modules/skottie/src/
DSkottieLayerEffect.cpp25 AnimatorScope* ascope, in AttachTintLayerEffect() argument
50 abuilder->attachColor(*color0_prop, ascope, "v"), in AttachTintLayerEffect()
51 abuilder->attachColor(*color1_prop, ascope, "v")); in AttachTintLayerEffect()
56 abuilder->bindProperty<ScalarValue>((*amount_prop)["v"], ascope, in AttachTintLayerEffect()
66 AnimatorScope* ascope, in AttachTritoneLayerEffect() argument
92 abuilder->attachColor(*locolor_prop, ascope, "v"), in AttachTritoneLayerEffect()
93 abuilder->attachColor(*micolor_prop, ascope, "v"), in AttachTritoneLayerEffect()
94 abuilder->attachColor(*hicolor_prop, ascope, "v") }); in AttachTritoneLayerEffect()
99 abuilder->bindProperty<ScalarValue>((*blend_prop)["v"], ascope, in AttachTritoneLayerEffect()
109 AnimatorScope* ascope, in AttachFillLayerEffect() argument
[all …]
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.cpp71 AnimatorScope* ascope, in attachMatrix2D() argument
79 auto bound = this->bindProperty<VectorValue>(t["a"], ascope, in attachMatrix2D()
83 bound |= this->bindProperty<VectorValue>(t["p"], ascope, in attachMatrix2D()
87 bound |= this->bindProperty<VectorValue>(t["s"], ascope, in attachMatrix2D()
98 bound |= this->bindProperty<ScalarValue>(*jrotation, ascope, in attachMatrix2D()
102 bound |= this->bindProperty<ScalarValue>(t["sk"], ascope, in attachMatrix2D()
106 bound |= this->bindProperty<ScalarValue>(t["sa"], ascope, in attachMatrix2D()
119 AnimatorScope* ascope, in attachMatrix3D() argument
127 auto bound = this->bindProperty<VectorValue>(t["a"], ascope, in attachMatrix3D()
131 bound |= this->bindProperty<VectorValue>(t["p"], ascope, in attachMatrix3D()
[all …]
DSkottieAnimator.cpp258 AnimatorScope* ascope, in BindPropertyImpl() argument
298 ascope->push_back(std::move(animator)); in BindPropertyImpl()
362 AnimatorScope* ascope, in BindSplitPositionProperty() argument
366 ascope->push_back(std::unique_ptr<sksg::Animator>(split_animator.release())); in BindSplitPositionProperty()
377 AnimatorScope* ascope, in bindProperty() argument
380 return BindPropertyImpl(jv, this, ascope, std::move(apply), noop); in bindProperty()
385 AnimatorScope* ascope, in bindProperty() argument
392 ? BindSplitPositionProperty(jv, this, ascope, std::move(apply), noop) in bindProperty()
393 : BindPropertyImpl(jv, this, ascope, std::move(apply), noop); in bindProperty()
398 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()
236 ascope->push_back( in attachNestedAnimation()
243 const skjson::ObjectValue& jlayer, AnimatorScope* ascope, in attachAssetRef() argument
254 return this->attachNestedAnimation(refId.c_str() + 1, ascope); in attachAssetRef()
270 auto asset = func(*asset_info->fAsset, ascope); in attachAssetRef()
326 AnimatorScope* ascope) const { in attachImageAsset()
362 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()
112 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/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 …]
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 …]
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()
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 …]
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()
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()