Home
last modified time | relevance | path

Searched refs:jprop (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/modules/skottie/src/animator/
H A DAnimator.cpp51 const skjson::ObjectValue* jprop, in bindImpl()
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()
50 bindImpl(const AnimationBuilder& abuilder, const skjson::ObjectValue* jprop, AnimatorBuilder& builder) bindImpl() argument
H A DVec2KeyframeAnimator.cpp245 const skjson::ObjectValue* jprop, in bindAutoOrientable()
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()
267 return this->bindAutoOrientable(abuilder, jprop, v, nullptr); in bind()
244 bindAutoOrientable(const AnimationBuilder& abuilder, const skjson::ObjectValue* jprop, Vec2Value* v, float* orientation) bindAutoOrientable() argument
264 bind(const AnimationBuilder& abuilder, const skjson::ObjectValue* jprop, Vec2Value* v) bind() argument
H A DVectorKeyframeAnimator.cpp267 const skjson::ObjectValue* jprop, in bind()
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()
266 bind(const AnimationBuilder& abuilder, const skjson::ObjectValue* jprop, VectorValue* v) bind() argument
H A DTextKeyframeAnimator.cpp127 const skjson::ObjectValue* jprop, in bind()
130 return this->bindImpl(abuilder, jprop, builder); in bind()
126 bind(const AnimationBuilder& abuilder, const skjson::ObjectValue* jprop, TextValue* v) bind() argument
H A DScalarKeyframeAnimator.cpp109 const skjson::ObjectValue* jprop, in bind()
113 return this->bindImpl(abuilder, jprop, builder); in bind()
108 bind(const AnimationBuilder& abuilder, const skjson::ObjectValue* jprop, ScalarValue* v) bind() argument
H A DShapeKeyframeAnimator.cpp169 const skjson::ObjectValue* jprop, in bind()
173 return this->bindImpl(abuilder, jprop, builder); in bind()
168 bind(const AnimationBuilder& abuilder, const skjson::ObjectValue* jprop, ShapeValue* v) bind() argument
/third_party/skia/modules/skottie/src/effects/
H A 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()
H A DEffects.cpp182 const skjson::ObjectValue* jprop = jprops[prop_index]; in GetPropValue() local
184 return jprop ? (*jprop)["v"] : kNull; in GetPropValue()
/third_party/skia/modules/skottie/tests/
H A DKeyframe.cpp25 explicit MockProperty(const char* jprop) { in MockProperty() argument
28 skjson::DOM json_dom(jprop, strlen(jprop)); in MockProperty()

Completed in 4 milliseconds