/third_party/skia/modules/skottie/src/text/ |
D | TextAnimator.cpp | 68 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/ |
D | TransformEffect.cpp | 65 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()
|
D | FillEffect.cpp | 24 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()
|
D | TintEffect.cpp | 22 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()
|
D | TritoneEffect.cpp | 23 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()
|
D | GaussianBlurEffect.cpp | 22 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()
|
D | CornerPinEffect.cpp | 20 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()
|
D | ShiftChannelsEffect.cpp | 32 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()
|
D | LinearWipeEffect.cpp | 27 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()
|
D | InvertEffect.cpp | 22 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()
|
D | SkSLEffect.cpp | 57 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()
|
D | HueSaturationEffect.cpp | 77 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()
|
D | GradientEffect.cpp | 22 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()
|
D | VenetianBlindsEffect.cpp | 25 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()
|
/third_party/flutter/skia/modules/skottie/src/effects/ |
D | TransformEffect.cpp | 44 sk_sp<sksg::RenderNode> EffectBuilder::attachTransformEffect(const skjson::ArrayValue& jprops, in attachTransformEffect() argument 65 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kAnchorPoint_Index), in attachTransformEffect() 69 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kPosition_Index), in attachTransformEffect() 73 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kRotation_Index), in attachTransformEffect() 77 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kSkew_Index), in attachTransformEffect() 81 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kSkewAxis_Index), in attachTransformEffect() 86 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kUniformScale_Index), in attachTransformEffect() 90 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kScaleHeight_Index), in attachTransformEffect() 94 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kScaleWidth_Index), in attachTransformEffect() 102 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOpacity_Index), in attachTransformEffect()
|
D | TritoneEffect.cpp | 18 sk_sp<sksg::RenderNode> EffectBuilder::attachTritoneEffect(const skjson::ArrayValue& jprops, in attachTritoneEffect() argument 29 if (jprops.size() <= kMax_Index) { in attachTritoneEffect() 33 const skjson::ObjectValue* hicolor_prop = jprops[ kHiColor_Index]; in attachTritoneEffect() 34 const skjson::ObjectValue* micolor_prop = jprops[ kMiColor_Index]; in attachTritoneEffect() 35 const skjson::ObjectValue* locolor_prop = jprops[ kLoColor_Index]; in attachTritoneEffect() 36 const skjson::ObjectValue* blend_prop = jprops[kBlendAmount_Index]; in attachTritoneEffect()
|
D | HueSaturationEffect.cpp | 24 static sk_sp<HueSaturationEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() argument 46 abuilder->bindProperty<ScalarValue>(EffectBuilder::GetPropValue(jprops, in Make() 51 abuilder->bindProperty<ScalarValue>(EffectBuilder::GetPropValue(jprops, in Make() 56 abuilder->bindProperty<ScalarValue>(EffectBuilder::GetPropValue(jprops, in Make() 61 abuilder->bindProperty<ScalarValue>(EffectBuilder::GetPropValue(jprops, in Make() 138 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachHueSaturationEffect() argument 139 return fBuilder->attachDiscardableAdapter<HueSaturationEffectAdapter>(jprops, in attachHueSaturationEffect()
|
D | DropShadowEffect.cpp | 58 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowEffect(const skjson::ArrayValue& jprops, in attachDropShadowEffect() argument 72 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kShadowColor_Index), in attachDropShadowEffect() 76 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOpacity_Index), in attachDropShadowEffect() 80 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kDirection_Index), in attachDropShadowEffect() 84 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kDistance_Index), in attachDropShadowEffect() 88 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kSoftness_Index), in attachDropShadowEffect() 92 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kShadowOnly_Index), in attachDropShadowEffect()
|
D | LevelsEffect.cpp | 137 sk_sp<sksg::RenderNode> EffectBuilder::attachLevelsEffect(const skjson::ArrayValue& jprops, in attachLevelsEffect() argument 153 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kChannel_Index), in attachLevelsEffect() 157 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kInputBlack_Index), in attachLevelsEffect() 161 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kInputWhite_Index), in attachLevelsEffect() 165 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputBlack_Index), in attachLevelsEffect() 169 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputWhite_Index), in attachLevelsEffect() 173 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kGamma_Index), in attachLevelsEffect() 178 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kClipToOutBlack_Index), in attachLevelsEffect() 182 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kClipToOutWhite_Index), in attachLevelsEffect()
|
D | TintEffect.cpp | 18 sk_sp<sksg::RenderNode> EffectBuilder::attachTintEffect(const skjson::ArrayValue& jprops, in attachTintEffect() argument 29 if (jprops.size() <= kMax_Index) { in attachTintEffect() 33 const skjson::ObjectValue* color0_prop = jprops[kMapBlackTo_Index]; in attachTintEffect() 34 const skjson::ObjectValue* color1_prop = jprops[kMapWhiteTo_Index]; in attachTintEffect() 35 const skjson::ObjectValue* amount_prop = jprops[ kAmount_Index]; in attachTintEffect()
|
D | GradientEffect.cpp | 99 sk_sp<sksg::RenderNode> EffectBuilder::attachGradientEffect(const skjson::ArrayValue& jprops, in attachGradientEffect() argument 113 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kStartPoint_Index), in attachGradientEffect() 117 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kEndPoint_Index), in attachGradientEffect() 121 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kStartColor_Index), in attachGradientEffect() 125 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kEndColor_Index), in attachGradientEffect() 129 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kRampShape_Index), in attachGradientEffect() 133 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kBlendRatio_Index), in attachGradientEffect() 137 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kRampScatter_Index), in attachGradientEffect()
|
D | MotionTileEffect.cpp | 171 sk_sp<sksg::RenderNode> EffectBuilder::attachMotionTileEffect(const skjson::ArrayValue& jprops, in attachMotionTileEffect() argument 186 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kTileCenter_Index), in attachMotionTileEffect() 190 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kTileWidth_Index), in attachMotionTileEffect() 194 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kTileHeight_Index), in attachMotionTileEffect() 198 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputWidth_Index), in attachMotionTileEffect() 202 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputHeight_Index), in attachMotionTileEffect() 206 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kMirrorEdges_Index), in attachMotionTileEffect() 210 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kPhase_Index), in attachMotionTileEffect() 214 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kHorizontalPhaseShift_Index), in attachMotionTileEffect()
|
D | Effects.cpp | 103 const skjson::ArrayValue* jprops = (*jeffect)["ef"]; in attachEffects() local 104 if (!builder || !jprops) { in attachEffects() 109 layer = (this->*builder)(*jprops, std::move(layer)); in attachEffects() 120 const skjson::Value& EffectBuilder::GetPropValue(const skjson::ArrayValue& jprops, in GetPropValue() argument 124 if (prop_index >= jprops.size()) { in GetPropValue() 128 const skjson::ObjectValue* jprop = jprops[prop_index]; in GetPropValue()
|
D | FillEffect.cpp | 18 sk_sp<sksg::RenderNode> EffectBuilder::attachFillEffect(const skjson::ArrayValue& jprops, in attachFillEffect() argument 32 if (jprops.size() <= kMax_Index) { in attachFillEffect() 36 const skjson::ObjectValue* color_prop = jprops[ kColor_Index]; in attachFillEffect() 37 const skjson::ObjectValue* opacity_prop = jprops[kOpacity_Index]; in attachFillEffect()
|
/third_party/flutter/skia/modules/skottie/src/text/ |
D | TextAnimator.cpp | 66 const skjson::ObjectValue* jprops = (*janimator)["a"]; in Make() local 67 if (!jprops) { in Make() 89 return sk_sp<TextAnimator>(new TextAnimator(std::move(selectors), *jprops, abuilder)); in Make() 150 const skjson::ObjectValue& jprops, in TextAnimator() argument 159 abuilder->bindProperty<VectorValue>(jprops["p"], in TextAnimator() 163 abuilder->bindProperty<ScalarValue>(jprops["s"], in TextAnimator() 168 abuilder->bindProperty<ScalarValue>(jprops["r"], in TextAnimator() 172 fHasFillColor = abuilder->bindProperty<VectorValue>(jprops["fc"], in TextAnimator() 176 fHasStrokeColor = abuilder->bindProperty<VectorValue>(jprops["sc"], in TextAnimator() 180 abuilder->bindProperty<ScalarValue>(jprops["o"], in TextAnimator() [all …]
|