Home | History | Annotate | Download | only in extensions

Lines Matching refs:overscan

207        info.rotation || info.overscan)) {
239 // Overscan cannot be changed for the internal display, and should be at most
241 if (info.overscan) {
243 *error = "Overscan changes not allowed for the internal monitor.";
247 if (info.overscan->left < 0 || info.overscan->top < 0 ||
248 info.overscan->right < 0 || info.overscan->bottom < 0) {
249 *error = "Negative overscan not allowed.";
253 const gfx::Insets overscan =
255 int screen_width = display.bounds().width() + overscan.width();
256 int screen_height = display.bounds().height() + overscan.height();
258 if ((info.overscan->left + info.overscan->right) * 2 > screen_width) {
259 *error = "Horizontal overscan is more than half of the screen width.";
263 if ((info.overscan->top + info.overscan->bottom) * 2 > screen_height) {
264 *error = "Vertical overscan is more than half of the screen height.";
327 // Process 'overscan' parameter.
328 if (info.overscan) {
330 gfx::Insets(info.overscan->top,
331 info.overscan->left,
332 info.overscan->bottom,
333 info.overscan->right));
377 unit->overscan.left = overscan_insets.left();
378 unit->overscan.top = overscan_insets.top();
379 unit->overscan.right = overscan_insets.right();
380 unit->overscan.bottom = overscan_insets.bottom();