Lines Matching defs:display
5 #include "ash/display/screen_ash.h"
7 #include "ash/display/display_controller.h"
8 #include "ash/display/display_manager.h"
19 #include "ui/gfx/display.h"
36 const gfx::Display& display = *iter;
37 int distance = display.bounds().ManhattanDistanceToPoint(point);
40 nearest_display = &display;
43 // There should always be at least one display that is less than INT_MAX away.
55 const gfx::Display& display = *iter;
56 gfx::Rect intersect = gfx::IntersectRects(display.bounds(), match_rect);
60 matching = &display;
105 // Fallback to the primary display if there is no matching display.
191 void ScreenAsh::NotifyMetricsChanged(const gfx::Display& display,
195 OnDisplayMetricsChanged(display, metrics));
198 void ScreenAsh::NotifyDisplayAdded(const gfx::Display& display) {
199 FOR_EACH_OBSERVER(gfx::DisplayObserver, observers_, OnDisplayAdded(display));
202 void ScreenAsh::NotifyDisplayRemoved(const gfx::Display& display) {
204 gfx::DisplayObserver, observers_, OnDisplayRemoved(display));
246 // for non desktop display.
253 const gfx::Display& display =
255 if (display.is_valid())
256 return display;
257 // Fallback to the display that has the shortest Manhattan distance from
268 // Fallback to the primary display if there is no matching display.