Home | History | Annotate | Download | only in chromeos

Lines Matching refs:boundingBox

775       var boundingBox = {left: 0, right: 0, top: 0, bottom: 0};
778 boundingBox.left = Math.min(boundingBox.left, display.x);
779 boundingBox.right = Math.max(
780 boundingBox.right, display.x + display.width);
781 boundingBox.top = Math.min(boundingBox.top, display.y);
782 boundingBox.bottom = Math.max(
783 boundingBox.bottom, display.y + display.height);
789 var areaWidth = boundingBox.right - boundingBox.left + maxWidth;
790 var areaHeight = boundingBox.bottom - boundingBox.top + maxHeight;
802 x: Math.floor((boundingBox.right + boundingBox.left) *
804 y: Math.floor((boundingBox.bottom + boundingBox.top) *
811 (boundingBox.right + boundingBox.left) * this.visualScale_ / 2),
813 (boundingBox.bottom + boundingBox.top) * this.visualScale_ / 2)