Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java82 private final SparseArray<DisplayMagnification> mDisplays = new SparseArray<>(0); field in MagnificationController
625 DisplayMagnification display = mDisplays.get(displayId); in register()
633 mDisplays.put(displayId, display); in register()
658 final SparseArray<DisplayMagnification> displays = mDisplays.clone(); in unregisterAll()
687 final DisplayMagnification display = mDisplays.get(displayId); in isRegistered()
702 final DisplayMagnification display = mDisplays.get(displayId); in isMagnifying()
722 final DisplayMagnification display = mDisplays.get(displayId); in magnificationRegionContains()
741 final DisplayMagnification display = mDisplays.get(displayId); in getMagnificationBounds()
759 final DisplayMagnification display = mDisplays.get(displayId); in getMagnificationRegion()
776 final DisplayMagnification display = mDisplays.get(displayId); in getScale()
[all …]
/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/native/services/inputflinger/
DInputReaderBase.cpp60 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId()
77 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType()
93 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort()
104 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportById()
113 mDisplays = viewports; in setDisplayViewports()
117 for (const DisplayViewport& viewport : mDisplays) { in dump()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java41 private final WifiDisplay[] mDisplays; field in WifiDisplayStatus
115 mDisplays = displays; in WifiDisplayStatus()
170 return mDisplays; in getDisplays()
193 dest.writeInt(mDisplays.length); in writeToParcel()
194 for (WifiDisplay display : mDisplays) { in writeToParcel()
213 + ", displays=" + Arrays.toString(mDisplays) in toString()
DDisplayManager.java52 private final SparseArray<Display> mDisplays = new SparseArray<Display>(); field in DisplayManager
399 Display display = mDisplays.get(displayId); in getOrCreateDisplayLocked()
408 mDisplays.put(displayId, display); in getOrCreateDisplayLocked()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp433 if (mDisplays[change.id()] == nullptr) { in doDisplayTransaction()
434 mDisplayCond.wait(lock, [&] { return (mDisplays[change.id()] != nullptr); }); in doDisplayTransaction()
575 t.setDisplaySurface(mDisplays[id], outProducer); in setDisplaySurface()
580 t.setDisplayLayerStack(mDisplays[id], lsc.layer_stack()); in setDisplayLayerStack()
585 t.setDisplaySize(mDisplays[id], sc.w(), sc.h()); in setDisplaySize()
594 t.setDisplayProjection(mDisplays[id], pc.orientation(), viewport, frame); in setDisplayProjection()
645 mDisplays[create.id()] = display; in createDisplay()
657 SurfaceComposerClient::destroyDisplay(mDisplays[delete_.id()]); in deleteDisplay()
658 mDisplays.erase(delete_.id()); in deleteDisplay()
664 SurfaceComposerClient::setDisplayPowerMode(mDisplays[pmu.id()], pmu.mode()); in updatePowerMode()
DReplayer.h155 std::unordered_map<display_id, sp<IBinder>> mDisplays; variable
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2Test.cpp139 mDisplays.insert(display); in hotplugCallback()
1051 if (mDisplays.count(display) == 0) { in getBadDisplay()
1248 for (auto display : mDisplays) { in setLayerProperty()
1280 for (auto display : mDisplays) { in setLayerPropertyUpdate()
1313 for (auto display : mDisplays) { in setLayerProperties()
1351 for (auto display : mDisplays) { in setLayerPropertyBadLayer()
1390 for (auto display : mDisplays) { in setLayerPropertyBadParameter()
1419 for (auto display : mDisplays) { in displayLayers()
1461 for (auto display : mDisplays) { in displayNonValidatedLayers()
1504 for (auto display : mDisplays) { in setClientTargetSupport()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java86 private WifiDisplay[] mDisplays = WifiDisplay.EMPTY_ARRAY; field in WifiDisplayAdapter
113 pw.println("mDisplays=" + Arrays.toString(mDisplays)); in dumpLocked()
286 mActiveDisplay, mDisplays, mSessionInfo); in getWifiDisplayStatusLocked()
317 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); in updateDisplaysLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp149 mDisplays.emplace(displayId, std::move(display)); in createVirtualDisplay()
157 mDisplays.erase(displayId); in destroyDisplay()
170 mDisplays.erase(displayId); in onHotplug()
187 mDisplays.emplace(displayId, std::move(newDisplay)); in onHotplug()
204 auto iter = mDisplays.find(id); in getDisplayById()
205 return iter == mDisplays.end() ? nullptr : iter->second.get(); in getDisplayById()
DHWC2.h124 std::unordered_map<hwc2_display_t, std::unique_ptr<Display>> mDisplays; variable
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1532 mDisplays.clear(); in resetDisplayState()
1563 for (const auto& [token, displayDevice] : mDisplays) { in updateVrFlinger()
1763 for (const auto& [token, display] : mDisplays) { in handleMessageRefresh()
1777 for (const auto& [token, displayDevice] : mDisplays) { in handleMessageRefresh()
1822 for (const auto& [token, displayDevice] : mDisplays) { in calculateWorkingSet()
1853 for (const auto& [token, displayDevice] : mDisplays) { in calculateWorkingSet()
1910 for (const auto& [token, displayDevice] : mDisplays) { in calculateWorkingSet()
1953 for (const auto& [token, display] : mDisplays) { in logLayerStats()
2189 for (const auto& pair : mDisplays) { in computeLayerBounds()
2212 for (const auto& pair : mDisplays) { in rebuildLayerStacks()
[all …]
DSurfaceFlinger.h703 const auto it = mDisplays.find(displayToken); in getDisplayDeviceLocked()
704 return it == mDisplays.end() ? nullptr : it->second; in getDisplayDeviceLocked()
1012 std::map<wp<IBinder>, sp<DisplayDevice>> mDisplays; variable
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h288 std::vector<DisplayViewport> mDisplays;
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h323 auto& mutableDisplays() { return mFlinger->mDisplays; } in mutableDisplays()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt22629 Landroid/hardware/display/DisplayManager;->mDisplays:Landroid/util/SparseArray;