Lines Matching defs:display

17 package android.hardware.display;
48 * Broadcast receiver that indicates when the Wifi display status changes.
58 "android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED";
65 "android.hardware.display.extra.WIFI_DISPLAY_STATUS";
79 "android.hardware.display.category.PRESENTATION";
88 * Gets information about a logical display.
90 * The display metrics may be adjusted to provide compatibility
93 * @param displayId The logical display id.
94 * @return The display object, or null if there is no valid display with the given id.
117 * then the displays are sorted so that the first display in the returned array
118 * is the most preferred presentation display. The application may simply
119 * use the first display or allow the user to choose.
122 * @param category The requested display category or null to return all displays.
148 Display display = getOrCreateDisplayLocked(displayIds[i], true /*assumeValid*/);
149 if (display != null
150 && (matchType < 0 || display.getType() == matchType)) {
151 displays.add(display);
157 Display display = mDisplays.get(displayId);
158 if (display == null) {
159 display = mGlobal.getCompatibleDisplay(displayId,
161 if (display != null) {
162 mDisplays.put(displayId, display);
164 } else if (!assumeValid && !display.isValid()) {
165 display = null;
167 return display;
171 * Registers an display listener to receive notifications about when
205 * Connects to a Wifi display.
208 * Automatically remembers the display after a successful connection, if not
223 * Disconnects from the current Wifi display.
232 * Renames a Wifi display.
234 * The display must already be remembered for this call to succeed. In other words,
235 * we must already have successfully connected to the display at least once and then
251 * Forgets a previously remembered Wifi display.
253 * Automatically disconnects from the display if currently connected to it.
266 * Gets the current Wifi display status.
270 * @return The current Wifi display status.
278 * Listens for changes in available display devices.
282 * Called whenever a logical display has been added to the system.
284 * the display.
286 * @param displayId The id of the logical display that was added.
291 * Called whenever a logical display has been removed from the system.
293 * @param displayId The id of the logical display that was removed.
298 * Called whenever the properties of a logical display have changed.
300 * @param displayId The id of the logical display that changed.