Lines Matching refs:rows
28 * @param {cr.ui.FocusRow.Observer=} opt_observer An observer of rows.
40 this.rows = [];
49 for (var i = 0; i < this.rows.length; ++i) {
50 for (var j = 0; j < this.rows[i].items.length; ++j) {
51 if (target == this.rows[i].items[j])
60 var rowIndex = this.rows.indexOf(keyRow);
72 row = this.rows.length - 1;
74 if (!this.rows[row])
78 var col = Math.min(colIndex, this.rows[row].items.length - 1);
80 this.rows[row].focusIndex(col);
89 this.rows.forEach(function(row) { row.destroy(); });
91 this.rows = grid.map(function(row) {
95 if (!this.getPositionForTarget(document.activeElement) && this.rows[0])
96 this.rows[0].activeIndex = 0;