/frameworks/base/core/java/android/hardware/display/ |
H A D | WifiDisplayStatus.java | 26 * currently connected display and all available or remembered displays. 75 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt()); 76 for (int i = 0; i < displays.length; i++) { 77 displays[i] = WifiDisplay.CREATOR.createFromParcel(in); 84 activeDisplay, displays, sessionInfo); 98 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { 99 if (displays == null) { 100 throw new IllegalArgumentException("displays must not be null"); 107 mDisplays = displays; 117 * connecting to displays hav 97 WifiDisplayStatus(int featureState, int scanState, int activeDisplayState, WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) argument [all...] |
H A D | DisplayManager.java | 31 * Manages the properties of attached displays. 72 * Display category: Presentation displays. 74 * This category can be used to identify secondary displays that are suitable for 75 * use as presentation displays such as HDMI or Wireless displays. Applications 76 * may automatically project their content to presentation displays to provide 90 * <h3>Public virtual displays</h3> 96 * windows on the display and the system may mirror the contents of other displays 104 * <h3>Private virtual displays</h3> 129 * <h3>Presentation virtual displays</h 302 addAllDisplaysLocked(ArrayList<Display> displays, int[] displayIds) argument 311 addPresentationDisplaysLocked( ArrayList<Display> displays, int[] displayIds, int matchType) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplayState.java | 26 * Information available from IRemoteDisplayProvider about available remote displays. 41 * A list of all remote displays. 43 public final ArrayList<RemoteDisplayInfo> displays; field in class:RemoteDisplayState 46 displays = new ArrayList<RemoteDisplayInfo>(); 50 displays = src.createTypedArrayList(RemoteDisplayInfo.CREATOR); 54 if (displays == null) { 57 final int count = displays.size(); 59 if (!displays.get(i).isValid()) { 73 dest.writeTypedList(displays);
|
H A D | MediaRouter.java | 130 // Only the system can configure wifi displays. The display manager 626 * Temporary interop constant to identify remote displays. 939 Log.e(TAG, "Cannot connect to wifi displays because this process " 1313 WifiDisplay[] displays; 1316 displays = status.getDisplays(); 1321 // still publishes information about all available displays. 1325 displays = new WifiDisplay[] { activeDisplay }; 1327 displays = WifiDisplay.EMPTY_ARRAY; 1331 displays = WifiDisplay.EMPTY_ARRAY; 1338 for (int i = 0; i < displays 1454 findWifiDisplay(WifiDisplay[] displays, String deviceAddress) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 51 * <remembered-wifi-displays> 53 * >remembered-wifi-displays> 116 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { argument 117 WifiDisplay[] results = displays; 119 int count = displays.length; 121 WifiDisplay result = applyWifiDisplayAlias(displays[i]); 122 if (result != displays[i]) { 123 if (results == displays) { 125 System.arraycopy(displays, 0, results, 0, count); 240 if (parser.getName().equals("remembered-wifi-displays")) { [all...] |
H A D | WifiDisplayAdapter.java | 49 * Connects to Wifi displays that implement the Miracast protocol. 56 * This class is responsible for connecting to Wifi displays and mediating 71 // Unique id prefix for wifi displays 296 List<WifiDisplay> displays = new ArrayList<WifiDisplay>( 308 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), 314 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), 317 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); 329 // Consult the list of available displays and update the name if needed. 472 // Check whether any of the available displays changed canConnect status.
|
H A D | WifiDisplayController.java | 87 // 4. We don't seem to get updated results for displays we've already found until 470 final WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(count); 473 displays[i] = createWifiDisplay(device); 480 mListener.onScanResults(displays); 1096 * Called on the handler thread when displays are connected or disconnected.
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 75 const Vector<DisplayState>& displays, 86 data.writeUint32(static_cast<uint32_t>(displays.size())); 87 for (const auto& d : displays) { 356 Vector<DisplayState> displays; local 357 displays.setCapacity(count); 362 displays.add(d); 366 setTransactionState(state, displays, stateFlags); 73 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 47 * Tests that applications can create virtual displays and present content on them. 65 // deliver BGRA buffers to virtual displays instead. 334 private Display findDisplay(Display[] displays, String name) { argument 335 for (int i = 0; i < displays.length; i++) { 336 if (displays[i].getName().equals(name)) { 337 return displays[i];
|
/frameworks/native/include/gui/ |
H A D | ISurfaceComposer.h | 96 /* get the token for the existing default displays. possible values 103 const Vector<DisplayState>& displays, uint32_t flags) = 0; 122 * intended to be used to get information about built-in displays */
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 230 flinger->mCurrentState.displays.removeItem(this); 244 mCurrentState.displays.add(token, info); 252 ssize_t idx = mCurrentState.displays.indexOfKey(display); 258 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); 264 mCurrentState.displays.removeItemsAt(idx); 273 // All non-virtual displays are currently considered secure. 275 mCurrentState.displays.add(mBuiltinDisplays[type], info); 626 // All non-virtual displays are currently considered secure. 864 // All non-virtual displays are currently considered secure. 888 mCurrentState.displays 2111 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument [all...] |
H A D | SurfaceFlinger.h | 110 // force full composition on all displays 187 DefaultKeyedVector< wp<IBinder>, DisplayDeviceState> displays; member in struct:android::SurfaceFlinger::State 206 const Vector<DisplayState>& displays, uint32_t flags);
|
H A D | SurfaceFlinger_hwc1.cpp | 229 flinger->mCurrentState.displays.removeItem(this); 243 mCurrentState.displays.add(token, info); 251 ssize_t idx = mCurrentState.displays.indexOfKey(display); 257 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); 263 mCurrentState.displays.removeItemsAt(idx); 271 // All non-virtual displays are currently considered secure. 273 mCurrentState.displays.add(mBuiltinDisplays[type], info); 479 // initialize our non-virtual displays 482 // set-up the displays that are already connected 484 // All non-virtual displays ar 2127 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument [all...] |
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 125 * are any remote displays paired or available but doesn't need the latest or 225 * Gets the current collection of displays. 227 * @return The current collection of displays, which must not be modified. 318 state.displays.add(display.getInfo());
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2On1Adapter.cpp | 1249 // Only prepare display contents for displays HWC1 knows about 2337 ALOGI("Found support for HWC virtual displays"); 2426 // at least two displays down to HWC1 2475 // Return the received contents to their respective displays 2550 std::vector<hwc2_display_t> displays; local 2552 displays.emplace_back(displayPair.first); 2559 for (auto display : displays) {
|
/frameworks/base/docs/html/training/ |
H A D | training_toc.cs | 1435 app bar that displays properly on a wide range of devices."
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaRouterService.java | 60 * Currently supports discovering remote displays via remote display provider 601 * route id for certain routes that have global effects, such as remote displays. 1108 final List<RemoteDisplayInfo> routeDescriptors = descriptor.displays;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 543 Display[] displays = mDisplayManager.getDisplays(); 544 for (int displayNdx = displays.length - 1; displayNdx >= 0; --displayNdx) { 545 final int displayId = displays[displayNdx].getDisplayId();
|