Home
last modified time | relevance | path

Searched refs:Interpolation (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/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 ra…
46 ret = Interpolation::GetBezierInterpolation(0.5f, U1, U2, U3, U4); // 0.5f:current change rate;
48 ret = Interpolation::GetBezierInterpolation(0.7f, U1, U2, U3, U4); // 0.7f:current change rate;
50 ret = Interpolation::GetBezierInterpolation(0.9f, U1, U2, U3, U4); // 0.9f:current change rate;
62 float ret = Interpolation::GetBezierY(0.2f, U1, U2, U3, U4); // 0.2f:current change rate;
64 ret = Interpolation::GetBezierY(0.5f, U1, U2, U3, U4); // 0.5f:current change rate;
66 ret = Interpolation::GetBezierY(0.7f, U1, U2, U3, U4); // 0.7f:current change rate;
68 ret = Interpolation::GetBezierY(0.9f, U1, U2, U3, U4); // 0.9f:current change rate;
/ohos5.0/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)
/ohos5.0/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_… 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()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Danimation_track_component.h39 enum class Interpolation : uint8_t { enum
55 DEFINE_PROPERTY(Interpolation, interpolationMode, "Interpolation Mode", 0, )
/ohos5.0/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()
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/haptic_matcher/src/
H A Dcustom_vibration_matcher.cpp268 int32_t intensity = Interpolation(curveRight[j - 1].time, curveRight[j].time, in MergeCurve()
270 int32_t frequency = Interpolation(curveRight[j - 1].time, curveRight[j].time, in MergeCurve()
277 int32_t intensity = Interpolation(curveLeft[i - 1].time, curveLeft[i].time, in MergeCurve()
279 int32_t frequency = Interpolation(curveLeft[i - 1].time, curveLeft[i].time, in MergeCurve()
333 …nextIntensity = Interpolation(curve[i - 1].time, curve[i].time, curve[i - 1].intensity, curve[i].i… in ProcessContinuousEvent()
335 …nextFrequency = Interpolation(curve[i - 1].time, curve[i].time, curve[i - 1].frequency, curve[i].f… in ProcessContinuousEvent()
407 int32_t CustomVibrationMatcher::Interpolation(int32_t x1, int32_t x2, int32_t y1, int32_t y2, int32… in Interpolation() function in OHOS::Sensors::CustomVibrationMatcher
/ohos5.0/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: {
348 case AnimationTrackComponent::Interpolation::LINEAR: {
354 case AnimationTrackComponent::Interpolation::SPLINE: {
385 if (interpolation.mode == AnimationTrackComponent::Interpolation::SPLINE) { in AnimateArray()
409 if (interpolation.mode == AnimationTrackComponent::Interpolation::STEP) { in AnimateArray()
1236 … (trackHandle->interpolationMode == AnimationTrackComponent::Interpolation::SPLINE) ? 3U : 1U; in AnimateTracks()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/animator/
H A Dinterpolation.h47 class Interpolation : public HeapBase {
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_radio_button.cpp170Interpolation::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… 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… in Callback()
H A Dui_checkbox.cpp207 …float coefficient = Interpolation::GetBezierY(x, BEZIER_CONTROL_POINT_X_1, 0, BEZIER_CONTROL_POINT… in Callback()
H A Dui_abstract_scroll.cpp76Interpolation::GetBezierY(bezielY / OPA_OPAQUE, BEZIER_CONTROL_POINT_X_1, 0, BEZIER_CONTROL_POINT_… in Callback()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-svg-animate.md31Interpolation mode of the animation.<br>**discrete**: The animation directly jumps from the value …
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-graphics-display.md397 .overlay("Interpolation.None", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
403 .overlay("Interpolation.Low", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
413 .overlay("Interpolation.Medium", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
419 .overlay("Interpolation.High", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/haptic_matcher/include/
H A Dcustom_vibration_matcher.h39 static int32_t Interpolation(int32_t x1, int32_t x2, int32_t y1, int32_t y2, int32_t x);
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-graphics-display.md350 ### Using Image Interpolation
366 .overlay("Interpolation.None", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
372 .overlay("Interpolation.Low", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
382 .overlay("Interpolation.Medium", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
388 .overlay("Interpolation.High", { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
H A Darkts-traditional-curve.md6 … traditional curves such as Bezier and step curves. For details, see [Interpolation Calculation](.…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-curve.md1 # @ohos.curves (Interpolation Calculation)
37 | [ICurve](#icurve9) | Interpolation curve. |
92 | [ICurve](#icurve9) | Interpolation curve. |
125 | [ICurve](#icurve9) | Interpolation curve. |
159 | [ICurve](#icurve9) | Interpolation curve. |
289 | [ICurve](#icurve9) | Interpolation curve. |
H A DReadme-EN.md19 - [@ohos.curves (Interpolation Calculation)](js-apis-curve.md)
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp173 GLTF2::AnimationInterpolation GetAnimationInterpolation(AnimationTrackComponent::Interpolation inte… 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 … 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()
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_animation.cpp914 trackHandle->interpolationMode = AnimationTrackComponent::Interpolation::LINEAR; in CreateAnimationTrack()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-image.md170 | value | [ImageInterpolation](#imageinterpolation) | Yes | Interpolation effect of the image.<br…
H A Dts-container-swiper.md158 …g. For curves that are not governed by the **duration** setting, see [Interpolation Calculation](.…

12