Home
last modified time | relevance | path

Searched refs:jprops (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/modules/skottie/src/text/
DTextAnimator.cpp68 const skjson::ObjectValue* jprops = (*janimator)["a"]; in Make() local
69 if (!jprops) { in Make()
92 new TextAnimator(std::move(selectors), *jprops, abuilder, acontainer)); in Make()
176 const skjson::ObjectValue& jprops, in TextAnimator() argument
182 acontainer->bind(*abuilder, jprops["p" ], fTextProps.position); in TextAnimator()
183 acontainer->bind(*abuilder, jprops["o" ], fTextProps.opacity); in TextAnimator()
184 acontainer->bind(*abuilder, jprops["fo"], fTextProps.fill_opacity); in TextAnimator()
185 acontainer->bind(*abuilder, jprops["so"], fTextProps.stroke_opacity); in TextAnimator()
186 acontainer->bind(*abuilder, jprops["t" ], fTextProps.tracking); in TextAnimator()
187 acontainer->bind(*abuilder, jprops["ls"], fTextProps.line_spacing); in TextAnimator()
[all …]
/third_party/skia/modules/skottie/src/effects/
DTransformEffect.cpp65 sk_sp<sksg::RenderNode> EffectBuilder::attachTransformEffect(const skjson::ArrayValue& jprops, in attachTransformEffect() argument
83 GetPropValue(jprops, kAnchorPoint_Index), in attachTransformEffect()
84 GetPropValue(jprops, kPosition_Index), in attachTransformEffect()
86 GetPropValue(jprops, kRotation_Index), in attachTransformEffect()
87 GetPropValue(jprops, kSkew_Index), in attachTransformEffect()
88 GetPropValue(jprops, kSkewAxis_Index)); in attachTransformEffect()
97 GetPropValue(jprops, kOpacity_Index), in attachTransformEffect()
98 GetPropValue(jprops, kUniformScale_Index), in attachTransformEffect()
99 GetPropValue(jprops, kScaleWidth_Index), in attachTransformEffect()
100 GetPropValue(jprops, kScaleHeight_Index), in attachTransformEffect()
DFillEffect.cpp24 static sk_sp<FillAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
27 return sk_sp<FillAdapter>(new FillAdapter(jprops, std::move(layer), abuilder)); in Make()
33 FillAdapter(const skjson::ArrayValue& jprops, in FillAdapter() argument
50 EffectBinder(jprops, abuilder, this) in FillAdapter()
73 sk_sp<sksg::RenderNode> EffectBuilder::attachFillEffect(const skjson::ArrayValue& jprops, in attachFillEffect() argument
75 return fBuilder->attachDiscardableAdapter<FillAdapter>(jprops, std::move(layer), *fBuilder); in attachFillEffect()
DTintEffect.cpp22 static sk_sp<TintAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
25 return sk_sp<TintAdapter>(new TintAdapter(jprops, std::move(layer), abuilder)); in Make()
31 TintAdapter(const skjson::ArrayValue& jprops, in TintAdapter() argument
47 EffectBinder(jprops, abuilder, this) in TintAdapter()
71 sk_sp<sksg::RenderNode> EffectBuilder::attachTintEffect(const skjson::ArrayValue& jprops, in attachTintEffect() argument
73 return fBuilder->attachDiscardableAdapter<TintAdapter>(jprops, std::move(layer), *fBuilder); in attachTintEffect()
DTritoneEffect.cpp23 static sk_sp<TritoneAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
26 return sk_sp<TritoneAdapter>(new TritoneAdapter(jprops, std::move(layer), abuilder)); in Make()
32 TritoneAdapter(const skjson::ArrayValue& jprops, in TritoneAdapter() argument
47 EffectBinder(jprops, abuilder, this)
76 sk_sp<sksg::RenderNode> EffectBuilder::attachTritoneEffect(const skjson::ArrayValue& jprops, in attachTritoneEffect() argument
78 return fBuilder->attachDiscardableAdapter<TritoneAdapter>(jprops, std::move(layer), *fBuilder); in attachTritoneEffect()
DGaussianBlurEffect.cpp22 static sk_sp<GaussianBlurEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
25 return sk_sp<GaussianBlurEffectAdapter>(new GaussianBlurEffectAdapter(jprops, in Make()
33 GaussianBlurEffectAdapter(const skjson::ArrayValue& jprops, in GaussianBlurEffectAdapter() argument
44 EffectBinder(jprops, *abuilder, this) in GaussianBlurEffectAdapter()
86 const skjson::ArrayValue& jprops, in attachGaussianBlurEffect() argument
88 return fBuilder->attachDiscardableAdapter<GaussianBlurEffectAdapter>(jprops, in attachGaussianBlurEffect()
DCornerPinEffect.cpp20 static sk_sp<CornerPinAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
23 return sk_sp<CornerPinAdapter>(new CornerPinAdapter(jprops, abuilder, layer_size)); in Make()
29 CornerPinAdapter(const skjson::ArrayValue& jprops, in CornerPinAdapter() argument
41 EffectBinder(jprops, abuilder, this) in CornerPinAdapter()
77 sk_sp<sksg::RenderNode> EffectBuilder::attachCornerPinEffect(const skjson::ArrayValue& jprops, in attachCornerPinEffect() argument
80 fBuilder->attachDiscardableAdapter<CornerPinAdapter>(jprops, *fBuilder, fLayerSize); in attachCornerPinEffect()
DLinearWipeEffect.cpp27 static sk_sp<LinearWipeAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
31 return sk_sp<LinearWipeAdapter>(new LinearWipeAdapter(jprops, in Make()
38 LinearWipeAdapter(const skjson::ArrayValue& jprops, in LinearWipeAdapter() argument
49 EffectBinder(jprops, *abuilder, this) in LinearWipeAdapter()
120 sk_sp<sksg::RenderNode> EffectBuilder::attachLinearWipeEffect(const skjson::ArrayValue& jprops, in attachLinearWipeEffect() argument
122 return fBuilder->attachDiscardableAdapter<LinearWipeAdapter>(jprops, in attachLinearWipeEffect()
DShiftChannelsEffect.cpp32 static sk_sp<ShiftChannelsEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
36 new ShiftChannelsEffectAdapter(jprops, std::move(layer), abuilder)); in Make()
42 ShiftChannelsEffectAdapter(const skjson::ArrayValue& jprops, in ShiftChannelsEffectAdapter() argument
53 EffectBinder(jprops, *abuilder, this) in ShiftChannelsEffectAdapter()
126 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachShiftChannelsEffect() argument
127 return fBuilder->attachDiscardableAdapter<ShiftChannelsEffectAdapter>(jprops, in attachShiftChannelsEffect()
DInvertEffect.cpp22 static sk_sp<InvertEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
26 new InvertEffectAdapter(jprops, std::move(layer), abuilder)); in Make()
32 InvertEffectAdapter(const skjson::ArrayValue& jprops, in InvertEffectAdapter() argument
40 EffectBinder(jprops, *abuilder, this).bind(kChannel_Index, fChannel); in InvertEffectAdapter()
135 sk_sp<sksg::RenderNode> EffectBuilder::attachInvertEffect(const skjson::ArrayValue& jprops, in attachInvertEffect() argument
137 return fBuilder->attachDiscardableAdapter<InvertEffectAdapter>(jprops, in attachInvertEffect()
DSkSLEffect.cpp57 SkSLEffectAdapter(const skjson::ArrayValue& jprops, in SkSLEffectAdapter() argument
66 if (jprops.size() < 1) { in SkSLEffectAdapter()
69 const skjson::ObjectValue* jSkSL = jprops[kSkSL_index]; in SkSLEffectAdapter()
87 for (size_t i = kFirstUniform_index; i < jprops.size(); i++) { in SkSLEffectAdapter()
88 const skjson::ObjectValue* jprop = jprops[i]; in SkSLEffectAdapter()
134 sk_sp<sksg::RenderNode> EffectBuilder::attachSkSLEffect(const skjson::ArrayValue& jprops, in attachSkSLEffect() argument
138 return fBuilder->attachDiscardableAdapter<SkSLEffectAdapter>(jprops, *fBuilder, shaderNode); in attachSkSLEffect()
DHueSaturationEffect.cpp77 static sk_sp<HueSaturationEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
82 new HueSaturationEffectAdapter(jprops, std::move(layer), abuilder)); in Make()
88 HueSaturationEffectAdapter(const skjson::ArrayValue& jprops, in HueSaturationEffectAdapter() argument
104 EffectBinder(jprops, *abuilder, this) in HueSaturationEffectAdapter()
197 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachHueSaturationEffect() argument
198 return fBuilder->attachDiscardableAdapter<HueSaturationEffectAdapter>(jprops, in attachHueSaturationEffect()
DVenetianBlindsEffect.cpp25 static sk_sp<VenetianBlindsAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
30 new VenetianBlindsAdapter(jprops, std::move(layer), layer_size, abuilder)); in Make()
34 VenetianBlindsAdapter(const skjson::ArrayValue& jprops, in VenetianBlindsAdapter() argument
45 EffectBinder(jprops, *abuilder, this) in VenetianBlindsAdapter()
161 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachVenetianBlindsEffect() argument
162 return fBuilder->attachDiscardableAdapter<VenetianBlindsAdapter>(jprops, in attachVenetianBlindsEffect()
DGradientEffect.cpp22 static sk_sp<GradientRampEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
25 return sk_sp<GradientRampEffectAdapter>(new GradientRampEffectAdapter(jprops, in Make()
33 GradientRampEffectAdapter(const skjson::ArrayValue& jprops, in GradientRampEffectAdapter() argument
47 EffectBinder(jprops, *abuilder, this) in GradientRampEffectAdapter()
129 sk_sp<sksg::RenderNode> EffectBuilder::attachGradientEffect(const skjson::ArrayValue& jprops, in attachGradientEffect() argument
131 return fBuilder->attachDiscardableAdapter<GradientRampEffectAdapter>(jprops, in attachGradientEffect()
DThresholdEffect.cpp47 ThresholdAdapter(const skjson::ArrayValue& jprops, in ThresholdAdapter() argument
56 EffectBinder(jprops, abuilder, this).bind(kLevel_Index, fLevel); in ThresholdAdapter()
76 sk_sp<sksg::RenderNode> EffectBuilder::attachThresholdEffect(const skjson::ArrayValue& jprops, in attachThresholdEffect() argument
79 return fBuilder->attachDiscardableAdapter<ThresholdAdapter>(jprops, in attachThresholdEffect()
DDirectionalBlur.cpp23 DirectionalBlurAdapter(const skjson::ArrayValue& jprops, in DirectionalBlurAdapter() argument
33 EffectBinder(jprops, abuilder, this) in DirectionalBlurAdapter()
57 sk_sp<sksg::RenderNode> EffectBuilder::attachDirectionalBlurEffect(const skjson::ArrayValue& jprops, in attachDirectionalBlurEffect() argument
59 auto imageFilterNode = fBuilder->attachDiscardableAdapter<DirectionalBlurAdapter>(jprops, in attachDirectionalBlurEffect()
DLevelsEffect.cpp115 EasyLevelsEffectAdapter(const skjson::ArrayValue& jprops, in EasyLevelsEffectAdapter() argument
131 EffectBinder(jprops, *abuilder, this) in EasyLevelsEffectAdapter()
181 ProLevelsEffectAdapter(const skjson::ArrayValue& jprops, in ProLevelsEffectAdapter() argument
227 EffectBinder(jprops, *abuilder, this) in ProLevelsEffectAdapter()
296 sk_sp<sksg::RenderNode> EffectBuilder::attachEasyLevelsEffect(const skjson::ArrayValue& jprops, in attachEasyLevelsEffect() argument
298 return fBuilder->attachDiscardableAdapter<EasyLevelsEffectAdapter>(jprops, in attachEasyLevelsEffect()
303 sk_sp<sksg::RenderNode> EffectBuilder::attachProLevelsEffect(const skjson::ArrayValue& jprops, in attachProLevelsEffect() argument
305 return fBuilder->attachDiscardableAdapter<ProLevelsEffectAdapter>(jprops, in attachProLevelsEffect()
DEffects.cpp117 const skjson::ArrayValue* jprops = (*jeffect)["ef"]; in attachEffects() local
118 if (!builder || !jprops) { in attachEffects()
123 layer = (this->*builder)(*jprops, std::move(layer)); in attachEffects()
174 const skjson::Value& EffectBuilder::GetPropValue(const skjson::ArrayValue& jprops, in GetPropValue() argument
178 if (prop_index >= jprops.size()) { in GetPropValue()
182 const skjson::ObjectValue* jprop = jprops[prop_index]; in GetPropValue()
DBlackAndWhiteEffect.cpp75 BlackAndWhiteAdapter(const skjson::ArrayValue& jprops, in BlackAndWhiteAdapter() argument
95 EffectBinder(jprops, abuilder, this) in BlackAndWhiteAdapter()
133 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachBlackAndWhiteEffect() argument
135 return fBuilder->attachDiscardableAdapter<BlackAndWhiteAdapter>(jprops, in attachBlackAndWhiteEffect()
DDropShadowEffect.cpp22 static sk_sp<DropShadowAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument
36 EffectBinder(jprops, abuilder, adapter.get()) in Make()
85 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowEffect(const skjson::ArrayValue& jprops, in attachDropShadowEffect() argument
87 return fBuilder->attachDiscardableAdapter<DropShadowAdapter>(jprops, in attachDropShadowEffect()
DBrightnessContrastEffect.cpp135 BrightnessContrastAdapter(const skjson::ArrayValue& jprops, in BrightnessContrastAdapter() argument
150 EffectBinder(jprops, abuilder, this) in BrightnessContrastAdapter()
244 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachBrightnessContrastEffect() argument
246 return fBuilder->attachDiscardableAdapter<BrightnessContrastAdapter>(jprops, in attachBrightnessContrastEffect()
DDisplacementMapEffect.cpp315 DisplacementMapAdapter(const skjson::ArrayValue& jprops, in DisplacementMapAdapter() argument
319 EffectBinder(jprops, *abuilder, this) in DisplacementMapAdapter()
330 const skjson::ArrayValue& jprops, in GetDisplacementSource() argument
333 if (const skjson::ObjectValue* jv = EffectBuilder::GetPropValue(jprops, kMapLayer_Index)) { in GetDisplacementSource()
395 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachDisplacementMapEffect() argument
397 auto [ displ, displ_size ] = DisplacementMapAdapter::GetDisplacementSource(jprops, this); in attachDisplacementMapEffect()
405 return fBuilder->attachDiscardableAdapter<DisplacementMapAdapter>(jprops, in attachDisplacementMapEffect()
DRadialWipeEffect.cpp128 RadialWipeAdapter(const skjson::ArrayValue& jprops, in RadialWipeAdapter() argument
141 EffectBinder(jprops, abuilder, this) in RadialWipeAdapter()
171 sk_sp<sksg::RenderNode> EffectBuilder::attachRadialWipeEffect(const skjson::ArrayValue& jprops, in attachRadialWipeEffect() argument
173 return fBuilder->attachDiscardableAdapter<RadialWipeAdapter>(jprops, in attachRadialWipeEffect()
DCCTonerEffect.cpp24 CCTonerAdapter(const skjson::ArrayValue& jprops, in CCTonerAdapter() argument
42 EffectBinder(jprops, abuilder, this) in CCTonerAdapter()
113 sk_sp<sksg::RenderNode> EffectBuilder::attachCCTonerEffect(const skjson::ArrayValue& jprops, in attachCCTonerEffect() argument
122 return fBuilder->attachDiscardableAdapter<CCTonerAdapter>(jprops, in attachCCTonerEffect()
DBuldgeEffect.cpp165 BulgeEffectAdapter(const skjson::ArrayValue& jprops, in BulgeEffectAdapter() argument
179 EffectBinder(jprops, abuilder, this).bind(kHorizontalRadius_Index, fHorizontalRadius) in BulgeEffectAdapter()
205 sk_sp<sksg::RenderNode> EffectBuilder::attachBulgeEffect(const skjson::ArrayValue& jprops, in attachBulgeEffect() argument
209 …return fBuilder->attachDiscardableAdapter<BulgeEffectAdapter>(jprops, *fBuilder, std::move(shaderN… in attachBulgeEffect()

12