OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:calculateactivetime
(Results
1 - 5
of
5
) sorted by null
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
animation-node.js
55
//
calculateActiveTime
(activeDuration, fillMode, localTime, phase, delay);
56
assert.equal(
calculateActiveTime
(1000, 'forwards', 100, PhaseActive, 0), 100);
57
assert.equal(
calculateActiveTime
(1000, 'forwards', 100, PhaseBefore, 200), null);
58
assert.equal(
calculateActiveTime
(1000, 'both', 100, PhaseBefore, 200), 0);
59
assert.equal(
calculateActiveTime
(1000, 'forwards', 500, PhaseActive, 200), 300);
60
assert.equal(
calculateActiveTime
(1000, 'forwards', 1100, PhaseAfter, 200), 1000);
61
assert.equal(
calculateActiveTime
(1000, 'none', 1100, PhaseAfter, 200), null);
62
assert.equal(
calculateActiveTime
(Infinity, 'both', 5000000, PhaseActive, 2000000), 3000000);
63
assert.equal(
calculateActiveTime
(Infinity, 'both', 50000, PhaseBefore, 2000000), 0);
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
timing-utilities.js
158
function
calculateActiveTime
(activeDuration, fillMode, localTime, phase, delay) {
207
var activeTime =
calculateActiveTime
(activeDuration, timing.fill, localTime, phase, timing.delay);
235
testing.
calculateActiveTime
=
calculateActiveTime
;
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
web-animations-next-lite.min.js.map
1
{"version":3,"file":"web-animations-next-lite.min.js","sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/timeline.js","src/web-animations-next-player.js","src/animation-constructor.js","src/effect-callback.js","src/group-constructors.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","webAnimationsTesting","shared","makeTiming","timingInput","forGroup","timing","delay","endDelay","fill","iterationStart","iterations","duration","playbackRate","direction","easing","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","isDeprecated","normalizeTimingInput","toTimingFunction","cubic","a","b","c","d","linear","x","f","m","start","end","mid","xEst","Math","abs","step","count","pos","stepSize","cubicData","cubicBezierRe","exec","apply","this","slice","map","Number","stepData","stepRe","Start","middle","Middle","End","preset","presets","calculateActiveDuration","repeatedDuration","calculatePhase","activeDuration","localTime","PhaseNone","PhaseBefore","PhaseAfter","PhaseActive","
calculateActiveTime
","fillMode","phase","calculateScaledActiveTime","activeTime","startOffset","calculateIterationTime (…)
web-animations-next.min.js.map
1
{"version":3,"file":"web-animations-next.min.js","sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/animation-node.js","src/effect.js","src/property-interpolation.js","src/animation.js","src/apply-preserving-inline-style.js","src/element-animatable.js","src/interpolation.js","src/matrix-interpolation.js","src/player.js","src/tick.js","src/timeline.js","src/web-animations-next-player.js","src/animation-constructor.js","src/effect-callback.js","src/group-constructors.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","webAnimationsTesting","shared","makeTiming","timingInput","forGroup","timing","delay","endDelay","fill","iterationStart","iterations","duration","playbackRate","direction","easing","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","isDeprecated","normalizeTimingInput","toTimingFunction","cubic","a","b","c","d","linear","x","f","m","start","end","mid","xEst","Math","abs","step","count","pos","stepSize","cubicData","cubicBezierRe","exec","apply","this","slice","map","Number","stepData","stepRe","Start","middle","Middle","End","preset","presets","calculateActiveDuration","repeatedDuration","calculatePhase","activeDuration","localTime","PhaseNone","PhaseBefore","PhaseAfter","PhaseActive","
calculateActiveTime
","fillMode","phase","calculateScaledActiveTime","activeTime","startOffset","calculateIterationTime (…)
[
all
...]
web-animations.min.js.map
1
{"version":3,"file":"web-animations.min.js","sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/animation-node.js","src/effect.js","src/property-interpolation.js","src/animation.js","src/apply-preserving-inline-style.js","src/element-animatable.js","src/interpolation.js","src/matrix-interpolation.js","src/player.js","src/tick.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","WEB_ANIMATIONS_TESTING","webAnimationsTesting","shared","testing","makeTiming","timingInput","timing","delay","fill","forGroup","iterationStart","iterations","playbackRate","direction","easing","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","isDeprecated","duration","normalizeTimingInput","toTimingFunction","cubic","c","a","linear","b","m","start","end","mid","xEst","f","Math","abs","x","d","step","count","pos","stepSize","cubicData","cubicBezierRe","exec","this","slice","map","Number","stepData","stepRe","Start","middle","Middle","preset","presets","calculateActiveDuration","repeatedDuration","calculatePhase","localTime","PhaseBefore","activeDuration","PhaseActive","
calculateActiveTime
","fillMode","phase","PhaseAfter","PhaseNone","calculateScaledActiveTime","activeTime","startOffset (…)
Completed in 788 milliseconds