Home
last modified time | relevance | path

Searched refs:webAnimations1 (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Ddimension-handler.js3 assert.deepEqual(webAnimations1.parseLength(' 0 '), {px: 0});
4 assert.deepEqual(webAnimations1.parseLength('10px'), {px: 10});
5 assert.deepEqual(webAnimations1.parseLength('5VmIN'), {vmin: 5});
6 assert.deepEqual(webAnimations1.parseLength('-12.5em'), {em: -12.5});
9 assert.deepEqual(webAnimations1.parseLength('calc(10px*3) '),
11 assert.deepEqual(webAnimations1.parseLength('calc(10vmin + -5in) '),
13 assert.deepEqual(webAnimations1.parseLength('calc(5EM + 10px) '),
15 assert.deepEqual(webAnimations1.parseLength(' calc( 10px + 5em ) '),
17 assert.deepEqual(webAnimations1.parseLength('calc(5*(10px + 5em) - 5.25em * 6)'),
19 …assert.deepEqual(webAnimations1.parseLength('calc((5px + 2px)*(1 + 2*(4 + 2*-5)) + 7px - (5em + 6v…
[all …]
Dmatrix-interpolation.js11 var actualInterp = webAnimations1.propertyInterpolation(
15 var expectedInterp = webAnimations1.propertyInterpolation(
35 var interpolatedMatrix = webAnimations1.propertyInterpolation(
42 interpolatedMatrix = webAnimations1.propertyInterpolation(
49 interpolatedMatrix = webAnimations1.propertyInterpolation(
61 interpolatedMatrix = webAnimations1.propertyInterpolation(
71 interpolatedMatrix = webAnimations1.propertyInterpolation(
79 interp = webAnimations1.propertyInterpolation(
96 var interp = webAnimations1.propertyInterpolation(
106 interp = webAnimations1.propertyInterpolation(
[all …]
Dbox-handler.js3 …assert.deepEqual(webAnimations1.parseBox(' rect(0px, 20px, 20px, 0px) '), [{px: 0}, {px: 20}, {px:…
4 …assert.deepEqual(webAnimations1.parseBox('rect(0px, 20px, 20px, 0px)'), [{px: 0}, {px: 20}, {px: 2…
5 …assert.deepEqual(webAnimations1.parseBox('rect(0px, 20px, 20px, 0)'), [{px: 0}, {px: 20}, {px: 20}…
6 …assert.deepEqual(webAnimations1.parseBox('rect(10px, 100%, 500px, 10%)'), [{px: 10}, {'%': 100}, {…
7 …assert.deepEqual(webAnimations1.parseBox('rect(10%, 100%, 500%, 10%)'), [{'%': 10}, {'%': 100}, {'…
8 …assert.deepEqual(webAnimations1.parseBox('rect(0px, calc(10px*3), 20px, 0%)'), [{px: 0}, {px: 30},…
9 …assert.deepEqual(webAnimations1.parseBox('rect(0px, 0%, 20px, calc(10px*3))'), [{px: 0}, {'%': 0},…
10 …assert.deepEqual(webAnimations1.parseBox('rect(0px, 0%, 20px, calc((10px) + (3px)))'), [{px: 0}, {…
11 …assert.deepEqual(webAnimations1.parseBox('rect(calc(10px + 5em), calc(10px + 5em), calc(10px + 5em…
15 assert.isUndefined(webAnimations1.parseBox('rect(0, 20, 20, 0)'));
[all …]
Dtransform-handler.js75 webAnimations1.propertyInterpolation(
81 webAnimations1.propertyInterpolation(
87 webAnimations1.propertyInterpolation(
93 webAnimations1.propertyInterpolation(
99 webAnimations1.propertyInterpolation(
105 webAnimations1.propertyInterpolation(
114 webAnimations1.propertyInterpolation(
120 webAnimations1.propertyInterpolation(
126 webAnimations1.propertyInterpolation(
132 webAnimations1.propertyInterpolation(
[all …]
Dnumber-handler.js19 assert.equal(webAnimations1.parseNumber(string), tests[string], 'Parsing "' + string + '"');
23 assert.isUndefined(webAnimations1.parseNumber(''));
24 assert.isUndefined(webAnimations1.parseNumber('nine'));
25 assert.isUndefined(webAnimations1.parseNumber('1 2'));
26 assert.isUndefined(webAnimations1.parseNumber('+-0'));
27 assert.isUndefined(webAnimations1.parseNumber('50px'));
28 assert.isUndefined(webAnimations1.parseNumber('1.2.3'));
31 var interpolation = webAnimations1.propertyInterpolation('opacity', '0', '1');
Dcolor-handler.js17 …assert.equal(webAnimations1.propertyInterpolation('color', '#00aa11', '#aa00bb')(0.2), 'rgba(34,13…
18 …assert.equal(webAnimations1.propertyInterpolation('color', 'transparent', '#004488')(0), 'transpar…
19 …assert.equal(webAnimations1.propertyInterpolation('color', 'transparent', '#004488')(0.5), 'rgba(0…
20 … assert.equal(webAnimations1.propertyInterpolation('color', 'red', 'green')(2), 'rgba(0,255,0,1)');
21 …assert.equal(webAnimations1.propertyInterpolation('color', 'red', 'green')(-1), 'rgba(255,0,0,1)');
Dproperty-interpolation.js11 interpolation = webAnimations1.propertyInterpolation(property, left, right);
26 webAnimations1.addPropertiesHandler(Number, merge, ['dummy-property']);
27 assert.equal(webAnimations1.propertyInterpolation('dummy-property', 1, 2)(0.5), 3);
28 assert.equal(webAnimations1.propertyInterpolation('dummyProperty', 5, 3)(0.5), 8);
Dtick.js2 setup(function() { webAnimations1.timeline._players = []; });
9 assert.equal(webAnimations1.timeline._players.length, 1);
13 assert.equal(webAnimations1.timeline._players.length, 1);
Dplayer.js3 webAnimations1.timeline._players = [];
274 assert.deepEqual(webAnimations1.timeline._players, []);
277 assert.deepEqual(webAnimations1.timeline._players, []);
281 webAnimations1.timeline.currentTime = undefined;
291 …assert.deepEqual(webAnimations1.timeline._players, [nofill._player || nofill, fill._player || fill…
293 …assert.deepEqual(webAnimations1.timeline._players, [nofill._player || nofill, fill._player || fill…
295 assert.deepEqual(webAnimations1.timeline._players, [fill._player || fill]);
302 assert.deepEqual(webAnimations1.timeline._players, []);
304 assert.deepEqual(webAnimations1.timeline._players, [player._player || player]);
311 assert.deepEqual(webAnimations1.timeline._players, [player._player || player]);
Danimation-node.js96 var node = webAnimations1.AnimationNode(timing);
97 var node2 = webAnimations1.AnimationNode(timing2);
Dtiming.js3 webAnimations1.timeline._players = [];
Dtimeline.js4 webAnimations1.timeline._players = [];
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dscope.js16 var webAnimations1 = {}; variable
Delement-animatable.js19 })(webAnimations1);
Dvisibility-handler.js28 })(webAnimations1);
Dapply.js25 })(webAnimations1, webAnimationsTesting);
Dproperty-names.js35 })(webAnimations1, webAnimationsTesting);
Dfont-weight-handler.js42 })(webAnimations1);
Danimation-node.js31 })(webAnimationsShared, webAnimations1);
Dinterpolation.js49 })(webAnimations1, webAnimationsTesting);
Dbox-handler.js57 })(webAnimations1, webAnimationsTesting);
Danimation.js65 })(webAnimationsShared, webAnimations1, webAnimationsTesting);
Dcolor-handler.js62 })(webAnimations1, webAnimationsTesting);
Dnumber-handler.js72 })(webAnimations1, webAnimationsTesting);
Dproperty-interpolation.js61 })(webAnimations1, webAnimationsTesting);

12