Home
last modified time | relevance | path

Searched refs:calculateActiveTime (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Danimation-node.js56 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/
Dtiming-utilities.js158 function calculateActiveTime(activeDuration, fillMode, localTime, phase, delay) { function
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/
Dweb-animations-next-lite.min.js.map1 …,"localTime","PhaseNone","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode"…
Dweb-animations.min.js.map1 …tePhase","localTime","PhaseBefore","activeDuration","PhaseActive","calculateActiveTime","fillMode"…
Dweb-animations-next.min.js.map1 …,"localTime","PhaseNone","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode"…