Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Didle_time.cpp117 void IdleTime::SetNeedStop(bool needStop) in SetNeedStop() argument
119 needStop_ = needStop; in SetNeedStop()
129 IdleNotifyStatusCallback cb = [this](bool needStop) { in GetIdleNotifyFunc() argument
130 if (this->GetNeedStop() == needStop) { in GetIdleNotifyFunc()
134 this->SetNeedStop(needStop); in GetIdleNotifyFunc()
135 if (needStop == false) { in GetIdleNotifyFunc()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimator.cpp619 bool needStop = false; in NotifyInterpolator() local
631needStop = repeatTimesLeft_ == 0 || (scaledDuration_ == 0 && repeatTimesLeft_ != ANIMATION_REPEAT_… in NotifyInterpolator()
632 if (needStop) { in NotifyInterpolator()
637 needStop = UpdateRepeatTimesLeftAndCheckFinished(playedLoops); in NotifyInterpolator()
651 float normalizedTime = GetNormalizedTime(playedTime, needStop); in NotifyInterpolator()
654 if (notifyRepeat && !needStop) { in NotifyInterpolator()
660 if (needStop && (fillMode_ == FillMode::NONE || fillMode_ == FillMode::BACKWARDS)) { in NotifyInterpolator()
668 if (needStop && (!IsStopped())) { in NotifyInterpolator()
892 float Animator::GetNormalizedTime(float playedTime, bool needStop) const in GetNormalizedTime()
895 if (needStop) { in GetNormalizedTime()
H A Danimator.h240 float GetNormalizedTime(float playedTime, bool needStop) const;
/ohos5.0/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()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Didle_time.h41 void SetNeedStop(bool needStop);
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_animator.cpp268 float Animator::GetNormalizedTime(float playedTime, bool needStop) const in GetNormalizedTime()