Lines Matching refs:ValueTraits
20 bool ValueTraits<ScalarValue>::FromJSON(const skjson::Value& jv, const internal::AnimationBuilder*, in FromJSON()
26 bool ValueTraits<ScalarValue>::CanLerp(const ScalarValue&, const ScalarValue&) { in CanLerp()
31 void ValueTraits<ScalarValue>::Lerp(const ScalarValue& v0, const ScalarValue& v1, float t, in Lerp()
39 SkScalar ValueTraits<ScalarValue>::As<SkScalar>(const ScalarValue& v) { in As()
44 bool ValueTraits<VectorValue>::FromJSON(const skjson::Value& jv, const internal::AnimationBuilder*, 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()
62 ValueTraits<ScalarValue>::Lerp(v0[i], v1[i], t, &(*result)[i]); 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()
93 const auto pt = ValueTraits::As<SkPoint>(vec); in As()
120 bool ValueTraits<ShapeValue>::FromJSON(const skjson::Value& jv, in FromJSON()
168 bool ValueTraits<ShapeValue>::CanLerp(const ShapeValue& v1, const ShapeValue& v2) { in CanLerp()
184 void ValueTraits<ShapeValue>::Lerp(const ShapeValue& v0, const ShapeValue& v1, float t, in Lerp()
207 SkPath ValueTraits<ShapeValue>::As<SkPath>(const ShapeValue& shape) { in As()
248 bool ValueTraits<TextValue>::FromJSON(const skjson::Value& jv, in FromJSON()
282 if (!ValueTraits<VectorValue>::FromJSON(*jcolor, abuilder, &color_vec)) { in FromJSON()
286 *c = ValueTraits<VectorValue>::As<SkColor>(color_vec); in FromJSON()
301 bool ValueTraits<TextValue>::CanLerp(const TextValue&, const TextValue&) { in CanLerp()
307 void ValueTraits<TextValue>::Lerp(const TextValue& v0, const TextValue&, float, TextValue* result) { in Lerp()