| /third_party/skia/modules/skottie/src/effects/ |
| D | Effects.h | 28 sk_sp<sksg::RenderNode> attachEffects(const skjson::ArrayValue&, 31 sk_sp<sksg::RenderNode> attachStyles(const skjson::ArrayValue&, 34 static const skjson::Value& GetPropValue(const skjson::ArrayValue& jprops, size_t prop_index); 41 using EffectBuilderT = sk_sp<sksg::RenderNode>(EffectBuilder::*)(const skjson::ArrayValue&, 44 sk_sp<sksg::RenderNode> attachBlackAndWhiteEffect (const skjson::ArrayValue&, 46 sk_sp<sksg::RenderNode> attachBrightnessContrastEffect(const skjson::ArrayValue&, 48 sk_sp<sksg::RenderNode> attachBulgeEffect (const skjson::ArrayValue&, 50 sk_sp<sksg::RenderNode> attachCornerPinEffect (const skjson::ArrayValue&, 52 sk_sp<sksg::RenderNode> attachCCTonerEffect (const skjson::ArrayValue&, 54 sk_sp<sksg::RenderNode> attachDirectionalBlurEffect (const skjson::ArrayValue&, [all …]
|
| D | FillEffect.cpp | 24 static sk_sp<FillAdapter> Make(const skjson::ArrayValue& jprops, in Make() 33 FillAdapter(const skjson::ArrayValue& jprops, in FillAdapter() 73 sk_sp<sksg::RenderNode> EffectBuilder::attachFillEffect(const skjson::ArrayValue& jprops, in attachFillEffect()
|
| D | TintEffect.cpp | 22 static sk_sp<TintAdapter> Make(const skjson::ArrayValue& jprops, in Make() 31 TintAdapter(const skjson::ArrayValue& jprops, in TintAdapter() 71 sk_sp<sksg::RenderNode> EffectBuilder::attachTintEffect(const skjson::ArrayValue& jprops, in attachTintEffect()
|
| D | TritoneEffect.cpp | 23 static sk_sp<TritoneAdapter> Make(const skjson::ArrayValue& jprops, in Make() 32 TritoneAdapter(const skjson::ArrayValue& jprops, in TritoneAdapter() 76 sk_sp<sksg::RenderNode> EffectBuilder::attachTritoneEffect(const skjson::ArrayValue& jprops, in attachTritoneEffect()
|
| D | GaussianBlurEffect.cpp | 22 static sk_sp<GaussianBlurEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() 33 GaussianBlurEffectAdapter(const skjson::ArrayValue& jprops, in GaussianBlurEffectAdapter() 86 const skjson::ArrayValue& jprops, in attachGaussianBlurEffect()
|
| D | CornerPinEffect.cpp | 20 static sk_sp<CornerPinAdapter> Make(const skjson::ArrayValue& jprops, in Make() 29 CornerPinAdapter(const skjson::ArrayValue& jprops, in CornerPinAdapter() 77 sk_sp<sksg::RenderNode> EffectBuilder::attachCornerPinEffect(const skjson::ArrayValue& jprops, in attachCornerPinEffect()
|
| D | Effects.cpp | 105 sk_sp<sksg::RenderNode> EffectBuilder::attachEffects(const skjson::ArrayValue& jeffects, in attachEffects() 117 const skjson::ArrayValue* jprops = (*jeffect)["ef"]; in attachEffects() 134 sk_sp<sksg::RenderNode> EffectBuilder::attachStyles(const skjson::ArrayValue& jstyles, in attachStyles() 174 const skjson::Value& EffectBuilder::GetPropValue(const skjson::ArrayValue& jprops, in GetPropValue()
|
| D | LinearWipeEffect.cpp | 27 static sk_sp<LinearWipeAdapter> Make(const skjson::ArrayValue& jprops, in Make() 38 LinearWipeAdapter(const skjson::ArrayValue& jprops, in LinearWipeAdapter() 120 sk_sp<sksg::RenderNode> EffectBuilder::attachLinearWipeEffect(const skjson::ArrayValue& jprops, in attachLinearWipeEffect()
|
| D | ShiftChannelsEffect.cpp | 32 static sk_sp<ShiftChannelsEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() 42 ShiftChannelsEffectAdapter(const skjson::ArrayValue& jprops, in ShiftChannelsEffectAdapter() 126 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachShiftChannelsEffect()
|
| D | InvertEffect.cpp | 22 static sk_sp<InvertEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() 32 InvertEffectAdapter(const skjson::ArrayValue& jprops, in InvertEffectAdapter() 135 sk_sp<sksg::RenderNode> EffectBuilder::attachInvertEffect(const skjson::ArrayValue& jprops, in attachInvertEffect()
|
| D | HueSaturationEffect.cpp | 77 static sk_sp<HueSaturationEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make() 88 HueSaturationEffectAdapter(const skjson::ArrayValue& jprops, in HueSaturationEffectAdapter() 197 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachHueSaturationEffect()
|
| /third_party/flutter/skia/modules/skottie/src/effects/ |
| D | Effects.h | 27 sk_sp<sksg::RenderNode> attachEffects(const skjson::ArrayValue&, 30 static const skjson::Value& GetPropValue(const skjson::ArrayValue& jprops, size_t prop_index); 33 using EffectBuilderT = sk_sp<sksg::RenderNode>(EffectBuilder::*)(const skjson::ArrayValue&, 36 sk_sp<sksg::RenderNode> attachDropShadowEffect (const skjson::ArrayValue&, 38 sk_sp<sksg::RenderNode> attachFillEffect (const skjson::ArrayValue&, 40 sk_sp<sksg::RenderNode> attachGaussianBlurEffect (const skjson::ArrayValue&, 42 sk_sp<sksg::RenderNode> attachGradientEffect (const skjson::ArrayValue&, 44 sk_sp<sksg::RenderNode> attachHueSaturationEffect (const skjson::ArrayValue&, 46 sk_sp<sksg::RenderNode> attachLevelsEffect (const skjson::ArrayValue&, 48 sk_sp<sksg::RenderNode> attachLinearWipeEffect (const skjson::ArrayValue&, [all …]
|
| D | Effects.cpp | 91 sk_sp<sksg::RenderNode> EffectBuilder::attachEffects(const skjson::ArrayValue& jeffects, in attachEffects() 103 const skjson::ArrayValue* jprops = (*jeffect)["ef"]; in attachEffects() 120 const skjson::Value& EffectBuilder::GetPropValue(const skjson::ArrayValue& jprops, in GetPropValue()
|
| /third_party/flutter/skia/tests/ |
| D | JSONTest.cpp | 211 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 223 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 235 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 247 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 259 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 271 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 285 check_vector<ArrayValue >(reporter, v, 3, true); in DEF_TEST() 286 check_primitive<float, NumberValue>(reporter, v.as<ArrayValue>()[0], 1, true); in DEF_TEST() 287 check_primitive<bool, BoolValue>(reporter, v.as<ArrayValue>()[1], true, true); in DEF_TEST() 288 check_vector<StringValue>(reporter, v.as<ArrayValue>()[2], 3, true); in DEF_TEST() [all …]
|
| /third_party/skia/tests/ |
| D | JSONTest.cpp | 211 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 223 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 235 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 247 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 259 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 271 check_vector<ArrayValue >(reporter, v, 0, false); in DEF_TEST() 285 check_vector<ArrayValue >(reporter, v, 3, true); in DEF_TEST() 286 check_primitive<float, NumberValue>(reporter, v.as<ArrayValue>()[0], 1, true); in DEF_TEST() 287 check_primitive<bool, BoolValue>(reporter, v.as<ArrayValue>()[1], true, true); in DEF_TEST() 288 check_vector<StringValue>(reporter, v.as<ArrayValue>()[2], 3, true); in DEF_TEST() [all …]
|
| /third_party/skia/modules/skottie/src/animator/ |
| D | ShapeKeyframeAnimator.cpp | 43 if (const skjson::ArrayValue* av = jv) { in shape_root() 54 if (const skjson::ArrayValue* jvs = (*jshape)["v"]) { in parse_encoding_len() 69 const skjson::ArrayValue* jvs = (*jshape)["v"]; // vertex points in parse_encoding_data() 70 const skjson::ArrayValue* jis = (*jshape)["i"]; // in-tangent points in parse_encoding_data() 71 const skjson::ArrayValue* jos = (*jshape)["o"]; // out-tangent points in parse_encoding_data() 77 auto parse_point = [](const skjson::ArrayValue* ja, size_t i, float* x, float* y) { in parse_encoding_data() 79 const skjson::ArrayValue* jpt = (*ja)[i]; in parse_encoding_data() 88 auto parse_optional_point = [&parse_point](const skjson::ArrayValue* ja, size_t i, in parse_encoding_data()
|
| D | KeyframeAnimator.h | 20 class ArrayValue; variable 116 const skjson::ArrayValue&) = 0; 131 bool parseKeyframes(const AnimationBuilder&, const skjson::ArrayValue&);
|
| /third_party/skia/modules/skottie/src/ |
| D | SkottieJson.cpp | 26 if (const skjson::ArrayValue* array = v) { in Parse() 89 if (!v.is<ArrayValue>()) in Parse() 91 const auto& av = v.as<ArrayValue>(); in Parse() 111 if (!v.is<ArrayValue>()) in Parse() 113 const auto& av = v.as<ArrayValue>(); in Parse()
|
| D | SkottiePriv.h | 28 class ArrayValue; variable 190 void parseAssets(const skjson::ArrayValue*); 192 const skjson::ArrayValue* jchars); 196 bool resolveEmbeddedTypefaces(const skjson::ArrayValue& jchars); 198 void dispatchMarkers(const skjson::ArrayValue*) const; 203 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*,
|
| /third_party/skia/experimental/skrive/src/reader/ |
| D | JsonReader.cpp | 76 const skjson::ArrayValue* jarr = *ctx.fContainer; in readProp() 122 const auto* jarr = this->readProp<skjson::ArrayValue>(label); in readFloatArray() 150 : ctx.fContainer->as<skjson:: ArrayValue>().size(); in currentLength() 154 const auto* jarr = this->readProp<skjson::ArrayValue>(label); in openArray() 164 SkASSERT(fContextStack.back().fContainer->is<skjson::ArrayValue>()); in closeArray() 201 if (m.fValue.is<skjson::ObjectValue>() || m.fValue.is<skjson::ArrayValue>()) { in openObjectBlock() 217 const auto& container = ctx.fContainer->as<skjson::ArrayValue>(); in openArrayBlock()
|
| /third_party/skia/modules/skottie/src/layers/ |
| D | TextLayer.cpp | 127 const skjson::ArrayValue* jshapes = (*jdata)["shapes"]; in parse_glyph_path() 138 const skjson::ArrayValue* jit = (*jgrp)["it"]; in parse_glyph_path() 175 const skjson::ArrayValue* jchars) {} in parseFonts() 183 const skjson::ArrayValue* jchars) { in parseFonts() 200 const skjson::ArrayValue* jlist = jfonts in parseFonts() 201 ? static_cast<const skjson::ArrayValue*>((*jfonts)["list"]) in parseFonts() 299 bool AnimationBuilder::resolveEmbeddedTypefaces(const skjson::ArrayValue& jchars) { in resolveEmbeddedTypefaces()
|
| /third_party/flutter/skia/modules/skottie/src/ |
| D | SkottiePriv.h | 26 class ArrayValue; variable 169 void parseAssets(const skjson::ArrayValue*); 171 const skjson::ArrayValue* jchars); 173 void dispatchMarkers(const skjson::ArrayValue*) const; 182 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*) const; 257 explicit AttachLayerContext(const skjson::ArrayValue&); 265 const skjson::ArrayValue& fLayerList;
|
| D | SkottieJson.cpp | 26 if (const skjson::ArrayValue* array = v) { in Parse() 99 if (!v.is<ArrayValue>()) in Parse() 101 const auto& av = v.as<ArrayValue>(); in Parse()
|
| /third_party/flutter/skia/modules/particles/include/ |
| D | SkParticleSerialization.h | 102 if (const skjson::ArrayValue* lines = get(name)) { in visit() 133 const skjson::ArrayValue* arr = get(name); in visit() 156 const skjson::ArrayValue* arrVal = get(name); in enterArray() 170 if (cur->is<skjson::ArrayValue>()) { in get() 172 return cur->as<skjson::ArrayValue>()[fArrayIndexStack.back()++]; in get()
|
| /third_party/skia/modules/particles/include/ |
| D | SkParticleSerialization.h | 83 if (const skjson::ArrayValue* lines = get(name)) { in visit() 114 const skjson::ArrayValue* arrVal = get(name); in enterArray() 128 if (cur->is<skjson::ArrayValue>()) { in get() 130 return cur->as<skjson::ArrayValue>()[fArrayIndexStack.back()++]; in get()
|