OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scaledActiveTime
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/animation/
TimedItemCalculations.h
120
static inline double calculateIterationTime(double iterationDuration, double repeatedDuration, double
scaledActiveTime
, double startOffset, const Timing& specified)
125
if (isNull(
scaledActiveTime
))
128
ASSERT(
scaledActiveTime
>= 0);
129
ASSERT(
scaledActiveTime
<= repeatedDuration + startOffset);
131
if (!std::isfinite(
scaledActiveTime
)
132
|| (
scaledActiveTime
- startOffset == repeatedDuration && specified.iterationCount && endsOnIterationBoundary(specified.iterationCount, specified.iterationStart)))
135
ASSERT(std::isfinite(
scaledActiveTime
));
136
return fmod(
scaledActiveTime
, iterationDuration);
139
static inline double calculateCurrentIteration(double iterationDuration, double iterationTime, double
scaledActiveTime
, const Timing& specified)
144
if (isNull(
scaledActiveTime
))
[
all
...]
TimedItem.cpp
90
const double
scaledActiveTime
= calculateScaledActiveTime(activeDuration, activeTime, startOffset, m_specified);
91
const double iterationTime = calculateIterationTime(iterationDuration, repeatedDuration,
scaledActiveTime
, startOffset, m_specified);
93
currentIteration = calculateCurrentIteration(iterationDuration, iterationTime,
scaledActiveTime
, m_specified);
112
const double
scaledActiveTime
= calculateScaledActiveTime(localActiveDuration, localActiveTime, startOffset, m_specified);
113
const double iterationTime = calculateIterationTime(localIterationDuration, localRepeatedDuration,
scaledActiveTime
, startOffset, m_specified);
115
currentIteration = calculateCurrentIteration(localIterationDuration, iterationTime,
scaledActiveTime
, m_specified);
Completed in 948 milliseconds