Home
last modified time | relevance | path

Searched refs:VectorValue (Results 1 – 25 of 34) sorted by relevance

12

/external/skqp/modules/skottie/src/
DSkottieValue.cpp44 bool ValueTraits<VectorValue>::FromJSON(const skjson::Value& jv, const internal::AnimationBuilder*, in FromJSON()
45 VectorValue* v) { in FromJSON()
50 bool ValueTraits<VectorValue>::CanLerp(const VectorValue& v1, const VectorValue& v2) { in CanLerp()
55 void ValueTraits<VectorValue>::Lerp(const VectorValue& v0, const VectorValue& v1, float t, in Lerp()
56 VectorValue* result) { in Lerp()
68 SkColor ValueTraits<VectorValue>::As<SkColor>(const VectorValue& v) { in As()
83 SkPoint ValueTraits<VectorValue>::As<SkPoint>(const VectorValue& vec) { in As()
92 SkSize ValueTraits<VectorValue>::As<SkSize>(const VectorValue& vec) { in As()
281 VectorValue color_vec; in FromJSON()
282 if (!ValueTraits<VectorValue>::FromJSON(*jcolor, abuilder, &color_vec)) { in FromJSON()
[all …]
DSkottieShapeLayer.cpp51 auto p_attached = abuilder->bindProperty<VectorValue>(jrect["p"], ascope, in AttachRRectGeometry()
52 [adapter](const VectorValue& p) { in AttachRRectGeometry()
53 adapter->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachRRectGeometry()
55 auto s_attached = abuilder->bindProperty<VectorValue>(jrect["s"], ascope, in AttachRRectGeometry()
56 [adapter](const VectorValue& s) { in AttachRRectGeometry()
57 adapter->setSize(ValueTraits<VectorValue>::As<SkSize>(s)); in AttachRRectGeometry()
81 auto p_attached = abuilder->bindProperty<VectorValue>(jellipse["p"], ascope, in AttachEllipseGeometry()
82 [adapter](const VectorValue& p) { in AttachEllipseGeometry()
83 adapter->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in AttachEllipseGeometry()
85 auto s_attached = abuilder->bindProperty<VectorValue>(jellipse["s"], ascope, in AttachEllipseGeometry()
[all …]
DSkottie.cpp67 static const VectorValue g_default_vec_0 = { 0, 0}, in attachMatrix2D()
73 auto bound = this->bindProperty<VectorValue>(t["a"], ascope, in attachMatrix2D()
74 [adapter](const VectorValue& a) { in attachMatrix2D()
75 adapter->setAnchorPoint(ValueTraits<VectorValue>::As<SkPoint>(a)); in attachMatrix2D()
77 bound |= this->bindProperty<VectorValue>(t["p"], ascope, in attachMatrix2D()
78 [adapter](const VectorValue& p) { in attachMatrix2D()
79 adapter->setPosition(ValueTraits<VectorValue>::As<SkPoint>(p)); in attachMatrix2D()
81 bound |= this->bindProperty<VectorValue>(t["s"], ascope, in attachMatrix2D()
82 [adapter](const VectorValue& s) { in attachMatrix2D()
83 adapter->setScale(ValueTraits<VectorValue>::As<SkVector>(s)); in attachMatrix2D()
[all …]
DSkottieAnimator.cpp309 std::function<void(const VectorValue&)>&& apply, in Make()
310 const VectorValue*) { in Make() argument
342 const VectorValue vec = { fX, fY }; in onTick()
350 explicit SplitPointAnimator(std::function<void(const VectorValue&)>&& apply) in SplitPointAnimator()
353 const std::function<void(const VectorValue&)> fApplyFunc;
365 std::function<void(const VectorValue&)>&& apply, in BindSplitPositionProperty()
366 const VectorValue* noop) { in BindSplitPositionProperty()
388 std::function<void(const VectorValue&)>&& apply, in bindProperty()
389 const VectorValue* noop) const { in bindProperty()
DSkottieAdapter.h117 explicit Vec3(const VectorValue&);
172 ADAPTER_PROPERTY(ColorStops, VectorValue , VectorValue() )
DSkottieAdapter.cpp70 TransformAdapter3D::Vec3::Vec3(const VectorValue& v) { in Vec3()
201 const VectorValue rgb({ cs[1], cs[2], cs[3] }); in apply()
203 stops.push_back({ pos, ValueTraits<VectorValue>::As<SkColor>(rgb) }); in apply()
DSkottieValue.h40 using VectorValue = std::vector<ScalarValue>; variable
/external/skia/modules/skottie/src/
DSkottieValue.h25 class VectorValue final : public std::vector<float> {
27 VectorValue() = default;
29 VectorValue(std::initializer_list<float> l) : INHERITED(l) {} in VectorValue() function
DSkottieJson.cpp110 bool Parse<VectorValue>(const Value& v, VectorValue* vec) { in Parse()
DTransform.h91 VectorValue fAnchorPoint,
/external/skia/src/utils/
DSkJSON.h249 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);
/external/skqp/src/utils/
DSkJSON.h243 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> {
/external/skia/modules/skottie/src/animator/
DVectorKeyframeAnimator.cpp38 VectorValue::operator SkV3() const { in operator SkV3()
47 VectorValue::operator SkColor() const { in operator SkColor()
51 VectorValue::operator SkColor4f() const { in operator SkColor4f()
230 bool AnimatablePropertyContainer::bind<VectorValue>(const AnimationBuilder& abuilder, in bind()
232 VectorValue* v) { in bind()
/external/vixl/test/aarch64/
Dtest-utils-aarch64.h59 struct VectorValue { struct
77 bool Equals(const VectorValue<kSizeInBytes>& other) const { in Equals() argument
88 typedef VectorValue<kQRegSizeInBytes> QRegisterValue; argument
89 typedef VectorValue<kZRegMaxSizeInBytes> ZRegisterValue;
90 typedef VectorValue<kPRegMaxSizeInBytes> PRegisterValue;
/external/skia/modules/skottie/src/text/
DTextAnimator.h35 VectorValue position,
DTextValue.cpp138 VectorValue color_vec; in Parse()
/external/skia/modules/skottie/src/effects/
DTintEffect.cpp64 VectorValue fMapBlackTo,
DFillEffect.cpp67 VectorValue fColor;
DTritoneEffect.cpp68 VectorValue fLoColor,
DDropShadowEffect.cpp75 VectorValue fColor = { 0, 0, 0, 1 };
DShadowStyles.cpp107 VectorValue fColor;
DGradientEffect.cpp118 VectorValue fStartColor,
DGlowStyles.cpp133 VectorValue fColor;
/external/skia/modules/skottie/src/layers/shapelayer/
DFillStroke.cpp84 VectorValue fColor;
DGradient.cpp200 VectorValue fStops;

12