Lines Matching refs:direction
908 * stretched in the vertical direction.
975 * @param {number} direction -1 for left, 1 for right.
979 index, direction) {
992 var sameRowNeighbourIndex = index + direction;
996 var adjacentColumn = column + direction;
1001 getEdgeTileIndex_(row.getCenterY(), -direction);
1008 * @param {number} direction -1 for above, 1 for below.
1012 index, direction) {
1027 row.getEdgeTileIndex_(direction) + direction;
1269 * @param {number} direction -1 for left, 1 for right.
1274 Mosaic.Column.prototype.getEdgeTileIndex_ = function(y, direction) {
1277 return this.rows_[r].getEdgeTileIndex_(direction);
1504 * @param {number} direction -1 for the first tile, 1 for the last tile.
1508 Mosaic.Row.prototype.getEdgeTileIndex_ = function(direction) {
1509 if (direction < 0)