Home
last modified time | relevance | path

Searched refs:timedItem (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/animation/
DTimedItemTest.cpp42 …void onEventCondition(const TimedItem* timedItem, bool isFirstSample, TimedItem::Phase previousPha… in onEventCondition() argument
45 m_phaseChanged = previousPhase != timedItem->phase(); in onEventCondition()
46 m_iterationChanged = previousIteration != timedItem->currentIteration(); in onEventCondition()
119 RefPtr<TestTimedItem> timedItem = TestTimedItem::create(timing); in TEST() local
121 EXPECT_EQ(0, timedItem->startTime()); in TEST()
123 timedItem->updateInheritedTime(0); in TEST()
125 EXPECT_EQ(TimedItem::PhaseActive, timedItem->phase()); in TEST()
126 EXPECT_TRUE(timedItem->isInPlay()); in TEST()
127 EXPECT_TRUE(timedItem->isCurrent()); in TEST()
128 EXPECT_TRUE(timedItem->isInEffect()); in TEST()
[all …]
DAnimation.h94 DEFINE_TYPE_CASTS(Animation, TimedItem, timedItem, timedItem->isAnimation(), timedItem.isAnimation(…
DDocumentTimeline.cpp180 const TimedItem* timedItem = m_players[i]->source(); in numberOfActiveAnimationsForTesting() local
182 count += (timedItem && (timedItem->isCurrent() || timedItem->isInEffect())); in numberOfActiveAnimationsForTesting()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimations.cpp638 const TimedItem* timedItem = iter->value.transition; in calculateTransitionUpdate() local
640 …if (timedItem->phase() == TimedItem::PhaseAfter || (!anyTransitionHadAnimateAll && !animationStyle… in calculateTransitionUpdate()
641 …ASSERT(timedItem->phase() == TimedItem::PhaseAfter || !(activeAnimations && activeAnimations->isAn… in calculateTransitionUpdate()
725 void CSSAnimations::AnimationEventDelegate::onEventCondition(const TimedItem* timedItem, bool isFir… in onEventCondition() argument
731 const TimedItem::Phase currentPhase = timedItem->phase(); in onEventCondition()
732 const double currentIteration = timedItem->currentIteration(); in onEventCondition()
742 ASSERT(timedItem->specified().hasIterationDuration); in onEventCondition()
743 … const double elapsedTime = timedItem->specified().iterationDuration * (previousIteration + 1); in onEventCondition()
748 ASSERT(timedItem->specified().startDelay > 0 || isFirstSample); in onEventCondition()
755 …maybeDispatch(Document::ANIMATIONEND_LISTENER, EventTypeNames::animationend, timedItem->activeDura… in onEventCondition()
[all …]