/ohos5.0/foundation/arkui/ui_lite/test/unittest/animator/ |
H A D | interpolation_unit_test.cpp | 44 …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 D | animation_track_component_manager.cpp | 26 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 D | interpolation.cpp | 22 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 D | animation_track_component.h | 39 enum class Interpolation : uint8_t { enum 55 DEFINE_PROPERTY(Interpolation, interpolationMode, "Interpolation Mode", 0, )
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_curve.cpp | 32 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 D | custom_vibration_matcher.cpp | 268 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 D | animation_system.cpp | 62 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 D | interpolation.h | 47 class Interpolation : public HeapBase {
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_radio_button.cpp | 170 …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… in Callback()
|
H A D | ui_button.cpp | 323 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 D | ui_toggle_button.cpp | 127 …float coefficient = Interpolation::GetBezierY(x, BEZIER_CONTROL_POINT_X_1, 0, BEZIER_CONTROL_POINT… in Callback()
|
H A D | ui_checkbox.cpp | 207 …float coefficient = Interpolation::GetBezierY(x, BEZIER_CONTROL_POINT_X_1, 0, BEZIER_CONTROL_POINT… in Callback()
|
H A D | ui_abstract_scroll.cpp | 76 …Interpolation::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 D | js-components-svg-animate.md | 31 …Interpolation mode of the animation.<br>**discrete**: The animation directly jumps from the value …
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-graphics-display.md | 397 .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 D | custom_vibration_matcher.h | 39 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 D | arkts-graphics-display.md | 350 ### 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 D | arkts-traditional-curve.md | 6 … traditional curves such as Bezier and step curves. For details, see [Interpolation Calculation](.…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-curve.md | 1 # @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 D | Readme-EN.md | 19 - [@ohos.curves (Interpolation Calculation)](js-apis-curve.md)
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_exporter.cpp | 173 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 D | gltf2_importer.cpp | 1317 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 D | ecs_animation.cpp | 914 trackHandle->interpolationMode = AnimationTrackComponent::Interpolation::LINEAR; in CreateAnimationTrack()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-image.md | 170 | value | [ImageInterpolation](#imageinterpolation) | Yes | Interpolation effect of the image.<br…
|
H A D | ts-container-swiper.md | 158 …g. For curves that are not governed by the **duration** setting, see [Interpolation Calculation](.…
|