Lines Matching refs:currentAnimation

91 …const int animTotalCurrentTime = QAbstractAnimationPrivate::get(currentAnimation)->totalCurrentTim…  in atEnd()
94 && currentAnimation == animations.last() in atEnd()
298 QAbstractAnimation *QSequentialAnimationGroup::currentAnimation() const in currentAnimation() function in QSequentialAnimationGroup
301 return d->currentAnimation; in currentAnimation()
329 if (!d->currentAnimation) in updateCurrentTime()
353 if (d->currentAnimation) { in updateCurrentTime()
354 d->currentAnimation->setCurrentTime(newCurrentTime); in updateCurrentTime()
357 …d->currentTime += QAbstractAnimationPrivate::get(d->currentAnimation)->totalCurrentTime - newCurre… in updateCurrentTime()
380 if (!d->currentAnimation) in updateState()
385 d->currentAnimation->stop(); in updateState()
388 if (oldState == d->currentAnimation->state() in updateState()
390 d->currentAnimation->pause(); in updateState()
396 if (oldState == d->currentAnimation->state() in updateState()
398 d->currentAnimation->start(); in updateState()
412 if (state() != Stopped && d->currentAnimation) in updateDirection()
413 d->currentAnimation->setDirection(direction); in updateDirection()
433 currentAnimation = nullptr; in setCurrentAnimation()
439 if (index == currentAnimationIndex && animations.at(index) == currentAnimation) in setCurrentAnimation()
443 if (currentAnimation) in setCurrentAnimation()
444 currentAnimation->stop(); in setCurrentAnimation()
446 currentAnimation = animations.at(index); in setCurrentAnimation()
449 emit q->currentAnimationChanged(currentAnimation); in setCurrentAnimation()
456 if (!currentAnimation || state == QSequentialAnimationGroup::Stopped) in activateCurrentAnimation()
459 currentAnimation->stop(); in activateCurrentAnimation()
462 currentAnimation->setDirection(direction); in activateCurrentAnimation()
465 if (currentAnimation->totalDuration() == -1) in activateCurrentAnimation()
466 connectUncontrolledAnimation(currentAnimation); in activateCurrentAnimation()
468 currentAnimation->start(); in activateCurrentAnimation()
470 currentAnimation->pause(); in activateCurrentAnimation()
476 Q_ASSERT(qobject_cast<QAbstractAnimation *>(q->sender()) == currentAnimation); in _q_uncontrolledAnimationFinished()
481 actualDuration[currentAnimationIndex] = currentAnimation->currentTime(); in _q_uncontrolledAnimationFinished()
483 disconnectUncontrolledAnimation(currentAnimation); in _q_uncontrolledAnimationFinished()
485 if ((direction == QAbstractAnimation::Forward && currentAnimation == animations.last()) in _q_uncontrolledAnimationFinished()
506 if (currentAnimation == nullptr) in animationInsertedAt()
510 && currentAnimation->currentTime() == 0 && currentAnimation->currentLoop() == 0) { in animationInsertedAt()
516 currentAnimationIndex = animations.indexOf(currentAnimation); in animationInsertedAt()
535 if (!currentAnimation) in animationRemoved()
541 const int currentIndex = animations.indexOf(currentAnimation); in animationRemoved()
545 disconnectUncontrolledAnimation(currentAnimation); in animationRemoved()
567 currentTime += QAbstractAnimationPrivate::get(currentAnimation)->totalCurrentTime; in animationRemoved()