/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_animate_param_ffi.cpp | 36 void ParseCjAnimation(NativeAnimateParam animationValue, AnimationOption& result) in ParseCjAnimation() argument 38 if (animationValue.duration.hasValue) { in ParseCjAnimation() 39 result.SetDuration(animationValue.duration.value); in ParseCjAnimation() 42 if (animationValue.delay.hasValue) { in ParseCjAnimation() 43 result.SetDelay(animationValue.delay.value); in ParseCjAnimation() 46 if (animationValue.iterations.hasValue) { in ParseCjAnimation() 47 result.SetIteration(animationValue.iterations.value); in ParseCjAnimation() 50 if (animationValue.tempo.hasValue) { in ParseCjAnimation() 51 float tempo = animationValue.tempo.value; in ParseCjAnimation() 58 if (animationValue in ParseCjAnimation() [all...] |
H A D | cj_animate_param_ffi.h | 45 void ParseCjAnimation(NativeAnimateParam animationValue, AnimationOption& result);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_value_estimator.h | 106 auto animationValue = GetAnimationValue(fraction, isAdditive); variable 108 property_->Set(animationValue); 115 auto animationValue = interpolationValue; in GetAnimationValue() local 117 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetAnimationValue() 120 return animationValue; in GetAnimationValue() 210 auto animationValue = GetAnimationValue(fraction, isAdditive); variable 212 property_->Set(animationValue); 236 auto animationValue = interpolationValue; in GetAnimationValue() local 238 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetAnimationValue() 241 return animationValue; in GetAnimationValue() 253 auto animationValue = preKeyframeValue; GetDurationKeyframeAnimationValue() local 435 auto animationValue = GetAnimationValue(time, isAdditive); global() variable 451 auto animationValue = currentValue; GetAnimationValue() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_property_animation_test.cpp | 81 auto animationValue = std::make_shared<RSRenderAnimatableProperty<float>>(1.0f); in HWTEST_F() local 84 renderPropertyAnimation->SetPropertyValue(animationValue); in HWTEST_F() 103 auto animationValue = std::make_shared<RSRenderAnimatableProperty<float>>(1.0f); in HWTEST_F() local 106 renderPropertyAnimation->SetPropertyValue(animationValue); in HWTEST_F() 137 auto animationValue = std::make_shared<RSRenderAnimatableProperty<float>>(1.0f); in HWTEST_F() local 140 renderPropertyAnimation->SetAnimationValue(animationValue); in HWTEST_F() 158 auto animationValue = std::make_shared<RSRenderAnimatableProperty<float>>(1.0f); in HWTEST_F() local 161 auto newAnimationValue = renderPropertyAnimation->GetAnimationValue(animationValue); in HWTEST_F() 180 auto animationValue = std::make_shared<RSRenderAnimatableProperty<float>>(1.0f); in HWTEST_F() local 185 renderPropertyAnimation->AttachRenderProperty(animationValue); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_property_animation.cpp | 149 std::shared_ptr<RSRenderPropertyBase> animationValue; in SetAnimationValue() local 151 animationValue = property_->Clone() + (value - lastValue_); in SetAnimationValue() 154 animationValue = value->Clone(); in SetAnimationValue() 157 SetPropertyValue(animationValue); in SetAnimationValue() 163 std::shared_ptr<RSRenderPropertyBase> animationValue; in GetAnimationValue() local 165 animationValue = GetPropertyValue() + (value - lastValue_); in GetAnimationValue() 167 animationValue = value->Clone(); in GetAnimationValue() 171 return animationValue; in GetAnimationValue()
|
H A D | rs_render_path_animation.cpp | 217 auto animationValue = in OnAnimate() local 219 UpdateVector4fPathValue(animationValue, position); in OnAnimate() 220 SetPathValue(animationValue, tangent); in OnAnimate()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_scroller.cpp | 127 auto animationValue = obj->GetProperty("animation"); in ScrollTo() local 128 if (animationValue->IsObject()) { in ScrollTo() 129 auto animationObj = JSRef<JSObject>::Cast(animationValue); in ScrollTo() 140 } else if (animationValue->IsBoolean()) { in ScrollTo() 141 smooth = animationValue->ToBoolean(); in ScrollTo()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_custom_dialog_controller.cpp | 336 const JsiExecutionContext& execContext, const JsiRef<JsiValue>& animationValue, AnimationOption& result) in ParseAnimation() 338 if (animationValue->IsNull() || !animationValue->IsObject()) { in ParseAnimation() 342 JSRef<JSObject> obj = JSRef<JSObject>::Cast(animationValue); in ParseAnimation() 335 ParseAnimation( const JsiExecutionContext& execContext, const JsiRef<JsiValue>& animationValue, AnimationOption& result) ParseAnimation() argument
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | component.cpp | 791 char *animationValue = reinterpret_cast<char *>(ace_malloc(sizeof(char) * (valLength + 1))); in SetAnimationKeyFrames() local 792 if (animationValue == nullptr) { in SetAnimationKeyFrames() 793 HILOG_ERROR(HILOG_MODULE_ACE, "malloc animationValue memory heap failed."); in SetAnimationKeyFrames() 796 if (memcpy_s(animationValue, valLength, itemValue, valLength) != 0) { in SetAnimationKeyFrames() 797 ace_free(animationValue); in SetAnimationKeyFrames() 798 animationValue = nullptr; in SetAnimationKeyFrames() 801 animationValue[valLength] = '\0'; in SetAnimationKeyFrames() 806 valueTo = GetAnimatorValue(animationValue, animatorTo, true); in SetAnimationKeyFrames() 807 valueFrom = GetAnimatorValue(animationValue, animatorFrom, true); in SetAnimationKeyFrames() 809 valueTo = GetAnimatorValue(animationValue, animatorT in SetAnimationKeyFrames() [all...] |