Lines Matching refs:frame
221 getFrame(frame: AbsoluteFrameIndex): Trace<T> {
224 start: frame,
225 end: frame + 1,
227 return this.createSlice(entries, {start: frame, end: frame + 1});
420 forEachFrame(callback: (frame: Trace<T>, index: AbsoluteFrameIndex) => void) {
426 let frame = this.framesRange.start;
427 frame < this.framesRange.end;
428 ++frame
430 callback(this.getFrame(frame), frame);
435 callback: (frame: Trace<T>, index: AbsoluteFrameIndex) => U,
573 frame: AbsoluteFrameIndex | undefined,
575 if (!this.framesRange || frame === undefined) {
579 if (frame < 0) {
581 `Absolute frame index cannot be negative. Found '${frame}'`,
586 Math.max(frame, this.framesRange.start),