/external/skqp/modules/skottie/src/ |
D | SkottieShapeLayer.cpp | 36 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 …]
|
D | SkottieAnimator.cpp | 63 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 …]
|
D | SkottieLayer.cpp | 68 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 …]
|
D | SkottieValue.cpp | 121 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()
|
D | SkottieLayerEffect.cpp | 22 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()
|
D | SkottieTextLayer.cpp | 29 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/ |
D | SkottieLayerEffect.cpp | 24 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 …]
|
D | SkottieShapeLayer.cpp | 36 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 …]
|
D | SkottieAnimator.cpp | 63 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 …]
|
D | SkottieLayer.cpp | 68 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 …]
|
D | SkottieValue.cpp | 121 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()
|
D | SkottieTextLayer.cpp | 29 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()
|
D | Skottie.cpp | 194 const AnimationBuilder* abuilder) { in GetBlendMode() argument 216 abuilder->log(Logger::Level::kWarning, &jobject, in GetBlendMode()
|