Searched refs:displays (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplayStatus.java26 * 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 DDisplayManager.java31 * 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 DRemoteDisplayState.java26 * 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 DMediaRouter.java130 // Only the system can configure wifi displays. The display manager
625 * Temporary interop constant to identify remote displays.
938 Log.e(TAG, "Cannot connect to wifi displays because this process "
1312 WifiDisplay[] displays;
1315 displays = status.getDisplays();
1320 // still publishes information about all available displays.
1324 displays = new WifiDisplay[] { activeDisplay };
1326 displays = WifiDisplay.EMPTY_ARRAY;
1330 displays = WifiDisplay.EMPTY_ARRAY;
1337 for (int i = 0; i < displays
1453 findWifiDisplay(WifiDisplay[] displays, String deviceAddress) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DPersistentDataStore.java55 * &lt;remembered-wifi-displays>
57 * &lt;remembered-wifi-displays>
129 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { argument
130 WifiDisplay[] results = displays;
132 int count = displays.length;
134 WifiDisplay result = applyWifiDisplayAlias(displays[i]);
135 if (result != displays[i]) {
136 if (results == displays) {
138 System.arraycopy(displays, 0, results, 0, count);
287 if (parser.getName().equals("remembered-wifi-displays")) {
[all...]
H A DWifiDisplayAdapter.java49 * 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 DWifiDisplayController.java87 // 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/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java47 * 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/libs/gui/
H A DISurfaceComposer.cpp77 const Vector<DisplayState>& displays,
88 data.writeUint32(static_cast<uint32_t>(displays.size()));
89 for (const auto& d : displays) {
434 Vector<DisplayState> displays; local
435 displays.setCapacity(count);
440 displays.add(d);
444 setTransactionState(state, displays, stateFlags);
75 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
/frameworks/native/include/gui/
H A DISurfaceComposer.h96 /* 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 DSurfaceFlinger.cpp189 ALOGI_IF(!mUseHwcVirtualDisplays, "Disabling HWC virtual displays");
234 flinger->mCurrentState.displays.removeItem(this);
248 mCurrentState.displays.add(token, info);
256 ssize_t idx = mCurrentState.displays.indexOfKey(display);
262 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx));
268 mCurrentState.displays.removeItemsAt(idx);
277 // All non-virtual displays are currently considered secure.
279 mCurrentState.displays.add(mBuiltinDisplays[type], info);
636 // All non-virtual displays are currently considered secure.
970 // All non-virtual displays ar
2246 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
[all...]
H A DSurfaceFlinger_hwc1.cpp187 ALOGI_IF(!mUseHwcVirtualDisplays, "Disabling HWC virtual displays");
232 flinger->mCurrentState.displays.removeItem(this);
246 mCurrentState.displays.add(token, info);
254 ssize_t idx = mCurrentState.displays.indexOfKey(display);
260 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx));
266 mCurrentState.displays.removeItemsAt(idx);
274 // All non-virtual displays are currently considered secure.
276 mCurrentState.displays.add(mBuiltinDisplays[type], info);
490 // initialize our non-virtual displays
493 // set-up the displays tha
2162 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
[all...]
H A DSurfaceFlinger.h116 // force full composition on all displays
193 DefaultKeyedVector< wp<IBinder>, DisplayDeviceState> displays; member in struct:android::SurfaceFlinger::State
212 const Vector<DisplayState>& displays, uint32_t flags);
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java125 * 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 DHWC2On1Adapter.cpp1250 // Only prepare display contents for displays HWC1 knows about
2354 ALOGI("Found support for HWC virtual displays");
2443 // at least two displays down to HWC1
2492 // Return the received contents to their respective displays
2567 std::vector<hwc2_display_t> displays; local
2569 displays.emplace_back(displayPair.first);
2576 for (auto display : displays) {
/frameworks/base/docs/html/topic/performance/
H A Dperformance_toc.cs1461 app bar that displays properly on a wide range of devices."
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs1417 app bar that displays properly on a wide range of devices."
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRouterService.java60 * 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 DActivityStackSupervisor.java543 Display[] displays = mDisplayManager.getDisplays();
544 for (int displayNdx = displays.length - 1; displayNdx >= 0; --displayNdx) {
545 final int displayId = displays[displayNdx].getDisplayId();

Completed in 628 milliseconds