Home
last modified time | relevance | path

Searched refs:playbackRate (Results 1 – 14 of 14) sorted by relevance

/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dweb-animations-next-player.js91 get playbackRate() { getter in scope.Player
92 return this._player.playbackRate;
94 set playbackRate(value) { setter in scope.Player
95 this._player.playbackRate = value;
97 childPlayer.playbackRate = value;
136 child.startTime = this.startTime + offset * this.playbackRate;
137 child.currentTime = this.currentTime + offset * this.playbackRate;
Dplayer.js94 this._tickCurrentTime((this._timeline.currentTime - this._startTime) * this.playbackRate);
97 get playbackRate() { getter in scope.Player
100 set playbackRate(value) { setter in scope.Player
115 …if ((this._startTime == null && !this.paused && this.playbackRate != 0) || this._currentTimePendin…
187 this.startTime = timelineTime - this._currentTime / this.playbackRate;
189 this._tickCurrentTime((timelineTime - this._startTime) * this.playbackRate);
Danimation-constructor.js111 childPlayer.playbackRate = this.playbackRate;
130 if (this.playbackRate == -1 && this.currentTime < offset && childPlayer.currentTime !== -1) {
Dtiming-utilities.js28 playbackRate: 1, property
133 return Math.abs(repeatedDuration(timing) / timing.playbackRate);
176 …return (timing.playbackRate < 0 ? activeTime - activeDuration : activeTime) * timing.playbackRate
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Danimation-node.js8 assert.equal(calculateActiveDuration({duration: 1000, playbackRate: 4, iterations: 20}), 5000); property
9 …assert.equal(calculateActiveDuration({duration: 500, playbackRate: 0.1, iterations: 300}), 1500000… property
67 assert.equal(calculateScaledActiveTime(1000, 200, 300, {playbackRate: 1.5}), 600); property
68 assert.equal(calculateScaledActiveTime(1000, 200, 300, {playbackRate: -4}), 3500); property
69 assert.equal(calculateScaledActiveTime(Infinity, 400, 200, {playbackRate: 1}), 600); property
70 assert.equal(calculateScaledActiveTime(Infinity, 400, 200, {playbackRate: -4}), Infinity); property
Dplayer.js77 assert.equal(p.playbackRate, 1);
82 assert.equal(p.playbackRate, -1);
150 assert.equal(p.playbackRate, -1);
174 assert.equal(p.playbackRate, 1);
181 assert.equal(p.playbackRate, 1);
194 assert.equal(p.playbackRate, -1);
201 assert.equal(p.playbackRate, -1);
247 p.playbackRate = 2;
248 assert.equal(p.playbackRate, 2);
Dgroup-player.js396 p.playbackRate = 2;
397 assert.equal(p._player.playbackRate, 2, 'Updates the playbackRate of the inner player');
399 assert.equal(childPlayer.playbackRate, 2, 'It also updates the child players');
1017 assert.equal(player.playbackRate, -1);
1021 assert.equal(player._childPlayers[0]._player.playbackRate, -1);
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
DHistory.md3 * Implement playbackRate setter for group players.
7 …* Suppress AnimationTiming.playbackRate deprecation warning for cases where AnimationTiming.playba…
28 * Deprecated `AnimationTiming.playbackRate`.
34 {duration: 1000, playbackRate: 2});
36 Use `AnimationPlayer.playbackRate` instead:
41 player.playbackRate = 2;
Dweb-animations-next-lite.min.js15playbackRate:1,direction:"normal",easing:"linear"};return"number"!=typeof b||isNaN(b)?void 0!==b&&… getter in a.Player
Dweb-animations-next.min.js15playbackRate:1,direction:"normal",easing:"linear"};return"number"!=typeof b||isNaN(b)?void 0!==b&&… setter in a.Player
16playbackRate(){return this._player.playbackRate},set playbackRate(a){this._player.playbackRate=a,t… getter in b.Player
Dweb-animations.min.js15playbackRate:1,direction:"normal",easing:"linear"};return"number"!=typeof b||isNaN(b)?void 0!==b&&… getter in a.Player
Dweb-animations-next-lite.min.js.map1 …","delay","endDelay","fill","iterationStart","iterations","duration","playbackRate","direction","e…
Dweb-animations.min.js.map1 …ut","timing","delay","fill","forGroup","iterationStart","iterations","playbackRate","direction","e…
Dweb-animations-next.min.js.map1 …","delay","endDelay","fill","iterationStart","iterations","duration","playbackRate","direction","e…