Home
last modified time | relevance | path

Searched refs:currentValue_ (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/test/unittest/svg_animate/
H A Dsvg_animate_test.cpp66 currentValue_ = originValue_; in SvgAnimationMock()
82 mock->currentValue_ = value; in CreatePropertyAnimate()
117 T currentValue_; member in OHOS::Ace::SvgAnimationMock
191 EXPECT_NEAR(flushEventMock->currentValue_, 0.0, CUBIC_ERROR_BOUND);
193 EXPECT_NEAR(flushEventMock->currentValue_, 0.193, CUBIC_ERROR_BOUND);
195 EXPECT_NEAR(flushEventMock->currentValue_, 0.38, CUBIC_ERROR_BOUND);
197 EXPECT_NEAR(flushEventMock->currentValue_, 1.0, CUBIC_ERROR_BOUND);
231 EXPECT_EQ(flushEventMock->currentValue_.GetValue(), 4294049883);
233 EXPECT_EQ(flushEventMock->currentValue_.GetValue(), 4292280470);
267 EXPECT_NEAR(flushEventMock->currentValue_.Value(), 50.0, CUBIC_ERROR_BOUND);
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dkeyframe_animation.cpp37 currentValue_.reset(); in Initialize()
48 if (currentValue_) { in OnAnimationStateChanged()
52 p.property->SetValue(*currentValue_); in OnAnimationStateChanged()
56 currentValue_ = p.property->GetValue().Clone(false); in OnAnimationStateChanged()
73 …const PropertyAnimationState::EvaluationData data { currentValue_, META_ACCESS_PROPERTY_VALUE(From… in Evaluate()
111 p->SetValue(*currentValue_); in OnPropertyChanged()
123 if (currentValue_ && (GetState().IsRunning() || GetState().IsPaused())) { in ProcessOnGet()
124 if (auto result = value.CopyFrom(*currentValue_)) { in ProcessOnGet()
H A Dproperty_animation.cpp37 …const PropertyAnimationState::EvaluationData data { currentValue_, from_, to_, META_ACCESS_PROPERT… in Evaluate()
57 if (currentValue_ && GetState().IsRunning()) { in ProcessOnGet()
58 if (auto result = value.CopyFrom(*currentValue_)) { in ProcessOnGet()
72 currentValue_ = current.Clone(); in ProcessOnSet()
H A Dtrack_animation_state.h48 return currentValue_; in META_BEGIN_NAMESPACE()
93 IAny::Ptr currentValue_; // Latest evaluated value (between trackStart_ and trackEnd_) in META_BEGIN_NAMESPACE() local
H A Dtrack_animation_state.cpp74 if (!(keyframeArray_ && trackStart_ && trackEnd_ && currentValue_)) { in UpdateValid()
99 currentValue_.reset(); in Reset()
116 currentValue_ = trackStart_->Clone(true); in ValidateValues()
H A Dproperty_animation.h52 IAny::Ptr currentValue_; in META_BEGIN_NAMESPACE() local
H A Dkeyframe_animation.h57 IAny::Ptr currentValue_; in META_BEGIN_NAMESPACE() local
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_progress.cpp42 return currentValue_; in GetCurrentValue()
47 currentValue_ = curValue; in SetCurrentValue()
65 ", currentValue = " + std::to_string(currentValue_) + in Dump()
73 jsonObject["currentValue"] = currentValue_; in ToJson()
98 progress->currentValue_ = jsonObject.at("currentValue").get<int32_t>(); in FromJson()
115 if (!parcel.WriteInt32(currentValue_)) { in Marshalling()
130 currentValue_ = parcel.ReadInt32(); in ReadFromParcel()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcurve_animation.h30 : begin_(begin), end_(end), currentValue_(begin) in CurveAnimation()
45 return currentValue_; in GetValue()
103 currentValue_ = begin_; in Calculate()
107 currentValue_ = end_; in Calculate()
110 currentValue_ = evaluator_->Evaluate(begin_, end_, curve->Move(time)); in Calculate()
120 ValueListenable<T>::NotifyListener(currentValue_); in OnNormalizedTimestampChanged()
125 T currentValue_; variable
H A Dkeyframe_animation.h83 return currentValue_; in GetValue()
149 currentValue_ = begin; in Calculate()
153 currentValue_ = end; in Calculate()
169 currentValue_ = evaluator_->Evaluate(begin, end, curve->Move(intervalKeyTime)); in Calculate()
172currentValue_ = evaluator_->Evaluate(begin, end, Curves::EASE->Move(intervalKeyTime)); in Calculate()
178 currentValue_ = end; in Calculate()
188 ValueListenable<T>::NotifyListener(currentValue_); in OnNormalizedTimestampChanged()
191 T currentValue_ {};
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Dstack_property.cpp144 res = currentValue_->CopyFrom(*defaultValue_); in GetValueFromStack()
148 res = currentValue_->CopyFrom(v->GetValue()); in GetValueFromStack()
155 auto mres = m->ProcessOnGet(*currentValue_); in GetValueFromStack()
162 return *currentValue_; in GetValueFromStack()
170 if (!currentValue_) { in RawGetValue()
348 currentValue_ = defaultValue_->Clone(true); in SetInternalAny()
383 currentValue_ = defaultValue_->Clone(false); in ResetValue()
384 SetInternalValue(*currentValue_); in ResetValue()
392 currentValue_ = defaultValue_->Clone(false); in RemoveAll()
393 SetInternalValue(*currentValue_); in RemoveAll()
[all …]
H A Dstack_property.h90 IAny::Ptr currentValue_; in META_BEGIN_NAMESPACE() local
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_progress.h107 int32_t currentValue_ {0};
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Daccessibility_property.cpp710 currentValue_ = currentValue; in SetUserCurrentValue()
715 return currentValue_.has_value(); in HasUserCurrentValue()
720 return currentValue_.value_or(-1); in GetUserCurrentValue()
H A Daccessibility_property.h803 std::optional<int32_t> currentValue_; variable