Searched defs:iterationDuration (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DTiming.h68 , iterationDuration(std::numeric_limits<double>::quiet_NaN())
82 ASSERT(std::isnan(iterationDuration) || iterationDuration >= 0);
92 double iterationDuration; member in struct:blink::Timing
H A DTimingInput.cpp60 void TimingInput::setIterationDuration(Timing& timing, double iterationDuration) argument
62 if (!std::isnan(iterationDuration) && iterationDuration >= 0)
63 timing.iterationDuration = iterationDuration / 1000;
65 timing.iterationDuration = Timing::defaults().iterationDuration;
124 double iterationDuration = 0; local
125 if (DictionaryHelper::get(timingInputDictionary, "duration", iterationDuration)) {
126 setIterationDuration(result, iterationDuration);
[all...]
H A DAnimationNode.cpp66 double AnimationNode::iterationDuration() const function in class:blink::AnimationNode
68 double result = std::isnan(m_timing.iterationDuration) ? intrinsicIterationDuration() : m_timing.iterationDuration;
75 const double result = multiplyZeroAlwaysGivesZero(iterationDuration(), m_timing.iterationCount);
117 if (const double iterationDuration = this->iterationDuration()) {
118 const double startOffset = multiplyZeroAlwaysGivesZero(m_timing.iterationStart, iterationDuration);
121 const double iterationTime = calculateIterationTime(iterationDuration, repeatedDuration(), scaledActiveTime, startOffset, m_timing);
123 currentIteration = calculateCurrentIteration(iterationDuration, iterationTime, scaledActiveTime, m_timing);
124 timeFraction = calculateTransformedTime(currentIteration, iterationDuration, iterationTim
[all...]
H A DTimingCalculations.h120 static inline double calculateIterationTime(double iterationDuration, double repeatedDuration, double scaledActiveTime, double startOffset, const Timing& specified) argument
122 ASSERT(iterationDuration > 0);
123 ASSERT(repeatedDuration == multiplyZeroAlwaysGivesZero(iterationDuration, specified.iterationCount));
133 return iterationDuration;
136 return fmod(scaledActiveTime, iterationDuration);
139 static inline double calculateCurrentIteration(double iterationDuration, double iterationTime, double scaledActiveTime, const Timing& specified) argument
141 ASSERT(iterationDuration > 0);
148 ASSERT(iterationTime <= iterationDuration);
154 if (iterationTime == iterationDuration)
157 return floor(scaledActiveTime / iterationDuration);
160 calculateDirectedTime(double currentIteration, double iterationDuration, double iterationTime, const Timing& specified) argument
180 calculateTransformedTime(double currentIteration, double iterationDuration, double iterationTime, const Timing& specified) argument
[all...]

Completed in 84 milliseconds