Home
last modified time | relevance | path

Searched refs:jshape (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/modules/skottie/src/animator/
DShapeKeyframeAnimator.cpp53 if (const auto* jshape = shape_root(jv)) { in parse_encoding_len() local
54 if (const skjson::ArrayValue* jvs = (*jshape)["v"]) { in parse_encoding_len()
63 const auto* jshape = shape_root(jv); in parse_encoding_data() local
64 if (!jshape) { in parse_encoding_data()
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()
111 data[data_len - 1] = ParseDefault<bool>((*jshape)["c"], false); in parse_encoding_data()
/third_party/skia/modules/skottie/src/layers/shapelayer/
DShapeLayer.cpp102 const ShapeInfo* FindShapeInfo(const skjson::ObjectValue& jshape) { in FindShapeInfo() argument
122 const skjson::StringValue* type = jshape["ty"]; in FindShapeInfo()
164 sk_sp<sksg::RenderNode> AnimationBuilder::attachShape(const skjson::ArrayValue* jshape, in attachShape() argument
167 if (!jshape) in attachShape()
187 for (size_t i = 0; i < jshape->size(); ++i) { in attachShape()
188 const skjson::ObjectValue* shape = (*jshape)[jshape->size() - 1 - i]; in attachShape()
/third_party/flutter/skia/modules/skottie/src/layers/
DShapeLayer.cpp469 const ShapeInfo* FindShapeInfo(const skjson::ObjectValue& jshape) { in FindShapeInfo() argument
487 const skjson::StringValue* type = jshape["ty"]; in FindShapeInfo()
524 sk_sp<sksg::RenderNode> AnimationBuilder::attachShape(const skjson::ArrayValue* jshape, in attachShape() argument
526 if (!jshape) in attachShape()
545 for (size_t i = 0; i < jshape->size(); ++i) { in attachShape()
546 const skjson::ObjectValue* shape = (*jshape)[jshape->size() - 1 - i]; in attachShape()
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp143 for (const skjson::ObjectValue* jshape : *jit) { in parse_glyph_path()
144 if (!jshape) { in parse_glyph_path()
151 auto path_node = abuilder->attachPath((*jshape)["ks"]); in parse_glyph_path()