/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/ |
D | dimension-handler.js | 3 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 …]
|
D | matrix-interpolation.js | 11 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 …]
|
D | box-handler.js | 3 …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 …]
|
D | transform-handler.js | 75 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 …]
|
D | number-handler.js | 19 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');
|
D | color-handler.js | 17 …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)');
|
D | property-interpolation.js | 11 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);
|
D | tick.js | 2 setup(function() { webAnimations1.timeline._players = []; }); 9 assert.equal(webAnimations1.timeline._players.length, 1); 13 assert.equal(webAnimations1.timeline._players.length, 1);
|
D | player.js | 3 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]);
|
D | animation-node.js | 96 var node = webAnimations1.AnimationNode(timing); 97 var node2 = webAnimations1.AnimationNode(timing2);
|
D | timing.js | 3 webAnimations1.timeline._players = [];
|
D | timeline.js | 4 webAnimations1.timeline._players = [];
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
D | scope.js | 16 var webAnimations1 = {}; variable
|
D | element-animatable.js | 19 })(webAnimations1);
|
D | visibility-handler.js | 28 })(webAnimations1);
|
D | apply.js | 25 })(webAnimations1, webAnimationsTesting);
|
D | property-names.js | 35 })(webAnimations1, webAnimationsTesting);
|
D | font-weight-handler.js | 42 })(webAnimations1);
|
D | animation-node.js | 31 })(webAnimationsShared, webAnimations1);
|
D | interpolation.js | 49 })(webAnimations1, webAnimationsTesting);
|
D | box-handler.js | 57 })(webAnimations1, webAnimationsTesting);
|
D | animation.js | 65 })(webAnimationsShared, webAnimations1, webAnimationsTesting);
|
D | color-handler.js | 62 })(webAnimations1, webAnimationsTesting);
|
D | number-handler.js | 72 })(webAnimations1, webAnimationsTesting);
|
D | property-interpolation.js | 61 })(webAnimations1, webAnimationsTesting);
|