Lines Matching refs:chunks
252 chunkIndex(chunks) { argument
254 for (let i = 0; i < chunks.length; i++) {
255 let chunk = chunks[i];
263 position(chunks) { argument
264 let index = this.chunkIndex(chunks);
266 let yFrom = kChunkHeight - chunks[index].yOffset(this);
339 chunkIndex(chunks) { argument
341 for (let i = 0; i < chunks.length; i++) {
342 let chunk = chunks[i];
518 let chunks = [];
519 this.forEachChunkSize(count, (start, end) => chunks.push(end - start));
520 return chunks;
523 chunks(count) { method in Timeline
524 let chunks = [];
529 chunks.push(new Chunk(chunks.length, startTime, endTime, items, markers));
531 return chunks;
646 next(chunks) { argument
647 return this.findChunk(chunks, 1);
650 prev(chunks) { argument
651 return this.findChunk(chunks, -1);
654 findChunk(chunks, delta) { argument
656 let chunk = chunks[i];
659 chunk = chunks[i]