Home
last modified time | relevance | path

Searched refs:ScalarValue (Results 1 – 25 of 49) sorted by relevance

12

/external/skqp/modules/skottie/src/
DSkottieShapeLayer.cpp59 auto r_attached = abuilder->bindProperty<ScalarValue>(jrect["r"], ascope, in AttachRRectGeometry()
60 [adapter](const ScalarValue& r) { in AttachRRectGeometry()
120 abuilder->bindProperty<ScalarValue>(jstar["pt"], ascope, in AttachPolystarGeometry()
121 [adapter](const ScalarValue& pt) { in AttachPolystarGeometry()
124 abuilder->bindProperty<ScalarValue>(jstar["ir"], ascope, in AttachPolystarGeometry()
125 [adapter](const ScalarValue& ir) { in AttachPolystarGeometry()
128 abuilder->bindProperty<ScalarValue>(jstar["or"], ascope, in AttachPolystarGeometry()
129 [adapter](const ScalarValue& otr) { in AttachPolystarGeometry()
132 abuilder->bindProperty<ScalarValue>(jstar["is"], ascope, in AttachPolystarGeometry()
133 [adapter](const ScalarValue& is) { in AttachPolystarGeometry()
[all …]
DSkottieValue.cpp20 bool ValueTraits<ScalarValue>::FromJSON(const skjson::Value& jv, const internal::AnimationBuilder*, in FromJSON()
21 ScalarValue* v) { in FromJSON()
26 bool ValueTraits<ScalarValue>::CanLerp(const ScalarValue&, const ScalarValue&) { in CanLerp() argument
31 void ValueTraits<ScalarValue>::Lerp(const ScalarValue& v0, const ScalarValue& v1, float t, in Lerp()
32 ScalarValue* result) { in Lerp()
39 SkScalar ValueTraits<ScalarValue>::As<SkScalar>(const ScalarValue& v) { in As()
62 ValueTraits<ScalarValue>::Lerp(v0[i], v1[i], t, &(*result)[i]); in Lerp()
DSkottie.cpp92 bound |= this->bindProperty<ScalarValue>(*jrotation, ascope, in attachMatrix2D()
93 [adapter](const ScalarValue& r) { in attachMatrix2D()
96 bound |= this->bindProperty<ScalarValue>(t["sk"], ascope, in attachMatrix2D()
97 [adapter](const ScalarValue& sk) { in attachMatrix2D()
100 bound |= this->bindProperty<ScalarValue>(t["sa"], ascope, in attachMatrix2D()
101 [adapter](const ScalarValue& sa) { in attachMatrix2D()
141 bound |= this->bindProperty<ScalarValue>(t["rx"], ascope, in attachMatrix3D()
142 [adapter](const ScalarValue& rx) { in attachMatrix3D()
147 bound |= this->bindProperty<ScalarValue>(t["ry"], ascope, in attachMatrix3D()
148 [adapter](const ScalarValue& ry) { in attachMatrix3D()
[all …]
DSkottieAnimator.cpp320 if (!BindPropertyImpl<ScalarValue>((*jprop)["x"], abuilder, &split_animator->fAnimators, in Make()
321 [split_animator_ptr](const ScalarValue& x) { split_animator_ptr->setX(x); }) || in Make()
322 !BindPropertyImpl<ScalarValue>((*jprop)["y"], abuilder, &split_animator->fAnimators, in Make()
323 [split_animator_ptr](const ScalarValue& y) { split_animator_ptr->setY(y); })) { in Make()
346 void setX(const ScalarValue& x) { fX = x; } in setX()
347 void setY(const ScalarValue& y) { fY = y; } in setY()
356 ScalarValue fX = 0,
380 std::function<void(const ScalarValue&)>&& apply, in bindProperty()
381 const ScalarValue* noop) const { in bindProperty()
DSkottieLayerEffect.cpp55 abuilder->bindProperty<ScalarValue>((*opacity_prop)["v"], ascope, in AttachFillLayerEffect()
56 [color_node](const ScalarValue& o) { in AttachFillLayerEffect()
DSkottiePrecompLayer.cpp78 this->bindProperty<ScalarValue>(*time_remap, ascope, in attachPrecompLayer()
79 [raw_mapper, frame_rate](const ScalarValue& t) { in attachPrecompLayer()
DSkottieValue.h39 using ScalarValue = SkScalar; variable
40 using VectorValue = std::vector<ScalarValue>;
/external/skia/modules/skottie/src/animator/
DScalarKeyframeAnimator.cpp22 explicit Builder(ScalarValue* target) : fTarget(target) {} in Builder()
47 ScalarValue* fTarget;
53 ScalarValue* target_value) in ScalarKeyframeAnimator()
66 ScalarValue* fTarget;
74 bool AnimatablePropertyContainer::bind<ScalarValue>(const AnimationBuilder& abuilder, in bind()
76 ScalarValue* v) { in bind()
/external/skia/modules/skottie/tests/
DKeyframe.cpp48 MockProperty<ScalarValue> prop(R"({})"); in DEF_TEST()
52 MockProperty<ScalarValue> prop(R"({ "a": 1, "k": [] })"); in DEF_TEST()
57 MockProperty<ScalarValue> prop(R"({ in DEF_TEST()
77 MockProperty<ScalarValue> prop(R"({ in DEF_TEST()
98 MockProperty<ScalarValue> prop(R"({ in DEF_TEST()
118 MockProperty<ScalarValue> prop(R"({ in DEF_TEST()
/external/skia/modules/skottie/src/effects/
DSphereEffect.cpp333 const auto side = [](ScalarValue s) { in onSync()
343 const auto rotation = [](ScalarValue order, in onSync()
344 ScalarValue x, ScalarValue y, ScalarValue z) { in onSync()
395 ScalarValue fRadius = 0,
403 ScalarValue fLightIntensity = 0,
DLevelsEffect.cpp26 ScalarValue fClipBlack = 1, // 1: clip, 2/3: don't clip
31 ScalarValue fInBlack = 0,
169 ScalarValue fChannel = 1; // 1: RGB, 2: R, 3: G, 4: B, 5: A
DThresholdEffect.cpp65 ScalarValue fLevel = 0;
DTintEffect.cpp66 ScalarValue fAmount = 0;
DFillEffect.cpp68 ScalarValue fOpacity = 1;
DBlackAndWhiteEffect.cpp121 ScalarValue fCoeffs[6];
DTritoneEffect.cpp71 ScalarValue fWeight = 0;
/external/skia/modules/skottie/src/
DTransform.h68 ScalarValue fRotation = 0,
95 ScalarValue fRx = 0,
DSkottieValue.h22 using ScalarValue = SkScalar; variable
DCamera.h40 ScalarValue fZoom = 0;
/external/skia/modules/skottie/src/layers/shapelayer/
DFillStroke.cpp85 ScalarValue fOpacity = 100,
120 std::vector<ScalarValue> fIntervals;
121 ScalarValue fOffset = 0;
DRepeater.cpp150 ScalarValue fCount = 0,
157 ScalarValue fRotation = 0,
DRoundCorners.cpp35 ScalarValue fRadius = 0;
DRectangle.cpp46 ScalarValue fRoundness = 0;
DOffsetPaths.cpp46 ScalarValue fAmount = 0,
/external/skia/modules/skottie/src/text/
DTextAnimator.h43 ScalarValue opacity = 100,

12