Home
last modified time | relevance | path

Searched refs:jprop (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/modules/skottie/src/animator/
DAnimator.cpp51 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()
DVec2KeyframeAnimator.cpp245 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()
DVectorKeyframeAnimator.cpp267 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()
DScalarKeyframeAnimator.cpp109 const skjson::ObjectValue* jprop, in bind() argument
113 return this->bindImpl(abuilder, jprop, builder); in bind()
DTextKeyframeAnimator.cpp127 const skjson::ObjectValue* jprop, in bind() argument
130 return this->bindImpl(abuilder, jprop, builder); in bind()
DShapeKeyframeAnimator.cpp169 const skjson::ObjectValue* jprop, in bind() argument
173 return this->bindImpl(abuilder, jprop, builder); in bind()
/third_party/flutter/skia/modules/skottie/src/
DSkottieAnimator.cpp310 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/
DSkSLEffect.cpp88 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()
DEffects.cpp182 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/
DEffects.cpp128 const skjson::ObjectValue* jprop = jprops[prop_index]; in GetPropValue() local
130 return jprop ? (*jprop)["v"] : kNull; in GetPropValue()
/third_party/skia/modules/skottie/tests/
DKeyframe.cpp25 explicit MockProperty(const char* jprop) { in MockProperty() argument
28 skjson::DOM json_dom(jprop, strlen(jprop)); in MockProperty()