/frameworks/base/core/java/android/hardware/display/ |
H A D | WifiDisplayStatus.java | 28 * currently connected display and all available or remembered displays. 77 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt()); 78 for (int i = 0; i < displays.length; i++) { 79 displays[i] = WifiDisplay.CREATOR.createFromParcel(in); 86 activeDisplay, displays, sessionInfo); 100 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { 101 if (displays == null) { 102 throw new IllegalArgumentException("displays must not be null"); 109 mDisplays = displays; 119 * connecting to displays hav 99 WifiDisplayStatus(int featureState, int scanState, int activeDisplayState, WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) argument [all...] |
H A D | DisplayManager.java | 28 * Manages the properties of attached displays. 69 * Display category: Presentation displays. 71 * This category can be used to identify secondary displays that are suitable for 72 * use as presentation displays such as HDMI or Wireless displays. Applications 73 * may automatically project their content to presentation displays to provide 87 * <h3>Public virtual displays</h3> 93 * windows on the display and the system may mirror the contents of other displays 103 * <h3>Private virtual displays</h3> 124 * <h3>Presentation virtual displays</h 239 addAllDisplaysLocked(ArrayList<Display> displays, int[] displayIds) argument 248 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 | 125 // Only the system can configure wifi displays. The display manager 616 * Temporary interop constant to identify remote displays. 923 Log.e(TAG, "Cannot connect to wifi displays because this process " 1294 WifiDisplay[] displays; 1297 displays = status.getDisplays(); 1302 // still publishes information about all available displays. 1306 displays = new WifiDisplay[] { activeDisplay }; 1308 displays = WifiDisplay.EMPTY_ARRAY; 1312 displays = WifiDisplay.EMPTY_ARRAY; 1319 for (int i = 0; i < displays 1434 findWifiDisplay(WifiDisplay[] displays, String deviceAddress) argument [all...] |
/frameworks/base/services/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 50 * <remembered-wifi-displays> 52 * >remembered-wifi-displays> 115 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { argument 116 WifiDisplay[] results = displays; 118 int count = displays.length; 120 WifiDisplay result = applyWifiDisplayAlias(displays[i]); 121 if (result != displays[i]) { 122 if (results == displays) { 124 System.arraycopy(displays, 0, results, 0, count); 239 if (parser.getName().equals("remembered-wifi-displays")) { [all...] |
H A D | WifiDisplayAdapter.java | 55 * Connects to Wifi displays that implement the Miracast protocol. 62 * This class is responsible for connecting to Wifi displays and mediating 308 List<WifiDisplay> displays = new ArrayList<WifiDisplay>( 320 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), 326 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), 329 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); 341 // Consult the list of available displays and update the name if needed. 568 // 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 | 73 const Vector<DisplayState>& displays, 87 Vector<DisplayState>::const_iterator b(displays.begin()); 88 Vector<DisplayState>::const_iterator e(displays.end()); 89 data.writeInt32(displays.size()); 264 Vector<DisplayState> displays; local 265 displays.setCapacity(count); 268 displays.add(d); 271 setTransactionState(state, displays, flags); 71 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
|
/frameworks/native/include/gui/ |
H A D | ISurfaceComposer.h | 84 /* get the token for the existing default displays. possible values 91 const Vector<DisplayState>& displays, uint32_t flags) = 0; 114 * intended to be used to get information about built-in displays */
|
/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/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 222 flinger->mCurrentState.displays.removeItem(this); 237 mCurrentState.displays.add(token, info); 245 ssize_t idx = mCurrentState.displays.indexOfKey(display); 251 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); 257 mCurrentState.displays.removeItemsAt(idx); 266 // All non-virtual displays are currently considered secure. 268 mCurrentState.displays.add(mBuiltinDisplays[type], info); 410 // it is to be used with WIFI displays 572 // initialize our non-virtual displays 575 // set-up the displays tha 1871 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument [all...] |
H A D | SurfaceFlinger.h | 108 // force full composition on all displays 178 DefaultKeyedVector< wp<IBinder>, DisplayDeviceState> displays; member in struct:android::SurfaceFlinger::State 197 const Vector<DisplayState>& displays, uint32_t flags);
|
/frameworks/base/media/lib/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/base/services/java/com/android/server/wm/ |
H A D | WindowAnimator.java | 653 // Used to track which displays layout changes have been done. 654 SparseIntArray displays = new SparseIntArray(2); 658 if (displays.indexOfKey(displayId) < 0) { 664 displays.put(displayId, changes);
|
H A D | WindowManagerService.java | 586 // Affects the behavior of mirroring on secondary displays. 746 Display[] displays = mDisplayManager.getDisplays(); 747 for (Display display : displays) { 5301 // TODO(multidisplay): Expand to all displays? 5480 // TODO(multi-display): support multiple displays 6271 // TODO(multidisplay): Extend to multiple displays. 6457 // TODO(multidisplay): Extend to multiple displays. 6816 // TODO(multi-display): support other displays 7301 // TODO(multidisplay): Can non-default displays rotate? 8221 // Not needed on non-default displays [all...] |
/frameworks/base/services/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;
|