Home
last modified time | relevance | path

Searched refs:lastValue (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/
H A Dobserver.js42 const lastValue = this._lastValue;
47 if (nextValue !== lastValue || canObserve(nextValue)) {
48 this._fn.call(context, nextValue, lastValue, meta);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_value_estimator.h66 const std::shared_ptr<RSRenderPropertyBase>& lastValue) {} in InitCurveAnimationValue()
71 const std::shared_ptr<RSRenderPropertyBase>& lastValue) {} in InitKeyframeAnimationValue()
76 const std::shared_ptr<RSRenderPropertyBase>& lastValue) {} in InitDurationKeyframeAnimationValue()
90 const std::shared_ptr<RSRenderPropertyBase>& lastValue) override
95 auto animatableLastValue = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(lastValue);
172 const std::shared_ptr<RSRenderPropertyBase>& lastValue) override
175 auto animatableLastValue = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(lastValue);
191 const std::shared_ptr<RSRenderPropertyBase>& lastValue) override
194 auto animatableLastValue = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(lastValue);
324 const std::shared_ptr<RSRenderPropertyBase>& lastValue) in InitRSSpringValueEstimator()
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
68 InitKeyframeAnimationValue(const std::shared_ptr<RSRenderPropertyBase>& property, std::vector<std::tuple<float, std::shared_ptr<RSRenderPropertyBase>, std::shared_ptr<RSInterpolator>>>& keyframes, const std::shared_ptr<RSRenderPropertyBase>& lastValue) InitKeyframeAnimationValue() argument
73 InitDurationKeyframeAnimationValue(const std::shared_ptr<RSRenderPropertyBase>& property, std::vector<std::tuple<float, float, std::shared_ptr<RSRenderPropertyBase>, std::shared_ptr<RSInterpolator>>>& keyframes, const std::shared_ptr<RSRenderPropertyBase>& lastValue) InitDurationKeyframeAnimationValue() 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/arkui/ace_engine/frameworks/core/animation/
H A Dbilateral_spring_adapter.cpp26 double lastValue = controlNode->GetValue(); in ResetControl() local
48 double ret = controlNode->GetValue() - lastValue; in ResetControl()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_value_estimator_test.cpp86 auto lastValue = std::make_shared<RSRenderAnimatableProperty<float>>(1.0f); in HWTEST_F() local
88 curveValueEstimator->InitCurveAnimationValue(property, startValue, endValue, lastValue); in HWTEST_F()
H A Drs_render_property_animation_test.cpp108 auto lastValue = renderPropertyAnimation->GetLastValue(); in HWTEST_F() local
110 EXPECT_NE(lastValue, nullptr); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp462 auto lastValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); in RSCurveValueEstimatorFuzzerTest() local
466 curveValueEstimator->InitCurveAnimationValue(property, startValue, endValue, lastValue); in RSCurveValueEstimatorFuzzerTest()
484 auto lastValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); in RSKeyframeValueEstimatorFuzzerTest() local
495 keyFrameValueEstimator->InitKeyframeAnimationValue(property, keyframes, lastValue); in RSKeyframeValueEstimatorFuzzerTest()
496 keyFrameValueEstimator->InitDurationKeyframeAnimationValue(property, durationKeyframes, lastValue); in RSKeyframeValueEstimatorFuzzerTest()
509 auto lastValue = std::make_shared<RSRenderAnimatableProperty<float>>(GetData<float>()); in RSSpringValueEstimatorFuzzerTest() local
521 springBaseValueEstimator->InitRSSpringValueEstimator(property, startValue, endValue, lastValue); in RSSpringValueEstimatorFuzzerTest()
522 springBaseValueEstimator->UpdateStartValueAndLastValue(startValue, lastValue); in RSSpringValueEstimatorFuzzerTest()
535 springValueEstimator->InitRSSpringValueEstimator(property, startValue, endValue, lastValue); in RSSpringValueEstimatorFuzzerTest()
536 springValueEstimator->UpdateStartValueAndLastValue(startValue, lastValue); in RSSpringValueEstimatorFuzzerTest()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_spring_animation.cpp344 auto [lastValue, endValue, velocity] = from->GetSpringStatus(); in InheritSpringStatus()
345 if (lastValue == nullptr) { in InheritSpringStatus()
346 ROSEN_LOGD("RSRenderSpringAnimation::InheritSpringStatus, unexpected lastValue null pointer!"); in InheritSpringStatus()
358 startValue_ = lastValue->Clone(); in InheritSpringStatus()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_slider.cpp372 int32_t lastValue = curValue_; in OnRotateEvent() local
380 if (vibratorFunc != nullptr && lastValue != curValue_) { in OnRotateEvent()
385 int32_t changedValue = MATH_ABS(curValue_ - lastValue); in OnRotateEvent()

Completed in 5 milliseconds