Home
last modified time | relevance | path

Searched refs:mDisplays (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/layout/
DLayout.java39 private final List<Display> mDisplays = new ArrayList<>(2); field in Layout
50 return mDisplays.toString(); in toString()
80 mDisplays.add(display); in createDisplayLocked()
90 mDisplays.remove(display); in removeDisplayLocked()
100 final int size = mDisplays.size(); in contains()
102 if (address.equals(mDisplays.get(i).getAddress())) { in contains()
116 for (int i = 0; i < mDisplays.size(); i++) { in getById()
117 Display display = mDisplays.get(i); in getById()
132 for (int i = 0; i < mDisplays.size(); i++) { in getByAddress()
133 Display display = mDisplays.get(i); in getByAddress()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayController.java58 private final SparseArray<DisplayRecord> mDisplays = new SparseArray<>(); field in DisplayController
105 final DisplayRecord r = mDisplays.get(displayId); in getDisplayLayout()
113 final DisplayRecord r = mDisplays.get(displayId); in getDisplayContext()
121 final DisplayRecord r = mDisplays.get(displayId); in getInsetsState()
129 final DisplayRecord r = mDisplays.get(displayId); in updateDisplayInsets()
140 synchronized (mDisplays) { in addDisplayWindowListener()
145 for (int i = 0; i < mDisplays.size(); ++i) { in addDisplayWindowListener()
146 listener.onDisplayAdded(mDisplays.keyAt(i)); in addDisplayWindowListener()
155 synchronized (mDisplays) { in removeDisplayWindowListener()
175 synchronized (mDisplays) { in onDisplayAdded()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayGroup.java30 private final List<LogicalDisplay> mDisplays = new ArrayList<>(); field in DisplayGroup
52 mDisplays.add(display); in addDisplayLocked()
57 return mDisplays.contains(display); in containsLocked()
68 return mDisplays.remove(display); in removeDisplayLocked()
73 return mDisplays.isEmpty(); in isEmptyLocked()
83 return mDisplays.size(); in getSizeLocked()
88 return mDisplays.get(index).getDisplayIdLocked(); in getIdLocked()
DWifiDisplayAdapter.java87 private WifiDisplay[] mDisplays = WifiDisplay.EMPTY_ARRAY; field in WifiDisplayAdapter
120 pw.println("mDisplays=" + Arrays.toString(mDisplays)); in dumpLocked()
294 mActiveDisplay, mDisplays, mSessionInfo); in getWifiDisplayStatusLocked()
325 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); in updateDisplaysLocked()
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
DRemoteDisplayProvider.java107 private final ArrayMap<String, RemoteDisplay> mDisplays = field in RemoteDisplayProvider
234 return mDisplays.values(); in getDisplays()
244 if (display == null || mDisplays.containsKey(display.getId())) { in addDisplay()
247 mDisplays.put(display.getId(), display); in addDisplay()
258 if (display == null || mDisplays.get(display.getId()) != display) { in updateDisplay()
270 if (display == null || mDisplays.get(display.getId()) != display) { in removeDisplay()
273 mDisplays.remove(display.getId()); in removeDisplay()
284 return mDisplays.get(id); in findRemoteDisplay()
319 final int count = mDisplays.size(); in publishState()
321 final RemoteDisplay display = mDisplays.valueAt(i); in publishState()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java96 private final SparseArray<DisplayMagnification> mDisplays = new SparseArray<>(0); field in FullScreenMagnificationController
731 DisplayMagnification display = mDisplays.get(displayId); in register()
739 mDisplays.put(displayId, display); in register()
764 final SparseArray<DisplayMagnification> displays = mDisplays.clone(); in unregisterAll()
778 final DisplayMagnification display = mDisplays.get(displayId); in onRectangleOnScreenRequested()
824 final DisplayMagnification display = mDisplays.get(displayId); in isRegistered()
839 final DisplayMagnification display = mDisplays.get(displayId); in isMagnifying()
859 final DisplayMagnification display = mDisplays.get(displayId); in magnificationRegionContains()
878 final DisplayMagnification display = mDisplays.get(displayId); in getMagnificationBounds()
896 final DisplayMagnification display = mDisplays.get(displayId); in getMagnificationRegion()
[all …]
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp90 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId()
107 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType()
127 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort()
138 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportById()
147 mDisplays = viewports; in setDisplayViewports()
151 for (const DisplayViewport& viewport : mDisplays) { in dump()
/frameworks/native/services/automotive/display/
DAutomotiveDisplayProxyService.cpp33 auto it = mDisplays.find(id); in getIGraphicBufferProducer()
36 if (it == mDisplays.end()) { in getIGraphicBufferProducer()
89 mDisplays.insert_or_assign(id, std::move(descriptor)); in getIGraphicBufferProducer()
103 auto it = mDisplays.find(id); in showWindow()
104 if (it == mDisplays.end()) { in showWindow()
129 auto it = mDisplays.find(id); in hideWindow()
130 if (it == mDisplays.end()) { in hideWindow()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java42 private final WifiDisplay[] mDisplays; field in WifiDisplayStatus
116 mDisplays = displays; in WifiDisplayStatus()
171 return mDisplays; in getDisplays()
194 dest.writeInt(mDisplays.length); in writeToParcel()
195 for (WifiDisplay display : mDisplays) { in writeToParcel()
214 + ", displays=" + Arrays.toString(mDisplays) in toString()
DDisplayManager.java68 private final SparseArray<Display> mDisplays = new SparseArray<Display>(); field in DisplayManager
609 Display display = mDisplays.get(displayId); in getOrCreateDisplayLocked()
618 mDisplays.put(displayId, display); in getOrCreateDisplayLocked()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouteInfoTest.java162 private Display[] mDisplays = new Display[0]; field in MediaRouteInfoTest.TestableRouteInfo
172 mDisplays = new Display[displays.length]; in setPresentationDisplays()
173 System.arraycopy(displays, 0, mDisplays, 0, displays.length); in setPresentationDisplays()
178 return mDisplays; in getAllPresentationDisplays()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp435 if (mDisplays[change.id()] == nullptr) { in doDisplayTransaction()
436 mDisplayCond.wait(lock, [&] { return (mDisplays[change.id()] != nullptr); }); in doDisplayTransaction()
564 t.setDisplaySurface(mDisplays[id], outProducer); in setDisplaySurface()
569 t.setDisplayLayerStack(mDisplays[id], ui::LayerStack::fromValue(lsc.layer_stack())); in setDisplayLayerStack()
574 t.setDisplaySize(mDisplays[id], sc.w(), sc.h()); in setDisplaySize()
583 t.setDisplayProjection(mDisplays[id], ui::toRotation(pc.orientation()), viewport, frame); in setDisplayProjection()
634 mDisplays[create.id()] = display; in createDisplay()
646 SurfaceComposerClient::destroyDisplay(mDisplays[delete_.id()]); in deleteDisplay()
647 mDisplays.erase(delete_.id()); in deleteDisplay()
653 SurfaceComposerClient::setDisplayPowerMode(mDisplays[pmu.id()], pmu.mode()); in updatePowerMode()
DReplayer.h163 std::unordered_map<display_id, sp<IBinder>> mDisplays; variable
/frameworks/native/services/automotive/display/include/
DAutomotiveDisplayProxyService.h57 std::unordered_map<uint64_t, DisplayDesc> mDisplays; variable
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1203 for (const auto& iter : mDisplays) { in setActiveModeInHwcIfNeeded()
1297 for (const auto& [_, display] : mDisplays) { in disableExpensiveRendering()
2190 const auto& displays = FTL_FAKE_GUARD(mStateLock, mDisplays); in composite()
2630 if (mDisplays.empty()) return ui::Size{5000, 5000}; in getMaxDisplayBounds()
2632 return std::accumulate(mDisplays.begin(), mDisplays.end(), ui::kEmptySize, in getMaxDisplayBounds()
2998 mDisplays.try_emplace(displayToken, std::move(display)); in processDisplayAdded()
3013 mDisplays.erase(displayToken); in processDisplayRemoved()
3049 mDisplays.erase(displayToken); in processDisplayChanged()
3180 for (const auto& [token, display] : mDisplays) { in commitTransactionsLocked()
3282 for (const auto& [_, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in persistDisplayBrightness()
[all …]
DSurfaceFlinger.h905 return mDisplays.get(displayToken).value_or(std::cref(nullDisplay)); in getDisplayDeviceLocked()
948 const auto it = std::find_if(mDisplays.begin(), mDisplays.end(), in findDisplay()
951 return it == mDisplays.end() ? nullptr : it->second; in findDisplay()
1253 ftl::SmallMap<wp<IBinder>, const sp<DisplayDevice>, 5> mDisplays GUARDED_BY(mStateLock);
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h326 std::vector<DisplayViewport> mDisplays;
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h524 const auto& displays() const { return mFlinger->mDisplays; } in displays()
534 auto& mutableDisplays() { return mFlinger->mDisplays; } in mutableDisplays()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h794 auto &mutableDisplays() { return mFlinger->mDisplays; } in mutableDisplays()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19742 Landroid/hardware/display/DisplayManager;->mDisplays:Landroid/util/SparseArray;