/third_party/skia/modules/skottie/src/animator/ |
D | Animator.cpp | 51 const skjson::ObjectValue* jprop, in bindImpl() argument 53 if (!jprop) { in bindImpl() 57 const auto& jpropA = (*jprop)["a"]; in bindImpl() 58 const auto& jpropK = (*jprop)["k"]; in bindImpl() 61 if (const skjson::StringValue* expr = (*jprop)["x"]) { in bindImpl() 63 abuilder.log(Logger::Level::kWarning, jprop, in bindImpl() 86 abuilder.log(Logger::Level::kError, jprop, in bindImpl() 100 abuilder.log(Logger::Level::kError, jprop, "Could not parse keyframed property."); in bindImpl()
|
D | Vec2KeyframeAnimator.cpp | 245 const skjson::ObjectValue* jprop, in bindAutoOrientable() argument 247 if (!jprop) { in bindAutoOrientable() 251 if (!ParseDefault<bool>((*jprop)["s"], false)) { in bindAutoOrientable() 254 return this->bindImpl(abuilder, jprop, builder); in bindAutoOrientable() 258 bool boundX = this->bind(abuilder, (*jprop)["x"], &v->x); in bindAutoOrientable() 259 bool boundY = this->bind(abuilder, (*jprop)["y"], &v->y); in bindAutoOrientable() 265 const skjson::ObjectValue* jprop, in bind() argument 267 return this->bindAutoOrientable(abuilder, jprop, v, nullptr); in bind()
|
D | VectorKeyframeAnimator.cpp | 267 const skjson::ObjectValue* jprop, in bind() argument 269 if (!jprop) { in bind() 273 if (!ParseDefault<bool>((*jprop)["s"], false)) { in bind() 290 return this->bindImpl(abuilder, jprop, builder); in bind() 295 bool boundX = this->bind(abuilder, (*jprop)["x"], v->data() + 0); in bind() 296 bool boundY = this->bind(abuilder, (*jprop)["y"], v->data() + 1); in bind() 297 bool boundZ = this->bind(abuilder, (*jprop)["z"], v->data() + 2); in bind()
|
D | ScalarKeyframeAnimator.cpp | 109 const skjson::ObjectValue* jprop, in bind() argument 113 return this->bindImpl(abuilder, jprop, builder); in bind()
|
D | TextKeyframeAnimator.cpp | 127 const skjson::ObjectValue* jprop, in bind() argument 130 return this->bindImpl(abuilder, jprop, builder); in bind()
|
D | ShapeKeyframeAnimator.cpp | 169 const skjson::ObjectValue* jprop, in bind() argument 173 return this->bindImpl(abuilder, jprop, builder); in bind()
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieAnimator.cpp | 310 static inline bool BindPropertyImpl(const skjson::ObjectValue* jprop, in BindPropertyImpl() argument 315 if (!jprop) return false; in BindPropertyImpl() 317 const auto& jpropA = (*jprop)["a"]; in BindPropertyImpl() 318 const auto& jpropK = (*jprop)["k"]; in BindPropertyImpl() 320 if (!(*jprop)["x"].is<skjson::NullValue>()) { in BindPropertyImpl() 338 abuilder->log(Logger::Level::kError, jprop, in BindPropertyImpl() 348 abuilder->log(Logger::Level::kError, jprop, "Could not parse keyframed property."); in BindPropertyImpl() 359 static sk_sp<SplitPointAnimator> Make(const skjson::ObjectValue* jprop, in Make() argument 363 if (!jprop) return nullptr; in Make() 371 if (!BindPropertyImpl<ScalarValue>((*jprop)["x"], abuilder, &split_animator->fAnimators, in Make() [all …]
|
/third_party/skia/modules/skottie/src/effects/ |
D | SkSLEffect.cpp | 88 const skjson::ObjectValue* jprop = jprops[i]; in SkSLEffectAdapter() local 89 if (!jprop) { continue; } in SkSLEffectAdapter() 90 const skjson::StringValue* uniformName = (*jprop)["nm"]; in SkSLEffectAdapter() 96 this->bind(abuilder, (*jprop)["v"], std::get<1>(fUniforms.back()).get()); in SkSLEffectAdapter()
|
D | Effects.cpp | 182 const skjson::ObjectValue* jprop = jprops[prop_index]; in GetPropValue() local 184 return jprop ? (*jprop)["v"] : kNull; in GetPropValue()
|
/third_party/flutter/skia/modules/skottie/src/effects/ |
D | Effects.cpp | 128 const skjson::ObjectValue* jprop = jprops[prop_index]; in GetPropValue() local 130 return jprop ? (*jprop)["v"] : kNull; in GetPropValue()
|
/third_party/skia/modules/skottie/tests/ |
D | Keyframe.cpp | 25 explicit MockProperty(const char* jprop) { in MockProperty() argument 28 skjson::DOM json_dom(jprop, strlen(jprop)); in MockProperty()
|