Home
last modified time | relevance | path

Searched refs:ObjectValue (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/skia/modules/skottie/src/layers/shapelayer/
DShapeLayer.h19 class ObjectValue; variable
42 static sk_sp<sksg::GeometryNode> AttachPathGeometry(const skjson::ObjectValue&,
44 static sk_sp<sksg::GeometryNode> AttachRRectGeometry(const skjson::ObjectValue&,
46 static sk_sp<sksg::GeometryNode> AttachEllipseGeometry(const skjson::ObjectValue&,
48 static sk_sp<sksg::GeometryNode> AttachPolystarGeometry(const skjson::ObjectValue&,
51 static sk_sp<sksg::PaintNode> AttachColorFill(const skjson::ObjectValue&,
53 static sk_sp<sksg::PaintNode> AttachColorStroke(const skjson::ObjectValue&,
55 static sk_sp<sksg::PaintNode> AttachGradientFill(const skjson::ObjectValue&,
57 static sk_sp<sksg::PaintNode> AttachGradientStroke(const skjson::ObjectValue&,
61 const skjson::ObjectValue&, const AnimationBuilder*,
[all …]
DShapeLayer.cpp33 using GeometryAttacherT = sk_sp<sksg::GeometryNode> (*)(const skjson::ObjectValue&,
43 std::vector<sk_sp<sksg::GeometryNode>> (*)(const skjson::ObjectValue&,
54 using PaintAttacherT = sk_sp<sksg::PaintNode> (*)(const skjson::ObjectValue&,
73 std::vector<sk_sp<sksg::RenderNode>> (*)(const skjson::ObjectValue&,
102 const ShapeInfo* FindShapeInfo(const skjson::ObjectValue& jshape) { in FindShapeInfo()
140 const skjson::ObjectValue& fJson;
146 sk_sp<sksg::GeometryNode> ShapeBuilder::AttachPathGeometry(const skjson::ObjectValue& jpath, in AttachPathGeometry()
172 const skjson::ObjectValue* jtransform = nullptr; in attachShape()
175 const skjson::ObjectValue& fJson; in attachShape()
188 const skjson::ObjectValue* shape = (*jshape)[jshape->size() - 1 - i]; in attachShape()
[all …]
DFillStroke.cpp25 FillStrokeAdapter(const skjson::ObjectValue& jpaint, in FillStrokeAdapter()
105 if (const skjson::ObjectValue* jint = jdash[i]) { in DashAdapter()
128 sk_sp<sksg::PaintNode> ShapeBuilder::AttachFill(const skjson::ObjectValue& jpaint, in AttachFill()
140 sk_sp<sksg::PaintNode> ShapeBuilder::AttachStroke(const skjson::ObjectValue& jpaint, in AttachStroke()
152 sk_sp<sksg::PaintNode> ShapeBuilder::AttachColorFill(const skjson::ObjectValue& jpaint, in AttachColorFill()
160 sk_sp<sksg::PaintNode> ShapeBuilder::AttachColorStroke(const skjson::ObjectValue& jpaint, in AttachColorStroke()
169 const skjson::ObjectValue& jstroke, in AdjustStrokeGeometry()
DGradient.cpp24 static sk_sp<GradientAdapter> Make(const skjson::ObjectValue& jgrad, in Make()
26 const skjson::ObjectValue* jstops = jgrad["g"]; in Make()
54 const skjson::ObjectValue& jgrad, in GradientAdapter()
55 const skjson::ObjectValue& jstops, in GradientAdapter()
207 sk_sp<sksg::PaintNode> ShapeBuilder::AttachGradientFill(const skjson::ObjectValue& jgrad, in AttachGradientFill()
216 sk_sp<sksg::PaintNode> ShapeBuilder::AttachGradientStroke(const skjson::ObjectValue& jgrad, in AttachGradientStroke()
/third_party/flutter/skia/modules/skottie/src/
DSkottiePriv.h27 class ObjectValue; variable
56 std::unique_ptr<sksg::Scene> parse(const skjson::ObjectValue&);
84 sk_sp<sksg::Color> attachColor(const skjson::ObjectValue&, const char prop_name[]) const;
85 sk_sp<sksg::Transform> attachMatrix2D(const skjson::ObjectValue&, sk_sp<sksg::Transform>) const;
86 sk_sp<sksg::Transform> attachMatrix3D(const skjson::ObjectValue&, sk_sp<sksg::Transform>,
89 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&,
143 AutoPropertyTracker(const AnimationBuilder* builder, const skjson::ObjectValue& obj) in AutoPropertyTracker()
157 void updateContext(PropertyObserver*, const skjson::ObjectValue&);
170 void parseFonts (const skjson::ObjectValue* jfonts,
175 sk_sp<sksg::RenderNode> attachComposition(const skjson::ObjectValue&) const;
[all …]
DLayer.cpp80 for (const skjson::ObjectValue* m : *jmask) { in AttachMask()
256 AnimationBuilder::AttachLayerContext::attachLayerTransform(const skjson::ObjectValue& jlayer, in attachLayerTransform()
283 AnimationBuilder::AttachLayerContext::attachParentLayerTransform(const skjson::ObjectValue& jlayer, in attachParentLayerTransform()
293 for (const skjson::ObjectValue* l : fLayerList) { in attachParentLayerTransform()
311 AnimationBuilder::AttachLayerContext::attachTransformNode(const skjson::ObjectValue& jlayer, in attachTransformNode()
315 const skjson::ObjectValue* jtransform = jlayer["ks"]; in attachTransformNode()
348 AnimationBuilder::AttachLayerContext::attachLayerTransformImpl(const skjson::ObjectValue& jlayer, in attachLayerTransformImpl()
368 bool AnimationBuilder::AttachLayerContext::hasMotionBlur(const skjson::ObjectValue& jlayer) const { in hasMotionBlur()
374 sk_sp<sksg::RenderNode> AnimationBuilder::attachLayer(const skjson::ObjectValue* jlayer, in attachLayer()
393 using LayerBuilder = sk_sp<sksg::RenderNode> (AnimationBuilder::*)(const skjson::ObjectValue&, in attachLayer()
[all …]
/third_party/skia/modules/skottie/src/
DSkottiePriv.h29 class ObjectValue; variable
65 AnimationInfo parse(const skjson::ObjectValue&);
81 sk_sp<sksg::Transform> attachMatrix2D(const skjson::ObjectValue&, sk_sp<sksg::Transform>,
83 sk_sp<sksg::Transform> attachMatrix3D(const skjson::ObjectValue&, sk_sp<sksg::Transform>,
86 sk_sp<sksg::Transform> attachCamera(const skjson::ObjectValue& jlayer,
87 const skjson::ObjectValue& jtransform,
91 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&,
150 …AutoPropertyTracker(const AnimationBuilder* builder, const skjson::ObjectValue& obj, const Propert… in AutoPropertyTracker()
167 void updateContext(PropertyObserver*, const skjson::ObjectValue&);
191 void parseFonts (const skjson::ObjectValue* jfonts,
[all …]
DTransform.h20 class ObjectValue; variable
31 const skjson::ObjectValue* janchor_point,
32 const skjson::ObjectValue* jposition,
33 const skjson::ObjectValue* jscale,
34 const skjson::ObjectValue* jrotation,
35 const skjson::ObjectValue* jskew,
36 const skjson::ObjectValue* jskew_axis,
78 TransformAdapter3D(const skjson::ObjectValue&, const AnimationBuilder&);
DTransform.cpp18 const skjson::ObjectValue* janchor_point, in TransformAdapter2D()
19 const skjson::ObjectValue* jposition, in TransformAdapter2D()
20 const skjson::ObjectValue* jscale, in TransformAdapter2D()
21 const skjson::ObjectValue* jrotation, in TransformAdapter2D()
22 const skjson::ObjectValue* jskew, in TransformAdapter2D()
23 const skjson::ObjectValue* jskew_axis, in TransformAdapter2D()
108 sk_sp<sksg::Transform> AnimationBuilder::attachMatrix2D(const skjson::ObjectValue& jtransform, in attachMatrix2D()
142 TransformAdapter3D::TransformAdapter3D(const skjson::ObjectValue& jtransform, in TransformAdapter3D()
191 sk_sp<sksg::Transform> AnimationBuilder::attachMatrix3D(const skjson::ObjectValue& jtransform, in attachMatrix3D()
DComposition.cpp23 const skjson::ObjectValue& jlayer) { in ScopedAssetRef()
49 const skjson::ObjectValue& jcomp) in CompositionBuilder()
53 if (const skjson::ObjectValue* jmb = jcomp["mb"]) { in CompositionBuilder()
66 for (const skjson::ObjectValue* jlayer : *jlayers) { in CompositionBuilder()
DCamera.cpp54 CameraAdaper::CameraAdaper(const skjson::ObjectValue& jlayer, in CameraAdaper()
55 const skjson::ObjectValue& jtransform, in CameraAdaper()
118 sk_sp<sksg::Transform> AnimationBuilder::attachCamera(const skjson::ObjectValue& jlayer, in attachCamera()
119 const skjson::ObjectValue& jtransform, in attachCamera()
/third_party/flutter/skia/tests/
DJSONTest.cpp200 const auto& jroot = dom.root().as<ObjectValue>(); in DEF_TEST()
201 REPORTER_ASSERT(reporter, jroot.is<ObjectValue>()); in DEF_TEST()
212 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
224 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
236 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
248 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
260 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
272 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
283 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
301 check_vector<ObjectValue>(reporter, v, 3, true); in DEF_TEST()
[all …]
/third_party/skia/tests/
DJSONTest.cpp200 const auto& jroot = dom.root().as<ObjectValue>(); in DEF_TEST()
201 REPORTER_ASSERT(reporter, jroot.is<ObjectValue>()); in DEF_TEST()
212 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
224 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
236 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
248 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
260 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
272 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
283 check_vector<ObjectValue>(reporter, v, 0, false); in DEF_TEST()
301 check_vector<ObjectValue>(reporter, v, 3, true); in DEF_TEST()
[all …]
/third_party/skia/experimental/skrive/src/reader/
DJsonReader.cpp72 if (ctx.fContainer->is<skjson::ObjectValue>()) { in readProp()
73 return static_cast<const T*>(ctx.fContainer->as<skjson::ObjectValue>()[label]); in readProp()
148 return ctx.fContainer->is<skjson::ObjectValue>() in currentLength()
149 ? ctx.fContainer->as<skjson::ObjectValue>().size() in currentLength()
169 const auto* jobj = this->readProp<skjson::ObjectValue>(label); in openObject()
179 SkASSERT(fContextStack.back().fContainer->is<skjson::ObjectValue>()); in closeObject()
197 const auto& container = ctx.fContainer->as<skjson::ObjectValue>(); in openObjectBlock()
201 if (m.fValue.is<skjson::ObjectValue>() || m.fValue.is<skjson::ArrayValue>()) { in openObjectBlock()
221 if (m.is<skjson::ObjectValue>()) { in openArrayBlock()
222 if (const skjson::StringValue* jtype = m.as<skjson::ObjectValue>()["type"]) { in openArrayBlock()
[all …]
/third_party/flutter/skia/modules/skottie/src/layers/
DShapeLayer.cpp36 sk_sp<sksg::GeometryNode> AttachPathGeometry(const skjson::ObjectValue& jpath, in AttachPathGeometry()
41 sk_sp<sksg::GeometryNode> AttachRRectGeometry(const skjson::ObjectValue& jrect, in AttachRRectGeometry()
70 sk_sp<sksg::GeometryNode> AttachEllipseGeometry(const skjson::ObjectValue& jellipse, in AttachEllipseGeometry()
97 sk_sp<sksg::GeometryNode> AttachPolystarGeometry(const skjson::ObjectValue& jstar, in AttachPolystarGeometry()
145 sk_sp<sksg::ShaderPaint> AttachGradient(const skjson::ObjectValue& jgrad, in AttachGradient()
147 const skjson::ObjectValue* stops = jgrad["g"]; in AttachGradient()
186 sk_sp<sksg::PaintNode> AttachPaint(const skjson::ObjectValue& jpaint, in AttachPaint()
202 sk_sp<sksg::PaintNode> AttachStroke(const skjson::ObjectValue& jstroke, in AttachStroke()
236 sk_sp<sksg::PaintNode> AttachColorFill(const skjson::ObjectValue& jfill, in AttachColorFill()
241 sk_sp<sksg::PaintNode> AttachGradientFill(const skjson::ObjectValue& jfill, in AttachGradientFill()
[all …]
DTextLayer.cpp103 void AnimationBuilder::parseFonts(const skjson::ObjectValue* jfonts, in parseFonts()
123 for (const skjson::ObjectValue* jfont : *jlist) { in parseFonts()
195 for (const skjson::ObjectValue* jchar : *jchars) { in parseFonts()
250 sk_sp<sksg::RenderNode> AnimationBuilder::attachTextLayer(const skjson::ObjectValue& layer, in attachTextLayer()
279 const skjson::ObjectValue* jt = layer["t"]; in attachTextLayer()
288 const skjson::ObjectValue* jd = (*jt)["d"]; in attachTextLayer()
DImageLayer.cpp19 AnimationBuilder::loadImageAsset(const skjson::ObjectValue& jimage) const { in loadImageAsset()
44 sk_sp<sksg::RenderNode> AnimationBuilder::attachImageAsset(const skjson::ObjectValue& jimage, in attachImageAsset()
106 sk_sp<sksg::RenderNode> AnimationBuilder::attachImageLayer(const skjson::ObjectValue& jlayer, in attachImageLayer()
109 [this, &layer_info] (const skjson::ObjectValue& jimage) { in attachImageLayer()
/third_party/skia/modules/skottie/src/animator/
DAnimator.h19 class ObjectValue; variable
50 bool bind(const AnimationBuilder&, const skjson::ObjectValue*, T*);
53 bool bind(const AnimationBuilder& abuilder, const skjson::ObjectValue* jobject, T& v) { in bind()
60 const skjson::ObjectValue* jobject,
75 bool bindImpl(const AnimationBuilder&, const skjson::ObjectValue*, AnimatorBuilder&);
/third_party/flutter/skia/modules/skottie/src/effects/
DTritoneEffect.cpp33 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()
DTintEffect.cpp33 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()
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp102 bool parse_glyph_path(const skjson::ObjectValue* jdata, in parse_glyph_path()
133 for (const skjson::ObjectValue* jgrp : *jshapes) { in parse_glyph_path()
143 for (const skjson::ObjectValue* jshape : *jit) { in parse_glyph_path()
174 void AnimationBuilder::parseFonts(const skjson::ObjectValue* jfonts, in parseFonts()
177 sk_sp<sksg::RenderNode> AnimationBuilder::attachTextLayer(const skjson::ObjectValue& jlayer, in attachTextLayer()
182 void AnimationBuilder::parseFonts(const skjson::ObjectValue* jfonts, in parseFonts()
208 for (const skjson::ObjectValue* jfont : *jlist) { in parseFonts()
315 for (const skjson::ObjectValue* jchar : jchars) { in resolveEmbeddedTypefaces()
400 sk_sp<sksg::RenderNode> AnimationBuilder::attachTextLayer(const skjson::ObjectValue& jlayer, in attachTextLayer()
/third_party/skia/dm/
DDMJsonWriter.cpp111 const ObjectValue* root = dom.root(); in ReadJson()
122 for (const ObjectValue* r : *results) { in ReadJson()
123 const ObjectValue& key = (*r)["key"].as<ObjectValue>(); in ReadJson()
124 const ObjectValue& options = (*r)["options"].as<ObjectValue>(); in ReadJson()
/third_party/flutter/skia/dm/
DDMJsonWriter.cpp111 const ObjectValue* root = dom.root(); in ReadJson()
122 for (const ObjectValue* r : *results) { in ReadJson()
123 const ObjectValue& key = (*r)["key"].as<ObjectValue>(); in ReadJson()
124 const ObjectValue& options = (*r)["options"].as<ObjectValue>(); in ReadJson()
/third_party/skia/modules/skottie/src/effects/
DTransformEffect.cpp24 const skjson::ObjectValue* jopacity, in TransformEffectAdapter()
25 const skjson::ObjectValue* jscale_uniform, in TransformEffectAdapter()
26 const skjson::ObjectValue* jscale_width, in TransformEffectAdapter()
27 const skjson::ObjectValue* jscale_height, in TransformEffectAdapter()
DEffects.cpp29 EffectBuilder::EffectBuilderT EffectBuilder::findBuilder(const skjson::ObjectValue& jeffect) const { in findBuilder()
111 for (const skjson::ObjectValue* jeffect : jeffects) { in attachEffects()
142 sk_sp<sksg::RenderNode> (EffectBuilder::*)(const skjson::ObjectValue&, in attachStyles()
152 for (const skjson::ObjectValue* jstyle : jstyles) { in attachStyles()
182 const skjson::ObjectValue* jprop = jprops[prop_index]; in GetPropValue()

1234