/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_value_estimator.cpp | 26 const Quaternion& startValue, const Quaternion& endValue) in Estimate() 28 auto value = startValue; in Estimate() 33 float fraction, const std::shared_ptr<RSFilter>& startValue, const std::shared_ptr<RSFilter>& endValue) in Estimate() 35 if ((startValue == nullptr || !startValue->IsValid()) && (endValue == nullptr || !endValue->IsValid())) { in Estimate() 39 if (startValue == nullptr || !startValue->IsValid()) { in Estimate() 48 if (startValue->GetFilterType() == RSFilter::MATERIAL) { in Estimate() 50 std::static_pointer_cast<RSMaterialFilter>(startValue)->TransformFilter(1.0f - fraction); in Estimate() 53 return startValue * (1. in Estimate() 25 Estimate(float fraction, const Quaternion& startValue, const Quaternion& endValue) Estimate() argument 32 Estimate( float fraction, const std::shared_ptr<RSFilter>& startValue, const std::shared_ptr<RSFilter>& endValue) Estimate() argument [all...] |
H A D | rs_render_transition_effect.cpp | 165 float startValue(1.0f); in UpdateFraction() 167 auto value = startValue * (1.0f - fraction) + endValue * fraction; in UpdateFraction() 183 Vector2f startValue(1.0f, 1.0f); in UpdateFraction() 185 auto value = startValue * (1.0f - fraction) + endValue * fraction; in UpdateFraction() 201 Vector2f startValue(0.0f, 0.0f); in UpdateFraction() 203 auto value = startValue * (1.0f - fraction) + endValue * fraction; in UpdateFraction()
|
H A D | rs_render_curve_animation.cpp | 26 const std::shared_ptr<RSRenderPropertyBase>& originValue, const std::shared_ptr<RSRenderPropertyBase>& startValue, in RSRenderCurveAnimation() 28 startValue_(startValue), endValue_(endValue) in RSRenderCurveAnimation() 25 RSRenderCurveAnimation(AnimationId id, const PropertyId& propertyId, const std::shared_ptr<RSRenderPropertyBase>& originValue, const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& endValue) RSRenderCurveAnimation() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_animation_debug_trace_test.cpp | 55 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(0.0f); in HWTEST_F() local 58 NODE_ID, NODE_NAME, PROPERTY_ID, ANIMATION_ID, 0, 0, startValue, endValue, 0, 0, 1); in HWTEST_F() 60 NODE_ID, NODE_NAME, ANIMATION_ID, PROPERTY_ID, 0, startValue, 0, 0, 1); in HWTEST_F() 63 RSAnimationTraceUtils::GetInstance().addSpringInitialVelocityTrace(PROPERTY_ID, ANIMATION_ID, startValue, endValue); in HWTEST_F() 80 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(0.0f); in HWTEST_F() local 83 NODE_ID, NODE_NAME, PROPERTY_ID, ANIMATION_ID, 0, 0, startValue, endValue, 0, 0, 1); in HWTEST_F() 85 NODE_ID, NODE_NAME, ANIMATION_ID, PROPERTY_ID, 0, startValue, 0, 0, 1); in HWTEST_F() 88 RSAnimationTraceUtils::GetInstance().addSpringInitialVelocityTrace(PROPERTY_ID, ANIMATION_ID, startValue, endValue); in HWTEST_F() 106 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(0.0f); in HWTEST_F() local 109 NODE_ID, NODE_NAME, PROPERTY_ID, ANIMATION_ID, 0, 0, startValue, endValu in HWTEST_F() [all...] |
H A D | rs_value_estimator_test.cpp | 48 auto startValue = RSFilter::CreateBlurFilter(1.f, 1.f); in HWTEST_F() local 55 auto filter2 = curveValueEstimator->Estimate(0.0f, startValue, nullptr); in HWTEST_F() 58 auto filter3 = curveValueEstimator->Estimate(0.1f, startValue, endValue); in HWTEST_F() 62 auto filter4 = curveValueEstimator->Estimate(0.1f, startValue, endValue2); in HWTEST_F() 84 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(0.0f); in HWTEST_F() local 88 curveValueEstimator->InitCurveAnimationValue(property, startValue, endValue, lastValue); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_path_animation.cpp | 38 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) in RSPathAnimation() 39 : RSPathAnimation(property, PreProcessPath(path, startValue, endValue)) in RSPathAnimation() 41 startValue_ = startValue; in RSPathAnimation() 318 const std::shared_ptr<RSPropertyBase>& startValue, in PreProcessPath() 321 auto startVector2f = std::static_pointer_cast<RSProperty<Vector2f>>(startValue); in PreProcessPath() 323 if (startValue->GetPropertyType() == RSRenderPropertyType::PROPERTY_VECTOR2F && startVector2f != nullptr && in PreProcessPath() 329 auto startVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(startValue); in PreProcessPath() 331 if (startValue->GetPropertyType() == RSRenderPropertyType::PROPERTY_VECTOR4F && startVector4f != nullptr && in PreProcessPath() 340 void RSPathAnimation::InitNeedPath(const std::shared_ptr<RSPropertyBase>& startValue, in InitNeedPath() argument 343 if (startValue in InitNeedPath() 37 RSPathAnimation(std::shared_ptr<RSPropertyBase> property, const std::string& path, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) RSPathAnimation() argument 317 PreProcessPath(const std::string& path, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const PreProcessPath() argument 363 InitInterpolationVector2f(const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) InitInterpolationVector2f() argument 384 InitInterpolationVector4f(const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) InitInterpolationVector4f() argument 405 UpdateVector2fValueAddOrigin(Vector2f& startValue, Vector2f& endValue, Vector2f& deltaValue) UpdateVector2fValueAddOrigin() argument 411 UpdateVector4fValueAddOrigin(Vector4f& startValue, Vector4f& endValue, Vector4f& deltaValue) UpdateVector4fValueAddOrigin() argument [all...] |
H A D | rs_path_animation.h | 37 const std::shared_ptr<RSPropertyBase>& startValue, 88 const std::shared_ptr<RSPropertyBase>& startValue, 91 void InitNeedPath(const std::shared_ptr<RSPropertyBase>& startValue, 94 bool InitInterpolationVector2f(const std::shared_ptr<RSPropertyBase>& startValue, 97 bool InitInterpolationVector4f(const std::shared_ptr<RSPropertyBase>& startValue, 100 void UpdateVector2fValueAddOrigin(Vector2f& startValue, Vector2f& endValue, Vector2f& deltaValue); 102 void UpdateVector4fValueAddOrigin(Vector4f& startValue, Vector4f& endValue, Vector4f& deltaValue);
|
H A D | rs_implicit_animation_param.h | 69 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 85 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 101 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 103 void AddKeyframe(std::shared_ptr<RSAnimation>& animation, const std::shared_ptr<RSPropertyBase>& startValue, 107 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 123 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 137 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 150 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const; 166 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue);
|
H A D | rs_implicit_animation_param.cpp | 145 std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, in CreateEmptyAnimation() 148 auto curveAnimation = std::make_shared<RSCurveAnimation>(property, endValue - startValue); in CreateEmptyAnimation() 159 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const in CreateAnimation() 161 auto curveAnimation = std::make_shared<RSCurveAnimation>(property, endValue - startValue); in CreateAnimation() 177 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const in CreateAnimation() 186 keyFrameAnimation->SetOriginValue(startValue); in CreateAnimation() 193 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const in AddKeyframe() 206 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const in AddKeyframe() 225 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const in CreateAnimation() 233 std::make_shared<RSPathAnimation>(property, motionPathOption_->GetPath(), startValue, endValu in CreateAnimation() 144 CreateEmptyAnimation( std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const CreateEmptyAnimation() argument 158 CreateAnimation(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const CreateAnimation() argument 175 CreateAnimation( std::shared_ptr<RSPropertyBase> property, const bool& isCreateDurationKeyframe, const int& startDuration, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const CreateAnimation() argument 192 AddKeyframe(std::shared_ptr<RSAnimation>& animation, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const AddKeyframe() argument 205 AddKeyframe(std::shared_ptr<RSAnimation>& animation, const int startDuration, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const AddKeyframe() argument 224 CreateAnimation(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const CreateAnimation() argument 248 CreateAnimation(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const CreateAnimation() argument 264 CreateAnimation( std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const CreateAnimation() argument 293 CreateAnimation(const std::shared_ptr<RSPropertyBase>& property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) CreateAnimation() argument [all...] |
H A D | rs_implicit_animator.cpp | 505 std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, in CreateImplicitAnimation() 513 if (target == nullptr || property == nullptr || startValue == nullptr || endValue == nullptr) { in CreateImplicitAnimation() 529 animation = curveImplicitParam->CreateAnimation(property, startValue, endValue); in CreateImplicitAnimation() 540 startValue, endValue); in CreateImplicitAnimation() 544 keyframeImplicitParam->AddKeyframe(keyframeIter->second, totalDuration, startValue, endValue); in CreateImplicitAnimation() 546 keyframeImplicitParam->AddKeyframe(keyframeIter->second, startValue, endValue); in CreateImplicitAnimation() 553 animation = springImplicitParam->CreateAnimation(property, startValue, endValue); in CreateImplicitAnimation() 564 animation = interpolatingSpringImplicitParam->CreateAnimation(property, startValue, endValue); in CreateImplicitAnimation() 574 animation = pathImplicitParam->CreateAnimation(property, startValue, endValue); in CreateImplicitAnimation() 579 animation = implicitTransitionParam->CreateAnimation(property, startValue, endValu in CreateImplicitAnimation() 504 CreateImplicitAnimation(const std::shared_ptr<RSNode>& target, std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) CreateImplicitAnimation() argument 652 CreateImplicitAnimationWithInitialVelocity(const std::shared_ptr<RSNode>& target, const std::shared_ptr<RSPropertyBase>& property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue, const std::shared_ptr<RSPropertyBase>& velocity) CreateImplicitAnimationWithInitialVelocity() argument [all...] |
H A D | rs_property_animation.cpp | 107 auto startValue = startValue_; in OnUpdateStagingValue() local 110 std::swap(startValue, endValue); in OnUpdateStagingValue() 112 auto byValue = endValue - startValue; in OnUpdateStagingValue() 116 targetValue = startValue; in OnUpdateStagingValue()
|
H A D | rs_curve_animation.cpp | 36 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) in RSCurveAnimation() 40 startValue_ = startValue; in RSCurveAnimation() 35 RSCurveAnimation(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) RSCurveAnimation() argument
|
H A D | rs_interpolating_spring_animation.cpp | 37 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) in RSInterpolatingSpringAnimation() 41 startValue_ = startValue; in RSInterpolatingSpringAnimation() 36 RSInterpolatingSpringAnimation(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) RSInterpolatingSpringAnimation() argument
|
H A D | rs_spring_animation.cpp | 38 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) in RSSpringAnimation() 42 startValue_ = startValue; in RSSpringAnimation() 37 RSSpringAnimation(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) RSSpringAnimation() argument
|
H A D | rs_spring_animation.h | 33 RSSpringAnimation(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue,
|
H A D | rs_interpolating_spring_animation.h | 35 const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue);
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | svg_animate.cpp | 156 T startValue = GetStartValue(originalValue); in CreateDiscreteAnimate() local 157 T endValue = GetEndValue(startValue); in CreateDiscreteAnimate() 158 if (!DiscreteAnimate(animation, originalValue, startValue, endValue)) { in CreateDiscreteAnimate() 181 const RefPtr<KeyframeAnimation<T>>& animation, const T& originalValue, const T& startValue, const T& endValue) in DiscreteAnimate() 183 if (startValue == endValue && startValue == originalValue) { in DiscreteAnimate() 188 CreateKeyframe(animation, startValue, 0.5f, GetCurve()); in DiscreteAnimate() 308 T startValue = GetStartValue(originalValue); in LinearAnimateFromTo() local 309 T endValue = GetEndValue(startValue); in LinearAnimateFromTo() 310 if (startValue in LinearAnimateFromTo() 180 DiscreteAnimate( const RefPtr<KeyframeAnimation<T>>& animation, const T& originalValue, const T& startValue, const T& endValue) DiscreteAnimate() argument 474 T startValue = GetStartValue(originalValue); SplineAnimate() local [all...] |
H A D | svg_animate.h | 129 T GetEndValue(const T& startValue) const in GetEndValue() 138 return startValue + StringUtils::StringToDouble(by_); in GetEndValue() 140 return startValue; in GetEndValue() 145 Color GetEndValue(const Color& startValue) const in GetEndValue() 150 return startValue + Color::FromString(by_); in GetEndValue() 152 return startValue; in GetEndValue() 157 Dimension GetEndValue(const Dimension& startValue) const in GetEndValue() 162 return startValue + StringUtils::StringToDimension(by_); in GetEndValue() 164 return startValue; in GetEndValue() 444 const RefPtr<KeyframeAnimation<T>>& animation, const T& originalValue, const T& startValue, cons [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/ |
H A D | rsanimationbase_fuzzer.cpp | 212 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); in RSAnimationTraceUtilsFuzzerTest() local 223 nodeId, nodeName, propertyId, animationId, animationType, propertyType, startValue, endValue, in RSAnimationTraceUtilsFuzzerTest() 313 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); in RSRenderCurveAnimationFuzzerTest() local 319 animationId, propertyId, property, startValue, endValue); in RSRenderCurveAnimationFuzzerTest() 361 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); in RSRenderInterpolatingSpringAnimationFuzzerTest() local 372 animationId, propertyId, property, startValue, endValue); in RSRenderInterpolatingSpringAnimationFuzzerTest() 390 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); in RSRenderKeyframeAnimationFuzzerTest() local 403 animation->AddKeyframe(fraction, startValue, interpolator); in RSRenderKeyframeAnimationFuzzerTest() 404 keyframes.push_back({ fraction, startValue, interpolator }); in RSRenderKeyframeAnimationFuzzerTest() 406 animation->AddKeyframe(startDuration, endDuration, startValue, interpolato in RSRenderKeyframeAnimationFuzzerTest() 422 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); RSRenderPathAnimationFuzzerTest() local 460 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); RSCurveValueEstimatorFuzzerTest() local 482 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); RSKeyframeValueEstimatorFuzzerTest() local 507 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); RSSpringValueEstimatorFuzzerTest() local 602 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); RSRenderTransitionEffectFuzzerTest() local 644 auto startValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); RSRenderSpringAnimationFuzzerTest() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_value_estimator.h | 42 T Estimate(float fraction, const T& startValue, const T& endValue) in Estimate() argument 44 return startValue * (1.0f - fraction) + endValue * fraction; in Estimate() 47 Quaternion Estimate(float fraction, const Quaternion& startValue, const Quaternion& endValue); 50 float fraction, const std::shared_ptr<RSFilter>& startValue, const std::shared_ptr<RSFilter>& endValue); 64 const std::shared_ptr<RSRenderPropertyBase>& startValue, in InitCurveAnimationValue() 88 const std::shared_ptr<RSRenderPropertyBase>& startValue, 93 auto animatableStartValue = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(startValue); 323 const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& endValue, in InitRSSpringValueEstimator() 327 const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& lastValue) in UpdateStartValueAndLastValue() 401 const std::shared_ptr<RSRenderPropertyBase>& startValue, cons 63 InitCurveAnimationValue(const std::shared_ptr<RSRenderPropertyBase>& property, const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& endValue, const std::shared_ptr<RSRenderPropertyBase>& lastValue) InitCurveAnimationValue() argument 322 InitRSSpringValueEstimator(const std::shared_ptr<RSRenderPropertyBase>& property, const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& endValue, const std::shared_ptr<RSRenderPropertyBase>& lastValue) InitRSSpringValueEstimator() argument 326 UpdateStartValueAndLastValue( const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& lastValue) UpdateStartValueAndLastValue() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/ |
H A D | rs_path_animation_test.cpp | 212 auto startValue = std::make_shared<RSPropertyBase>(); in HWTEST_F() local 218 rsPathAnimation.PreProcessPath(path, startValue, endValue); in HWTEST_F() 231 auto startValue = std::make_shared<RSPropertyBase>(); in HWTEST_F() local 237 rsPathAnimation.InitNeedPath(startValue, endValue); in HWTEST_F() 250 auto startValue = std::make_shared<RSPropertyBase>(); in HWTEST_F() local 256 bool res = rsPathAnimation.InitInterpolationVector2f(startValue, endValue); in HWTEST_F() 270 auto startValue = std::make_shared<RSPropertyBase>(); in HWTEST_F() local 276 bool res = rsPathAnimation.InitInterpolationVector4f(startValue, endValue); in HWTEST_F()
|
H A D | rs_implicit_animation_param_test.cpp | 166 auto startValue = std::make_shared<RSAnimatableProperty<float>>(100.f); in HWTEST_F() local 169 animationParam->AddKeyframe(animation, startDuration, startValue, endValue); in HWTEST_F() 173 animationParam->AddKeyframe(animation1, startDuration, startValue, endValue); in HWTEST_F()
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_picker_unit_test.cpp | 158 const int16_t startValue= 0; in HWTEST_F() local 162 picker_->SetValues(startValue, endValue); in HWTEST_F() 167 picker_->SetValues(startValue, endValue); in HWTEST_F()
|
/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | range_test.cpp | 57 int64_t* startValue = new (std::nothrow) int64_t [1]{0};
in SaveStart() local 58 EXPECT_NE(nullptr, startValue);
in SaveStart() 59 startTensor->SetBuffer(startValue, sizeof(int64_t));
in SaveStart() 195 float* startValue = new (std::nothrow) float [1]{0.0f};
in HWTEST_F() local 196 EXPECT_NE(nullptr, startValue);
in HWTEST_F() 197 startTensor->SetBuffer(startValue, sizeof(float));
in HWTEST_F() 379 int64_t startValue = 0;
in HWTEST_F() local 388 EXPECT_EQ(returnStartValue, startValue);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_animation_supplement_test.cpp | 322 std::shared_ptr<RSPropertyBase> startValue = std::make_shared<RSAnimatableProperty<float>>(2.f); in HWTEST_F() local 324 implicitAnimator->CreateImplicitAnimation(node, property, startValue, endValue); in HWTEST_F() 328 implicitAnimator->CreateImplicitAnimation(node, property, startValue, endValue); in HWTEST_F() 336 implicitAnimator->CreateImplicitAnimation(node, property, startValue, endValue); in HWTEST_F() 338 implicitAnimator->CreateImplicitAnimation(node, property, startValue, endValue); in HWTEST_F() 353 const std::shared_ptr<RSPropertyBase>& startValue, in RSPathAnimationMock() 355 : RSPathAnimation(property, path, startValue, endValue) {} in RSPathAnimationMock() 436 auto startValue = std::make_shared<RSAnimatableProperty<Vector4f>>(startData); in HWTEST_F() local 439 auto animation2 = std::make_shared<RSPathAnimationMock>(property, "abc", startValue, endValue); in HWTEST_F() 524 auto startValue in HWTEST_F() local 352 RSPathAnimationMock(std::shared_ptr<RSPropertyBase> property, const std::string& path, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) RSPathAnimationMock() argument 552 auto startValue = std::make_shared<RSAnimatableProperty<Vector4f>>(startData); HWTEST_F() local 806 auto startValue = std::make_shared<RSAnimatableProperty<Vector4f>>(startData); HWTEST_F() local 848 auto startValue = std::make_shared<RSAnimatableProperty<Vector2f>>(startData); HWTEST_F() local 898 auto startValue = std::make_shared<RSAnimatableProperty<Vector2f>>(startData); HWTEST_F() local 923 RSSpringAnimationMock(std::shared_ptr<RSPropertyBase> property, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) RSSpringAnimationMock() argument [all...] |