Home
last modified time | relevance | path

Searched refs:ArrayValue (Results 1 – 25 of 74) sorted by relevance

123

/external/skia/modules/skottie/src/effects/
DEffects.h28 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> attachCornerPinEffect (const skjson::ArrayValue&,
50 sk_sp<sksg::RenderNode> attachDisplacementMapEffect (const skjson::ArrayValue&,
52 sk_sp<sksg::RenderNode> attachDropShadowEffect (const skjson::ArrayValue&,
54 sk_sp<sksg::RenderNode> attachFillEffect (const skjson::ArrayValue&,
[all …]
DTintEffect.cpp22 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()
DFillEffect.cpp24 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()
DTritoneEffect.cpp23 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()
DGaussianBlurEffect.cpp22 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()
DCornerPinEffect.cpp20 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()
DHueSaturationEffect.cpp23 static sk_sp<HueSaturationEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make()
34 HueSaturationEffectAdapter(const skjson::ArrayValue& jprops, in HueSaturationEffectAdapter()
116 const skjson::ArrayValue& jprops, sk_sp<sksg::RenderNode> layer) const { in attachHueSaturationEffect()
DShiftChannelsEffect.cpp32 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()
DLinearWipeEffect.cpp27 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()
DEffects.cpp101 sk_sp<sksg::RenderNode> EffectBuilder::attachEffects(const skjson::ArrayValue& jeffects, in attachEffects()
113 const skjson::ArrayValue* jprops = (*jeffect)["ef"]; in attachEffects()
130 sk_sp<sksg::RenderNode> EffectBuilder::attachStyles(const skjson::ArrayValue& jstyles, in attachStyles()
170 const skjson::Value& EffectBuilder::GetPropValue(const skjson::ArrayValue& jprops, in GetPropValue()
DInvertEffect.cpp22 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()
DGradientEffect.cpp22 static sk_sp<GradientRampEffectAdapter> Make(const skjson::ArrayValue& jprops, in Make()
33 GradientRampEffectAdapter(const skjson::ArrayValue& jprops, in GradientRampEffectAdapter()
129 sk_sp<sksg::RenderNode> EffectBuilder::attachGradientEffect(const skjson::ArrayValue& jprops, in attachGradientEffect()
/external/skia/modules/skottie/src/animator/
DShapeKeyframeAnimator.cpp43 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()
DKeyframeAnimator.h19 class ArrayValue; variable
111 virtual sk_sp<KeyframeAnimator> make(const AnimationBuilder&, const skjson::ArrayValue&) = 0;
121 bool parseKeyframes(const AnimationBuilder&, const skjson::ArrayValue&);
/external/skia/tests/
DJSONTest.cpp211 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 …]
/external/skqp/tests/
DJSONTest.cpp211 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 …]
/external/skia/modules/skottie/src/
DSkottieJson.cpp26 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()
DSkottiePriv.h28 class ArrayValue; variable
186 void parseAssets(const skjson::ArrayValue*);
188 const skjson::ArrayValue* jchars);
192 bool resolveEmbeddedTypefaces(const skjson::ArrayValue& jchars);
194 void dispatchMarkers(const skjson::ArrayValue*) const;
199 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*,
/external/skia/experimental/skrive/src/reader/
DJsonReader.cpp76 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()
/external/skqp/modules/skottie/src/
DSkottiePriv.h26 class ArrayValue; variable
88 void parseAssets(const skjson::ArrayValue*);
90 const skjson::ArrayValue* jchars);
92 void dispatchMarkers(const skjson::ArrayValue*) const;
96 sk_sp<sksg::RenderNode> attachLayerEffects(const skjson::ArrayValue& jeffects, AnimatorScope*,
99 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*) const;
DSkottieJson.cpp26 if (const skjson::ArrayValue* array = v) { in Parse()
99 if (!v.is<ArrayValue>()) in Parse()
101 const auto& av = v.as<ArrayValue>(); in Parse()
/external/skia/modules/skottie/src/layers/
DTextLayer.cpp127 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()
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoOneOfTest.java474 @AutoOneOf(ArrayValue.Kind.class)
475 public abstract static class ArrayValue { class in AutoOneOfTest
488 public static ArrayValue ofString(String string) { in ofString()
492 public static ArrayValue ofInts(int[] ints) { in ofInts()
499 ArrayValue string = ArrayValue.ofString("foo"); in arrayValues()
500 ArrayValue ints1 = ArrayValue.ofInts(new int[] {17, 23}); in arrayValues()
501 ArrayValue ints2 = ArrayValue.ofInts(new int[] {17, 23}); in arrayValues()
/external/oss-fuzz/projects/jsoncpp/
Djson_proto_converter.h30 std::string Convert(const json_proto::ArrayValue&);
35 void AppendArray(const json_proto::ArrayValue&);
/external/skia/modules/particles/include/
DSkParticleSerialization.h83 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()

123