Home
last modified time | relevance | path

Searched refs:abuilder (Results 1 – 13 of 13) sorted by relevance

/external/skqp/modules/skottie/src/
DSkottieShapeLayer.cpp36 const AnimationBuilder* abuilder, in AttachPathGeometry() argument
38 return abuilder->attachPath(jpath["ks"], ascope); in AttachPathGeometry()
42 const AnimationBuilder* abuilder, in AttachRRectGeometry() argument
51 auto p_attached = abuilder->bindProperty<VectorValue>(jrect["p"], ascope, in AttachRRectGeometry()
55 auto s_attached = abuilder->bindProperty<VectorValue>(jrect["s"], ascope, in AttachRRectGeometry()
59 auto r_attached = abuilder->bindProperty<ScalarValue>(jrect["r"], ascope, in AttachRRectGeometry()
72 const AnimationBuilder* abuilder, in AttachEllipseGeometry() argument
81 auto p_attached = abuilder->bindProperty<VectorValue>(jellipse["p"], ascope, in AttachEllipseGeometry()
85 auto s_attached = abuilder->bindProperty<VectorValue>(jellipse["s"], ascope, in AttachEllipseGeometry()
100 const AnimationBuilder* abuilder, in AttachPolystarGeometry() argument
[all …]
DSkottieAnimator.cpp63 virtual int parseValue(const skjson::Value&, const AnimationBuilder* abuilder) = 0;
65 void parseKeyFrames(const skjson::ArrayValue& jframes, const AnimationBuilder* abuilder) { in parseKeyFrames() argument
75 abuilder->log(Logger::Level::kWarning, nullptr, in parseKeyFrames()
86 const auto v0_idx = this->parseValue((*jframe)["s"], abuilder); in parseKeyFrames()
91 const auto v1_idx = this->parseValue((*jframe)["e"], abuilder); in parseKeyFrames()
181 const AnimationBuilder* abuilder, in Make() argument
186 new KeyframeAnimator(*jv, abuilder, std::move(apply))); in Make()
200 const AnimationBuilder* abuilder, in KeyframeAnimator() argument
210 this->parseKeyFrames(jframes, abuilder); in KeyframeAnimator()
215 int parseValue(const skjson::Value& jv, const AnimationBuilder* abuilder) override { in parseValue() argument
[all …]
DSkottieLayer.cpp68 const AnimationBuilder* abuilder, in AttachMask() argument
88 abuilder->log(Logger::Level::kError, &(*m)["mode"], "Invalid mask mode."); in AttachMask()
100 abuilder->log(Logger::Level::kWarning, nullptr, "Unsupported mask mode: '%c'.", mode); in AttachMask()
104 auto mask_path = abuilder->attachPath((*m)["pt"], ascope); in AttachMask()
106 abuilder->log(Logger::Level::kError, m, "Could not parse mask path."); in AttachMask()
122 has_opacity |= abuilder->bindProperty<ScalarValue>((*m)["o"], ascope, in AttachMask()
408 const AnimationBuilder* abuilder) { in attachLayerTransform()
416 return this->attachLayerTransformImpl(jlayer, abuilder, layer_index); in attachLayerTransform()
421 const AnimationBuilder* abuilder, in attachParentLayerTransform()
434 return this->attachLayerTransformImpl(*l, abuilder, parent_index); in attachParentLayerTransform()
[all …]
DSkottieValue.cpp121 const internal::AnimationBuilder* abuilder, in FromJSON() argument
128 return FromJSON((*av)[0], abuilder, v); in FromJSON()
249 const internal::AnimationBuilder* abuilder, in FromJSON() argument
260 !(v->fTypeface = abuilder->findFont(SkString(font_name->begin(), font_name->size())))) { in FromJSON()
275 const internal::AnimationBuilder* abuilder, in FromJSON()
282 if (!ValueTraits<VectorValue>::FromJSON(*jcolor, abuilder, &color_vec)) { in FromJSON()
290 v->fHasFill = parse_color((*jtxt)["fc"], abuilder, &v->fFillColor); in FromJSON()
291 v->fHasStroke = parse_color((*jtxt)["sc"], abuilder, &v->fStrokeColor); in FromJSON()
DSkottieLayerEffect.cpp22 const AnimationBuilder* abuilder, in AttachFillLayerEffect() argument
50 sk_sp<sksg::Color> color_node = abuilder->attachColor(*color_prop, ascope, "v"); in AttachFillLayerEffect()
55 abuilder->bindProperty<ScalarValue>((*opacity_prop)["v"], ascope, in AttachFillLayerEffect()
DSkottieTextLayer.cpp29 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() argument
73 abuilder->log(Logger::Level::kWarning, nullptr, "Unknown font style: %s.", style); in FontStyle()
/external/skia/modules/skottie/src/
DSkottieLayerEffect.cpp24 const AnimationBuilder* abuilder, in AttachTintLayerEffect() argument
50 abuilder->attachColor(*color0_prop, ascope, "v"), in AttachTintLayerEffect()
51 abuilder->attachColor(*color1_prop, ascope, "v")); in AttachTintLayerEffect()
56 abuilder->bindProperty<ScalarValue>((*amount_prop)["v"], ascope, in AttachTintLayerEffect()
65 const AnimationBuilder* abuilder, in AttachTritoneLayerEffect() argument
92 abuilder->attachColor(*locolor_prop, ascope, "v"), in AttachTritoneLayerEffect()
93 abuilder->attachColor(*micolor_prop, ascope, "v"), in AttachTritoneLayerEffect()
94 abuilder->attachColor(*hicolor_prop, ascope, "v") }); in AttachTritoneLayerEffect()
99 abuilder->bindProperty<ScalarValue>((*blend_prop)["v"], ascope, in AttachTritoneLayerEffect()
108 const AnimationBuilder* abuilder, in AttachFillLayerEffect() argument
[all …]
DSkottieShapeLayer.cpp36 const AnimationBuilder* abuilder, in AttachPathGeometry() argument
38 return abuilder->attachPath(jpath["ks"], ascope); in AttachPathGeometry()
42 const AnimationBuilder* abuilder, in AttachRRectGeometry() argument
51 auto p_attached = abuilder->bindProperty<VectorValue>(jrect["p"], ascope, in AttachRRectGeometry()
55 auto s_attached = abuilder->bindProperty<VectorValue>(jrect["s"], ascope, in AttachRRectGeometry()
59 auto r_attached = abuilder->bindProperty<ScalarValue>(jrect["r"], ascope, in AttachRRectGeometry()
72 const AnimationBuilder* abuilder, in AttachEllipseGeometry() argument
81 auto p_attached = abuilder->bindProperty<VectorValue>(jellipse["p"], ascope, in AttachEllipseGeometry()
85 auto s_attached = abuilder->bindProperty<VectorValue>(jellipse["s"], ascope, in AttachEllipseGeometry()
100 const AnimationBuilder* abuilder, in AttachPolystarGeometry() argument
[all …]
DSkottieAnimator.cpp63 virtual int parseValue(const skjson::Value&, const AnimationBuilder* abuilder) = 0;
65 void parseKeyFrames(const skjson::ArrayValue& jframes, const AnimationBuilder* abuilder) { in parseKeyFrames() argument
75 abuilder->log(Logger::Level::kWarning, nullptr, in parseKeyFrames()
86 const auto v0_idx = this->parseValue((*jframe)["s"], abuilder); in parseKeyFrames()
91 const auto v1_idx = this->parseValue((*jframe)["e"], abuilder); in parseKeyFrames()
179 const AnimationBuilder* abuilder, in Make() argument
184 new KeyframeAnimator(*jv, abuilder, std::move(apply))); in Make()
198 const AnimationBuilder* abuilder, in KeyframeAnimator() argument
208 this->parseKeyFrames(jframes, abuilder); in KeyframeAnimator()
213 int parseValue(const skjson::Value& jv, const AnimationBuilder* abuilder) override { in parseValue() argument
[all …]
DSkottieLayer.cpp68 const AnimationBuilder* abuilder, in AttachMask() argument
88 abuilder->log(Logger::Level::kError, &(*m)["mode"], "Invalid mask mode."); in AttachMask()
100 abuilder->log(Logger::Level::kWarning, nullptr, "Unsupported mask mode: '%c'.", mode); in AttachMask()
104 auto mask_path = abuilder->attachPath((*m)["pt"], ascope); in AttachMask()
106 abuilder->log(Logger::Level::kError, m, "Could not parse mask path."); in AttachMask()
122 has_opacity |= abuilder->bindProperty<ScalarValue>((*m)["o"], ascope, in AttachMask()
410 const AnimationBuilder* abuilder) { in attachLayerTransform()
418 return this->attachLayerTransformImpl(jlayer, abuilder, layer_index); in attachLayerTransform()
423 const AnimationBuilder* abuilder, in attachParentLayerTransform()
436 return this->attachLayerTransformImpl(*l, abuilder, parent_index); in attachParentLayerTransform()
[all …]
DSkottieValue.cpp121 const internal::AnimationBuilder* abuilder, in FromJSON() argument
128 return FromJSON((*av)[0], abuilder, v); in FromJSON()
249 const internal::AnimationBuilder* abuilder, in FromJSON() argument
260 !(v->fTypeface = abuilder->findFont(SkString(font_name->begin(), font_name->size())))) { in FromJSON()
275 const internal::AnimationBuilder* abuilder, in FromJSON()
282 if (!ValueTraits<VectorValue>::FromJSON(*jcolor, abuilder, &color_vec)) { in FromJSON()
290 v->fHasFill = parse_color((*jtxt)["fc"], abuilder, &v->fFillColor); in FromJSON()
291 v->fHasStroke = parse_color((*jtxt)["sc"], abuilder, &v->fStrokeColor); in FromJSON()
DSkottieTextLayer.cpp29 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() argument
73 abuilder->log(Logger::Level::kWarning, nullptr, "Unknown font style: %s.", style); in FontStyle()
DSkottie.cpp194 const AnimationBuilder* abuilder) { in GetBlendMode() argument
216 abuilder->log(Logger::Level::kWarning, &jobject, in GetBlendMode()