Home
last modified time | relevance | path

Searched refs:playbackRate (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/animation/
DTimingInput.cpp68 void TimingInput::setPlaybackRate(Timing& timing, double playbackRate) in setPlaybackRate() argument
70 if (std::isfinite(playbackRate)) in setPlaybackRate()
71 timing.playbackRate = playbackRate; in setPlaybackRate()
73 timing.playbackRate = Timing::defaults().playbackRate; in setPlaybackRate()
129 double playbackRate = Timing::defaults().playbackRate; in convert() local
130 DictionaryHelper::get(timingInputDictionary, "playbackRate", playbackRate); in convert()
131 setPlaybackRate(result, playbackRate); in convert()
DTimingInputTest.cpp120 EXPECT_EQ(2.1, applyTimingInputNumber("playbackRate", 2.1).playbackRate); in TEST_F()
121 EXPECT_EQ(-1, applyTimingInputNumber("playbackRate", -1).playbackRate); in TEST_F()
122 EXPECT_EQ(1, applyTimingInputString("playbackRate", "Infinity").playbackRate); in TEST_F()
123 EXPECT_EQ(1, applyTimingInputString("playbackRate", "-Infinity").playbackRate); in TEST_F()
124 EXPECT_EQ(1, applyTimingInputString("playbackRate", "NaN").playbackRate); in TEST_F()
125 EXPECT_EQ(1, applyTimingInputString("playbackRate", "rubbish").playbackRate); in TEST_F()
176 EXPECT_EQ(controlTiming.playbackRate, updatedTiming.playbackRate); in TEST_F()
DAnimationPlayer.cpp195 …bool softChange = m_compositorState && (paused() || m_compositorState->playbackRate != m_playbackR… in preCommit()
256 …if (paused() || m_compositorState->playbackRate != m_playbackRate || m_compositorState->sourceChan… in notifyCompositorStartTime()
532 double AnimationPlayer::playbackRate() const in playbackRate() function in blink::AnimationPlayer
538 void AnimationPlayer::setPlaybackRate(double playbackRate) in setPlaybackRate() argument
541 if (!std::isfinite(playbackRate)) in setPlaybackRate()
543 if (playbackRate == m_playbackRate) in setPlaybackRate()
546 setPlaybackRateInternal(playbackRate); in setPlaybackRate()
549 void AnimationPlayer::setPlaybackRateInternal(double playbackRate) in setPlaybackRateInternal() argument
551 ASSERT(std::isfinite(playbackRate)); in setPlaybackRateInternal()
552 ASSERT(playbackRate != m_playbackRate); in setPlaybackRateInternal()
[all …]
DTiming.h69 , playbackRate(1) in Timing()
83 ASSERT(std::isfinite(playbackRate)); in assertValid()
93 double playbackRate; member
DAnimationNodeTiming.cpp80 double AnimationNodeTiming::playbackRate() in playbackRate() function in blink::AnimationNodeTiming
82 return m_parent->specifiedTiming().playbackRate; in playbackRate()
152 void AnimationNodeTiming::setPlaybackRate(double playbackRate) in setPlaybackRate() argument
155 TimingInput::setPlaybackRate(timing, playbackRate); in setPlaybackRate()
DAnimationNode.cpp82 const double result = m_timing.playbackRate in activeDurationInternal()
83 ? repeatedDuration() / std::abs(m_timing.playbackRate) in activeDurationInternal()
127 … timeToNextIteration = (iterationDuration - iterationTime) / std::abs(m_timing.playbackRate); in updateInheritedTime()
135 …nst double localActiveDuration = m_timing.playbackRate ? localRepeatedDuration / std::abs(m_timing… in updateInheritedTime()
DTimingCalculationsTest.cpp85 timing.playbackRate = -1; in TEST()
89 timing.playbackRate = 0; in TEST()
91 timing.playbackRate = 1; in TEST()
95 timing.playbackRate = 0; in TEST()
97 timing.playbackRate = 1; in TEST()
DAnimationPlayer.h103 double playbackRate() const;
207 , playbackRate(player.m_playbackRate) in CompositorState()
213 double playbackRate; variable
DAnimationPlayerTest.cpp70 PassRefPtrWillBeRawPtr<Animation> makeAnimation(double duration = 30, double playbackRate = 1) in makeAnimation() argument
74 timing.playbackRate = playbackRate; in makeAnimation()
99 EXPECT_EQ(1, player->playbackRate()); in TEST_F()
108 EXPECT_EQ(1, player->playbackRate()); in TEST_F()
425 EXPECT_EQ(-1, player->playbackRate()); in TEST_F()
436 EXPECT_EQ(0, player->playbackRate()); in TEST_F()
566 EXPECT_EQ(2, player->playbackRate()); in TEST_F()
576 EXPECT_EQ(2, player->playbackRate()); in TEST_F()
627 EXPECT_EQ(std::numeric_limits<double>::max(), player->playbackRate()); in TEST_F()
DAnimationTest.cpp240 EXPECT_EQ(2, specified->playbackRate()); in TEST_F()
307 EXPECT_EQ(1, specified->playbackRate()); in TEST_F()
309 EXPECT_EQ(2, specified->playbackRate()); in TEST_F()
383 timing.playbackRate = 2; in TEST_F()
416 timing.playbackRate = -2; in TEST_F()
DCompositorAnimationsImpl.h48 double playbackRate; member
DTimingInput.h25 static void setPlaybackRate(Timing&, double playbackRate);
DTimingCalculations.h111 …tiplyZeroAlwaysGivesZero(specified.playbackRate < 0 ? activeTime - activeDuration : activeTime, sp… in calculateScaledActiveTime()
DAnimationNodeTiming.h26 double playbackRate();
DCompositorAnimationsTest.cpp144 timing.playbackRate = 1.0; in createCompositableTiming()
387 m_timing.playbackRate = 1.0; in TEST_F()
389 EXPECT_DOUBLE_EQ(1.0, m_compositorTiming.playbackRate); in TEST_F()
391 m_timing.playbackRate = -2.3; in TEST_F()
393 EXPECT_DOUBLE_EQ(-2.3, m_compositorTiming.playbackRate); in TEST_F()
395 m_timing.playbackRate = 1.6; in TEST_F()
397 EXPECT_DOUBLE_EQ(1.6, m_compositorTiming.playbackRate); in TEST_F()
697 m_timing.playbackRate = 2.0; in TEST_F()
970 m_timing.playbackRate = 2; in TEST_F()
DTiming.idl26 attribute double playbackRate;
DCompositorAnimations.cpp293 out.playbackRate = timing.playbackRate * playerPlaybackRate; in convertTimingForCompositor()
476 animation->setPlaybackRate(compositorTiming.playbackRate); in getAnimationOnCompositor()
DCompositorAnimationsTestHelper.h94 MOCK_CONST_METHOD0(playbackRate, double());
/external/chromium_org/third_party/polymer/components-chromium/core-animation/
Dcore-animation-extracted.js192 playbackRate: {value: 1, reflect: true}, property
221 playbackRate: 'apply', property
345 playbackRate: {isNumber: true}, property
/external/chromium_org/third_party/WebKit/public/platform/
DWebCompositorAnimation.h58 virtual double playbackRate() const = 0;
/external/chromium_org/cc/blink/
Dweb_animation_impl.h44 virtual double playbackRate() const;
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioBufferSourceNode.h82 AudioParam* playbackRate() { return m_playbackRate.get(); } in playbackRate() function
DAudioBufferSourceNode.idl32 readonly attribute AudioParam playbackRate;
/external/chromium_org/third_party/WebKit/Source/core/html/
DMediaController.h69 double playbackRate() const;
DMediaController.idl48 attribute double playbackRate;

12