Home
last modified time | relevance | path

Searched refs:needStop (Results 1 - 6 of 6) sorted by relevance

/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Didle_time.cpp123 void IdleTime::SetNeedStop(bool needStop) in SetNeedStop() argument
125 needStop_ = needStop; in SetNeedStop()
135 IdleNotifyStatusCallback cb = [this](bool needStop) { in GetIdleNotifyFunc()
136 if (this->GetNeedStop() == needStop) { in GetIdleNotifyFunc()
140 this->SetNeedStop(needStop); in GetIdleNotifyFunc()
141 if (needStop == false) { in GetIdleNotifyFunc()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimator.cpp617 bool needStop = false; in NotifyInterpolator() local
629 needStop = repeatTimesLeft_ == 0 || (scaledDuration_ == 0 && repeatTimesLeft_ != ANIMATION_REPEAT_INFINITE); in NotifyInterpolator()
630 if (needStop) { in NotifyInterpolator()
635 needStop = UpdateRepeatTimesLeftAndCheckFinished(playedLoops); in NotifyInterpolator()
649 float normalizedTime = GetNormalizedTime(playedTime, needStop); in NotifyInterpolator()
652 if (notifyRepeat && !needStop) { in NotifyInterpolator()
658 if (needStop && (fillMode_ == FillMode::NONE || fillMode_ == FillMode::BACKWARDS)) { in NotifyInterpolator()
666 if (needStop && (!IsStopped())) { in NotifyInterpolator()
890 float Animator::GetNormalizedTime(float playedTime, bool needStop) const in GetNormalizedTime()
893 if (needStop) { in GetNormalizedTime()
[all...]
H A Danimator.h240 float GetNormalizedTime(float playedTime, bool needStop) const;
/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Drender_clock.h83 void SetNeedStop(bool needStop) in SetNeedStop() argument
85 needStop_ = needStop; in SetNeedStop()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Didle_time.h40 void SetNeedStop(bool needStop);
/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_animator.cpp278 float Animator::GetNormalizedTime(float playedTime, bool needStop) const in GetNormalizedTime()

Completed in 4 milliseconds