/third_party/flutter/skia/modules/skottie/src/effects/ |
D | GradientEffect.cpp | 113 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kStartPoint_Index), in attachGradientEffect() 114 [adapter](const VectorValue& p0) { in attachGradientEffect() 115 adapter->setStartPoint(ValueTraits<VectorValue>::As<SkPoint>(p0)); in attachGradientEffect() 117 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kEndPoint_Index), in attachGradientEffect() 118 [adapter](const VectorValue& p1) { in attachGradientEffect() 119 adapter->setEndPoint(ValueTraits<VectorValue>::As<SkPoint>(p1)); in attachGradientEffect() 121 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kStartColor_Index), in attachGradientEffect() 122 [adapter](const VectorValue& c0) { in attachGradientEffect() 123 adapter->setStartColor(ValueTraits<VectorValue>::As<SkColor>(c0)); in attachGradientEffect() 125 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kEndColor_Index), in attachGradientEffect() [all …]
|
D | TransformEffect.cpp | 65 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kAnchorPoint_Index), in attachTransformEffect() 66 [t_adapter](const VectorValue& ap) { in attachTransformEffect() 67 t_adapter->setAnchorPoint(ValueTraits<VectorValue>::As<SkPoint>(ap)); in attachTransformEffect() 69 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kPosition_Index), in attachTransformEffect() 70 [t_adapter](const VectorValue& p) { in attachTransformEffect() 71 t_adapter->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in attachTransformEffect()
|
D | DropShadowEffect.cpp | 72 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kShadowColor_Index), in attachDropShadowEffect() 73 [shadow_adapter](const VectorValue& c) { in attachDropShadowEffect() 74 shadow_adapter->setColor(ValueTraits<VectorValue>::As<SkColor>(c)); in attachDropShadowEffect()
|
D | RadialWipeEffect.cpp | 156 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kWipeCenter_Index), in attachRadialWipeEffect() 157 [wiper](const VectorValue& c) { in attachRadialWipeEffect() 158 wiper->setWipeCenter(ValueTraits<VectorValue>::As<SkPoint>(c)); in attachRadialWipeEffect()
|
D | MotionTileEffect.cpp | 186 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kTileCenter_Index), in attachMotionTileEffect() 187 [tiler](const VectorValue& tc) { in attachMotionTileEffect() 188 tiler->setTileCenter(ValueTraits<VectorValue>::As<SkPoint>(tc)); in attachMotionTileEffect()
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieValue.cpp | 43 bool ValueTraits<VectorValue>::FromJSON(const skjson::Value& jv, const internal::AnimationBuilder*, in FromJSON() 44 VectorValue* v) { in FromJSON() 49 bool ValueTraits<VectorValue>::CanLerp(const VectorValue& v1, const VectorValue& v2) { in CanLerp() 54 void ValueTraits<VectorValue>::Lerp(const VectorValue& v0, const VectorValue& v1, float t, in Lerp() 55 VectorValue* result) { in Lerp() 67 SkColor ValueTraits<VectorValue>::As<SkColor>(const VectorValue& v) { in As() 82 SkPoint ValueTraits<VectorValue>::As<SkPoint>(const VectorValue& vec) { in As() 91 SkSize ValueTraits<VectorValue>::As<SkSize>(const VectorValue& vec) { in As()
|
D | Skottie.cpp | 72 static const VectorValue g_default_vec_0 = { 0, 0}, in attachMatrix2D() 78 auto bound = this->bindProperty<VectorValue>(t["a"], in attachMatrix2D() 79 [adapter](const VectorValue& a) { in attachMatrix2D() 80 adapter->setAnchorPoint(ValueTraits<VectorValue>::As<SkPoint>(a)); in attachMatrix2D() 82 bound |= this->bindProperty<VectorValue>(t["p"], in attachMatrix2D() 83 [adapter](const VectorValue& p) { in attachMatrix2D() 84 adapter->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in attachMatrix2D() 86 bound |= this->bindProperty<VectorValue>(t["s"], in attachMatrix2D() 87 [adapter](const VectorValue& s) { in attachMatrix2D() 88 adapter->setScale(ValueTraits<VectorValue>::As<SkVector>(s)); in attachMatrix2D() [all …]
|
D | SkottieAnimator.cpp | 361 std::function<void(const VectorValue&)>&& apply, in Make() 362 const VectorValue*) { in Make() argument 393 const VectorValue vec = { fX, fY }; in onTick() 401 explicit SplitPointAnimator(std::function<void(const VectorValue&)>&& apply) in SplitPointAnimator() 404 const std::function<void(const VectorValue&)> fApplyFunc; 416 std::function<void(const VectorValue&)>&& apply, in BindSplitPositionProperty() 417 const VectorValue* noop) { in BindSplitPositionProperty() 437 std::function<void(const VectorValue&)>&& apply, in bindProperty() 438 const VectorValue* noop) const { in bindProperty()
|
D | SkottieAdapter.h | 147 explicit Vec3(const VectorValue&); 222 ADAPTER_PROPERTY(ColorStops, VectorValue , VectorValue() )
|
D | SkottieAdapter.cpp | 85 TransformAdapter3D::Vec3::Vec3(const VectorValue& v) { in Vec3() 278 const VectorValue rgb({ cs[1], cs[2], cs[3] }); in apply() 280 stops.push_back({ pos, ValueTraits<VectorValue>::As<SkColor>(rgb) }); in apply()
|
D | SkottieValue.h | 38 using VectorValue = std::vector<ScalarValue>; variable
|
/third_party/flutter/skia/modules/skottie/src/layers/ |
D | ShapeLayer.cpp | 50 auto p_attached = abuilder->bindProperty<VectorValue>(jrect["p"], in AttachRRectGeometry() 51 [adapter](const VectorValue& p) { in AttachRRectGeometry() 52 adapter->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachRRectGeometry() 54 auto s_attached = abuilder->bindProperty<VectorValue>(jrect["s"], in AttachRRectGeometry() 55 [adapter](const VectorValue& s) { in AttachRRectGeometry() 56 adapter->setSize(ValueTraits<VectorValue>::As<SkSize>(s)); in AttachRRectGeometry() 79 auto p_attached = abuilder->bindProperty<VectorValue>(jellipse["p"], in AttachEllipseGeometry() 80 [adapter](const VectorValue& p) { in AttachEllipseGeometry() 81 adapter->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachEllipseGeometry() 83 auto s_attached = abuilder->bindProperty<VectorValue>(jellipse["s"], in AttachEllipseGeometry() [all …]
|
/third_party/flutter/skia/modules/skottie/src/text/ |
D | TextAnimator.cpp | 159 abuilder->bindProperty<VectorValue>(jprops["p"], in TextAnimator() 160 [animator](const VectorValue& p) { in TextAnimator() 161 animator->fTextProps.position = ValueTraits<VectorValue>::As<SkPoint>(p); in TextAnimator() 172 fHasFillColor = abuilder->bindProperty<VectorValue>(jprops["fc"], in TextAnimator() 173 [animator](const VectorValue& fc) { in TextAnimator() 174 animator->fTextProps.fill_color = ValueTraits<VectorValue>::As<SkColor>(fc); in TextAnimator() 176 fHasStrokeColor = abuilder->bindProperty<VectorValue>(jprops["sc"], in TextAnimator() 177 [animator](const VectorValue& sc) { in TextAnimator() 178 animator->fTextProps.stroke_color = ValueTraits<VectorValue>::As<SkColor>(sc); in TextAnimator()
|
D | TextValue.cpp | 92 VectorValue color_vec; in FromJSON() 93 if (!ValueTraits<VectorValue>::FromJSON(*jcolor, abuilder, &color_vec)) { in FromJSON() 97 *c = ValueTraits<VectorValue>::As<SkColor>(color_vec); in FromJSON()
|
/third_party/skia/modules/skottie/src/ |
D | SkottieValue.h | 25 class VectorValue final : public std::vector<float> { 27 VectorValue() = default; 29 VectorValue(std::initializer_list<float> l) : INHERITED(l) {} in VectorValue() function
|
D | SkottieJson.cpp | 110 bool Parse<VectorValue>(const Value& v, VectorValue* vec) { in Parse()
|
D | Transform.h | 91 VectorValue fAnchorPoint,
|
/third_party/skia/src/utils/ |
D | SkJSON.h | 249 class VectorValue : public Value { 279 class ArrayValue final : public VectorValue<Value, Value::Type::kArray> { 300 return this->cast<VectorValue<char, Value::Type::kString>>()->size(); in size() 309 : this->cast<VectorValue<char, Value::Type::kString>>()->begin(); in begin() 315 : this->cast<VectorValue<char, Value::Type::kString>>()->end(); in end() 324 class ObjectValue final : public VectorValue<Member, Value::Type::kObject> { 331 return this->VectorValue::operator[](i);
|
/third_party/flutter/skia/src/utils/ |
D | SkJSON.h | 243 class VectorValue : public Value { 273 class ArrayValue final : public VectorValue<Value, Value::Type::kArray> { 294 return this->cast<VectorValue<char, Value::Type::kString>>()->size(); in size() 303 : this->cast<VectorValue<char, Value::Type::kString>>()->begin(); in begin() 309 : this->cast<VectorValue<char, Value::Type::kString>>()->end(); in end() 318 class ObjectValue final : public VectorValue<Member, Value::Type::kObject> {
|
/third_party/skia/modules/skottie/src/animator/ |
D | VectorKeyframeAnimator.cpp | 38 VectorValue::operator SkV3() const { in operator SkV3() 47 VectorValue::operator SkColor() const { in operator SkColor() 51 VectorValue::operator SkColor4f() const { in operator SkColor4f() 266 bool AnimatablePropertyContainer::bind<VectorValue>(const AnimationBuilder& abuilder, in bind() 268 VectorValue* v) { in bind()
|
/third_party/skia/modules/skottie/src/effects/ |
D | SkSLEffect.cpp | 94 std::make_unique<VectorValue>()); in SkSLEffectAdapter() 126 std::vector<std::tuple<SkString, std::unique_ptr<VectorValue>>> fUniforms;
|
D | FillEffect.cpp | 67 VectorValue fColor;
|
D | TintEffect.cpp | 64 VectorValue fMapBlackTo,
|
D | TritoneEffect.cpp | 68 VectorValue fLoColor,
|
/third_party/skia/modules/skottie/src/text/ |
D | TextAnimator.h | 35 VectorValue position,
|