Home
last modified time | relevance | path

Searched refs:Interpolation (Results 1 - 15 of 15) sorted by relevance

/foundation/arkui/ui_lite/test/unittest/animator/
H A Dinterpolation_unit_test.cpp44 float ret = Interpolation::GetBezierInterpolation(0.2f, U1, U2, U3, U4); // 0.2f:current change rate; in HWTEST_F()
46 ret = Interpolation::GetBezierInterpolation(0.5f, U1, U2, U3, U4); // 0.5f:current change rate; in HWTEST_F()
48 ret = Interpolation::GetBezierInterpolation(0.7f, U1, U2, U3, U4); // 0.7f:current change rate; in HWTEST_F()
50 ret = Interpolation::GetBezierInterpolation(0.9f, U1, U2, U3, U4); // 0.9f:current change rate; in HWTEST_F()
62 float ret = Interpolation::GetBezierY(0.2f, U1, U2, U3, U4); // 0.2f:current change rate; in HWTEST_F()
64 ret = Interpolation::GetBezierY(0.5f, U1, U2, U3, U4); // 0.5f:current change rate; in HWTEST_F()
66 ret = Interpolation::GetBezierY(0.7f, U1, U2, U3, U4); // 0.7f:current change rate; in HWTEST_F()
68 ret = Interpolation::GetBezierY(0.9f, U1, U2, U3, U4); // 0.9f:current change rate; in HWTEST_F()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Danimation_track_component_manager.cpp26 DECLARE_PROPERTY_TYPE(AnimationTrackComponent::Interpolation);
28 BEGIN_ENUM(AnimationInterpolationMetaData, AnimationTrackComponent::Interpolation)
29 DECL_ENUM(AnimationTrackComponent::Interpolation, STEP, "Step")
30 DECL_ENUM(AnimationTrackComponent::Interpolation, LINEAR, "Linear")
31 DECL_ENUM(AnimationTrackComponent::Interpolation, SPLINE, "Spline")
32 END_ENUM(AnimationInterpolationMetaData, AnimationTrackComponent::Interpolation)
/foundation/arkui/ui_lite/frameworks/animator/
H A Dinterpolation.cpp22 int16_t Interpolation::GetBezierInterpolation(int16_t t, int16_t u0, int16_t u1, int16_t u2, int16_t u3) in GetBezierInterpolation()
41 float Interpolation::GetBezierInterpolation(float t, float u0, float u1, float u2, float u3) in GetBezierInterpolation()
57 float Interpolation::GetBezierDerivative(float t, float u0, float u1, float u2, float u3) in GetBezierDerivative()
71 float Interpolation::GetBezierY(float x, float x1, float y1, float x2, float y2) in GetBezierY()
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_curve.cpp32 point.x = Interpolation::GetBezierInterpolation(t, start.x, control1.x, control2.x, end.x); in DrawCubicBezier()
33 point.y = Interpolation::GetBezierInterpolation(t, start.y, control1.y, control2.y, end.y); in DrawCubicBezier()
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Danimation_track_component.h39 enum class Interpolation : uint8_t { class
40 /** Interpolation type step */
42 /** Interpolation type linear */
44 /** Interpolation type spline */
55 DEFINE_PROPERTY(Interpolation, interpolationMode, "Interpolation Mode", 0, )
/foundation/arkui/ui_lite/interfaces/kits/animator/
H A Dinterpolation.h47 class Interpolation : public HeapBase { class
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_radio_button.cpp170 Interpolation::GetBezierY(x, SCALE_BEZIER_CONTROL_POINT_X_1, 0, SCALE_BEZIER_CONTROL_POINT_X_2, 1); in Callback()
173 coefficient = Interpolation::GetBezierY(x, ALPHA_BEZIER_CONTROL_POINT_X_1, 0, ALPHA_BEZIER_CONTROL_POINT_X_2, 1); in Callback()
H A Dui_button.cpp323 x = Interpolation::GetBezierY(FULL_SCALE - y, 0, BEZIER_CONTROL, FULL_SCALE, BEZIER_CONTROL); in Start()
348 float offset = Interpolation::GetBezierY(x, BEZIER_CONTROL, 0, BEZIER_CONTROL, FULL_SCALE); in Callback()
H A Dui_toggle_button.cpp127 float coefficient = Interpolation::GetBezierY(x, BEZIER_CONTROL_POINT_X_1, 0, BEZIER_CONTROL_POINT_X_2, 1); in Callback()
H A Dui_checkbox.cpp207 float coefficient = Interpolation::GetBezierY(x, BEZIER_CONTROL_POINT_X_1, 0, BEZIER_CONTROL_POINT_X_2, 1); in Callback()
H A Dui_abstract_scroll.cpp76 Interpolation::GetBezierY(bezielY / OPA_OPAQUE, BEZIER_CONTROL_POINT_X_1, 0, BEZIER_CONTROL_POINT_X_2, 1);
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_system.cpp62 AnimationTrackComponent::Interpolation mode;
303 case AnimationTrackComponent::Interpolation::STEP: in Interpolate()
308 case AnimationTrackComponent::Interpolation::LINEAR: in Interpolate()
312 case AnimationTrackComponent::Interpolation::SPLINE: { in Interpolate()
341 case AnimationTrackComponent::Interpolation::STEP: { in Interpolate()
348 case AnimationTrackComponent::Interpolation::LINEAR: { in Interpolate()
354 case AnimationTrackComponent::Interpolation::SPLINE: { in Interpolate()
385 if (interpolation.mode == AnimationTrackComponent::Interpolation::SPLINE) { in AnimateArray()
409 if (interpolation.mode == AnimationTrackComponent::Interpolation::STEP) { in AnimateArray()
1236 (trackHandle->interpolationMode == AnimationTrackComponent::Interpolation in AnimateTracks()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp173 GLTF2::AnimationInterpolation GetAnimationInterpolation(AnimationTrackComponent::Interpolation interpolation) in GetAnimationInterpolation()
176 case AnimationTrackComponent::Interpolation::STEP: in GetAnimationInterpolation()
178 case AnimationTrackComponent::Interpolation::LINEAR: in GetAnimationInterpolation()
180 case AnimationTrackComponent::Interpolation::SPLINE: in GetAnimationInterpolation()
H A Dgltf2_importer.cpp1317 AnimationTrackComponent::Interpolation ConvertAnimationInterpolation(GLTF2::AnimationInterpolation mode) in ConvertAnimationInterpolation()
1324 return AnimationTrackComponent::Interpolation::STEP; in ConvertAnimationInterpolation()
1326 return AnimationTrackComponent::Interpolation::LINEAR; in ConvertAnimationInterpolation()
1328 return AnimationTrackComponent::Interpolation::SPLINE; in ConvertAnimationInterpolation()
1333 return AnimationTrackComponent::Interpolation::LINEAR; in ConvertAnimationInterpolation()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_animation.cpp914 trackHandle->interpolationMode = AnimationTrackComponent::Interpolation::LINEAR; in CreateAnimationTrack()

Completed in 18 milliseconds