Searched refs:calculateActiveTime (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/ |
D | animation-node.js | 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/ |
D | timing-utilities.js | 158 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/ |
D | web-animations-next-lite.min.js.map | 1 …,"localTime","PhaseNone","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode"…
|
D | web-animations.min.js.map | 1 …tePhase","localTime","PhaseBefore","activeDuration","PhaseActive","calculateActiveTime","fillMode"…
|
D | web-animations-next.min.js.map | 1 …,"localTime","PhaseNone","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode"…
|