Home
last modified time | relevance | path

Searched refs:TimedItem (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/animation/
DTimedItemCalculationsTest.cpp49 …EXPECT_TRUE(isNull(calculateActiveTime(20, 0, TimedItem::PhaseActive, TimedItem::PhaseBefore, timi… in TEST()
51 …EXPECT_TRUE(isNull(calculateActiveTime(20, 0, TimedItem::PhaseActive, TimedItem::PhaseBefore, timi… in TEST()
53 … EXPECT_EQ(0, calculateActiveTime(20, 0, TimedItem::PhaseActive, TimedItem::PhaseBefore, timing)); in TEST()
55 … EXPECT_EQ(0, calculateActiveTime(20, 0, TimedItem::PhaseActive, TimedItem::PhaseBefore, timing)); in TEST()
61 …EXPECT_TRUE(isNull(calculateActiveTime(20, 15, TimedItem::PhaseBefore, TimedItem::PhaseActive, tim… in TEST()
63 …EXPECT_TRUE(isNull(calculateActiveTime(20, 15, TimedItem::PhaseBefore, TimedItem::PhaseActive, tim… in TEST()
66 …EXPECT_TRUE(isNull(calculateActiveTime(20, 15, TimedItem::PhaseAfter, TimedItem::PhaseActive, timi… in TEST()
68 …EXPECT_TRUE(isNull(calculateActiveTime(20, 15, TimedItem::PhaseAfter, TimedItem::PhaseActive, timi… in TEST()
71 … EXPECT_EQ(5, calculateActiveTime(20, 15, TimedItem::PhaseActive, TimedItem::PhaseActive, timing)); in TEST()
76 … EXPECT_EQ(21, calculateActiveTime(21, 45, TimedItem::PhaseActive, TimedItem::PhaseAfter, timing)); in TEST()
[all …]
DTimedItemCalculations.h48 static inline TimedItem::Phase calculatePhase(double activeDuration, double localTime, const Timing… in calculatePhase()
52 return TimedItem::PhaseNone; in calculatePhase()
54 return TimedItem::PhaseBefore; in calculatePhase()
56 return TimedItem::PhaseAfter; in calculatePhase()
57 return TimedItem::PhaseActive; in calculatePhase()
60 static inline bool isActiveInParentPhase(TimedItem::Phase parentPhase, Timing::FillMode fillMode) in isActiveInParentPhase()
63 case TimedItem::PhaseBefore: in isActiveInParentPhase()
65 case TimedItem::PhaseActive: in isActiveInParentPhase()
67 case TimedItem::PhaseAfter: in isActiveInParentPhase()
75 …ulateActiveTime(double activeDuration, double localTime, TimedItem::Phase parentPhase, TimedItem::… in calculateActiveTime()
[all …]
DTimedItem.h42 class TimedItem; variable
54 class TimedItem : public RefCounted<TimedItem> {
68 …virtual void onEventCondition(const TimedItem*, bool isFirstSample, Phase previousPhase, double pr…
71 virtual ~TimedItem() { } in ~TimedItem()
90 TimedItem(const Timing&, PassOwnPtr<EventDelegate> = nullptr);
121 TimedItem* const m_parent;
DPlayer.h45 static PassRefPtr<Player> create(DocumentTimeline&, TimedItem*);
70 TimedItem* source() { return m_content.get(); } in source()
81 Player(DocumentTimeline&, TimedItem*);
95 RefPtr<TimedItem> m_content;
DTimedItemTest.cpp40 class TestTimedItemEventDelegate : public TimedItem::EventDelegate {
42 …void onEventCondition(const TimedItem* timedItem, bool isFirstSample, TimedItem::Phase previousPha… in onEventCondition()
65 class TestTimedItem : public TimedItem {
75 TimedItem::updateInheritedTime(time); in updateInheritedTime()
104 : TimedItem(specified, adoptPtr(eventDelegate)) in TestTimedItem()
125 EXPECT_EQ(TimedItem::PhaseActive, timedItem->phase()); in TEST()
136 EXPECT_EQ(TimedItem::PhaseActive, timedItem->phase()); in TEST()
147 EXPECT_EQ(TimedItem::PhaseAfter, timedItem->phase()); in TEST()
158 EXPECT_EQ(TimedItem::PhaseAfter, timedItem->phase()); in TEST()
373 EXPECT_EQ(TimedItem::PhaseAfter, timedItem->phase()); in TEST()
[all …]
DTimedItem.cpp39 TimedItem::TimedItem(const Timing& timing, PassOwnPtr<EventDelegate> eventDelegate) in TimedItem() function in WebCore::TimedItem
53 bool TimedItem::updateInheritedTime(double inheritedTime) const in updateInheritedTime()
82 const TimedItem::Phase parentPhase = TimedItem::PhaseActive; in updateInheritedTime()
108 …const TimedItem::Phase localCurrentPhase = calculatePhase(localActiveDuration, localLocalTime, m_s… in updateInheritedTime()
DDocumentTimeline.h46 class TimedItem; variable
67 Player* createPlayer(TimedItem*);
68 Player* play(TimedItem*);
DDocumentTimeline.cpp64 Player* DocumentTimeline::createPlayer(TimedItem* child) in createPlayer()
74 Player* DocumentTimeline::play(TimedItem* child) in play()
180 const TimedItem* timedItem = m_players[i]->source(); in numberOfActiveAnimationsForTesting()
DAnimation.h42 class Animation FINAL : public TimedItem {
94 DEFINE_TYPE_CASTS(Animation, TimedItem, timedItem, timedItem->isAnimation(), timedItem.isAnimation(…
DPlayer.cpp46 PassRefPtr<Player> Player::create(DocumentTimeline& timeline, TimedItem* content) in create()
51 Player::Player(DocumentTimeline& timeline, TimedItem* content) in Player()
DInertAnimation.cpp42 : TimedItem(timing) in InertAnimation()
DInertAnimation.h40 class InertAnimation FINAL : public TimedItem {
DAnimation.cpp48 : TimedItem(timing, eventDelegate) in Animation()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimations.cpp61 bool isEarlierPhase(TimedItem::Phase target, TimedItem::Phase reference) in isEarlierPhase()
63 ASSERT(target != TimedItem::PhaseNone); in isEarlierPhase()
64 ASSERT(reference != TimedItem::PhaseNone); in isEarlierPhase()
68 bool isLaterPhase(TimedItem::Phase target, TimedItem::Phase reference) in isLaterPhase()
70 ASSERT(target != TimedItem::PhaseNone); in isLaterPhase()
71 ASSERT(reference != TimedItem::PhaseNone); in isLaterPhase()
638 const TimedItem* timedItem = iter->value.transition; in calculateTransitionUpdate()
640 …if (timedItem->phase() == TimedItem::PhaseAfter || (!anyTransitionHadAnimateAll && !animationStyle… in calculateTransitionUpdate()
641 …ASSERT(timedItem->phase() == TimedItem::PhaseAfter || !(activeAnimations && activeAnimations->isAn… in calculateTransitionUpdate()
725 …ns::AnimationEventDelegate::onEventCondition(const TimedItem* timedItem, bool isFirstSample, Timed… in onEventCondition()
[all …]
DCSSAnimations.h184 class AnimationEventDelegate FINAL : public TimedItem::EventDelegate {
191 …virtual void onEventCondition(const TimedItem*, bool isFirstSample, TimedItem::Phase previousPhase…
198 class TransitionEventDelegate FINAL : public TimedItem::EventDelegate {
205 …virtual void onEventCondition(const TimedItem*, bool isFirstSample, TimedItem::Phase previousPhase…
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-arm.mk84 third_party/WebKit/Source/core/animation/TimedItem.cpp \
Dwebcore_remaining.target.linux-x86.mk84 third_party/WebKit/Source/core/animation/TimedItem.cpp \
Dwebcore_remaining.target.linux-mips.mk84 third_party/WebKit/Source/core/animation/TimedItem.cpp \
Dwebcore_remaining.target.darwin-arm.mk84 third_party/WebKit/Source/core/animation/TimedItem.cpp \
Dwebcore_remaining.target.darwin-x86.mk84 third_party/WebKit/Source/core/animation/TimedItem.cpp \
Dwebcore_remaining.target.darwin-mips.mk84 third_party/WebKit/Source/core/animation/TimedItem.cpp \
Dcore.gypi598 'animation/TimedItem.cpp',
599 'animation/TimedItem.h',