Home | History | Annotate | Download | only in display

Lines Matching full:display

12 #include "ash/display/display_info.h"
13 #include "ash/display/display_layout.h"
17 #include "ui/gfx/display.h"
20 #include "chromeos/display/output_configurator.h"
24 class Display;
40 // DisplayManager maintains the current display configurations,
61 // Called before and after the display configuration changes.
68 // How the second display will be used.
70 // 2) MIRRORING mode copies the content of the primary display to
71 // the 2nd display. (Software Mirroring).
72 // 3) In VIRTUAL_KEYBOARD mode, the 2nd display is used as a
73 // dedicated display for virtual keyboard, and it is not
81 // Returns the list of possible UI scales for the display.
87 // Updates the bounds of the display given by |secondary_display_id|
91 const gfx::Display& primary_display,
104 // even if the display's bounds didn't change. Used to swap primary
105 // display.
110 // Returns the display id of the first display in the outupt list.
117 // Initialize default display.
120 // True if the given |display| is currently connected.
121 bool IsActiveDisplay(const gfx::Display& display) const;
123 // True if there is an internal display.
128 // Returns the display layout used for current displays.
131 // Returns the current display pair.
134 // Sets the layout for the current display pair. The |layout| specifies
135 // the locaion of the secondary display relative to the primary.
139 // Returns display for given |id|;
140 const gfx::Display& GetDisplayForId(int64 id) const;
142 // Finds the display that contains |point| in screeen coordinates.
143 // Returns invalid display if there is no display that can satisfy
145 const gfx::Display& FindDisplayContainingPoint(
148 // Sets the work area's |insets| to the display given by |display_id|.
151 // Registers the overscan insets for the display of the specified ID. Note
153 // display's bounds change.
156 // Sets the display's rotation.
157 void SetDisplayRotation(int64 display_id, gfx::Display::Rotation rotation);
159 // Sets the display's ui scale.
162 // Sets the display's resolution.
165 // Register per display properties. |overscan_insets| is NULL if
166 // the display has no custom overscan insets.
168 gfx::Display::Rotation rotation,
173 // Returns the display's selected resolution.
182 // the display.
185 // Called when display configuration has changed. The new display
186 // configurations is passed as a vector of Display object, which
187 // contains each display's new infomration.
191 // Updates the internal display data and notifies observers about the changes.
197 // Returns the display at |index|. The display at 0 is
199 const gfx::Display& GetDisplayAt(size_t index) const;
201 const gfx::Display& GetPrimaryDisplayCandidate() const;
207 const std::vector<gfx::Display>& displays() const { return displays_; }
217 // Returns the display object that is not a part of desktop.
218 const gfx::Display& non_desktop_display() const {
222 // Retuns the display info associated with |display_id|.
225 // Returns the human-readable name for the display |id|.
228 // Returns the display id that is capable of UI scaling. On device,
229 // this returns internal display's ID if its device scale factor is 2,
230 // or invalid ID if such internal display doesn't exist. On linux
231 // desktop, this returns the first display ID.
237 // Used to emulate display change when run in a desktop environment instead
254 // Sets/gets second display mode.
260 // Update the bounds of the display given by |display_id|.
279 typedef std::vector<gfx::Display> DisplayList;
285 gfx::Display* FindDisplayForId(int64 id);
287 // Add the mirror display's display info if the software based
295 // a display.
298 // Creates a display object from the DisplayInfo for |display_id|.
299 gfx::Display CreateDisplayFromDisplayInfoById(int64 display_id);
301 // Updates the bounds of the secondary display in |display_list|
302 // using the layout registered for the display pair and set the
303 // index of display updated to |updated_index|. Returns true
304 // if the secondary display's bounds has been changed from current
311 const gfx::Display& primary_display,
312 gfx::Display* secondary_display);
327 // The mapping from the display ID to its internal data.
334 // the display's size. This is set to true when running on
336 // window will update the display properly. This is set to false
342 gfx::Display non_desktop_display_;