Lines Matching defs:display
7 #include "ui/display/types/display_mode.h"
8 #include "ui/display/types/display_snapshot.h"
22 bool operator()(const DisplaySnapshot_Params& display) const {
23 return display.display_id == display_id_;
96 DisplaySnapshot* display = ndd_->FindDisplaySnapshot(id);
97 if (!display) {
98 LOG(ERROR) << "There is no display with ID " << id;
103 for (size_t i = 0; i < display->modes().size(); ++i) {
104 if (mode_param.size == display->modes()[i]->size() &&
105 mode_param.is_interlaced == display->modes()[i]->is_interlaced() &&
106 mode_param.refresh_rate == display->modes()[i]->refresh_rate()) {
107 mode = display->modes()[i];
112 // If the display doesn't have the mode natively, then lookup the mode from
113 // other displays and try using it on the current display (some displays
128 ndd_->Configure(*display, mode, origin);
132 DisplaySnapshot* display = ndd_->FindDisplaySnapshot(id);
133 if (display)
134 ndd_->Configure(*display, NULL, gfx::Point());
136 LOG(ERROR) << "There is no display with ID " << id;