Home
last modified time | relevance | path

Searched refs:currentViewport (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp49 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId() local
50 if (uniqueDisplayId == currentViewport.uniqueId) { in getDisplayViewportByUniqueId()
51 result = std::make_optional(currentViewport); in getDisplayViewportByUniqueId()
66 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType() local
68 if (currentViewport.type == type) { in getDisplayViewportByType()
71 currentViewport.displayId == ui::LogicalDisplayId::DEFAULT)) { in getDisplayViewportByType()
72 result = std::make_optional(currentViewport); in getDisplayViewportByType()
86 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort() local
87 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort()
89 return std::make_optional(currentViewport); in getDisplayViewportByPort()
[all …]
/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp115 const DisplayViewport& currentViewport = mViewports[i]; in updateViewport() local
116 if (currentViewport.displayId == viewport.displayId) { in updateViewport()