Lines Matching refs:floor
921 count = 4 * Math.max(1, Math.floor(this.container.clientWidth / (this.thumbWidth + 10)));
2065 var s = Math.floor(Math.min((width - 2 * this.thumbBorder) / bounds.width,
2067 this.graph.view.scaleAndTranslate(s, Math.floor((width - bounds.width * s) / 2 / s - bounds.x),
2068 Math.floor((height - bounds.height * s) / 2 / s - bounds.y));
3136 styleTarget.style.left = Math.floor(tmp.x) + 'px';
3137 styleTarget.style.top = Math.floor(tmp.y) + 'px';
3302 roundSource.style.left = Math.floor(p0.x - this.roundDrop.width / 2) + 'px';
3303 roundSource.style.top = Math.floor(p0.y - this.roundDrop.height / 2) + 'px';
3305 roundTarget.style.left = Math.floor(pe.x - this.roundDrop.width / 2) + 'px';
3306 roundTarget.style.top = Math.floor(pe.y - this.roundDrop.height / 2) + 'px';
3351 arrowUp.style.left = Math.floor(state.getCenterX() - this.triangleUp.width / 2) + 'px';
3352 arrowUp.style.top = Math.floor(bds.y - this.triangleUp.height) + 'px';
3354 arrowRight.style.left = Math.floor(bds.x + bds.width) + 'px';
3355 arrowRight.style.top = Math.floor(state.getCenterY() - this.triangleRight.height / 2) + 'px';
3358 arrowDown.style.top = Math.floor(bds.y + bds.height) + 'px';
3360 arrowLeft.style.left = Math.floor(bds.x - this.triangleLeft.width) + 'px';