Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp84 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId() local
85 if (uniqueDisplayId == currentViewport.uniqueId) { in getDisplayViewportByUniqueId()
86 result = std::make_optional(currentViewport); in getDisplayViewportByUniqueId()
101 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType() local
103 if (currentViewport.type == type) { in getDisplayViewportByType()
105 result = std::make_optional(currentViewport); in getDisplayViewportByType()
119 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort() local
120 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort()
122 return std::make_optional(currentViewport); in getDisplayViewportByPort()
130 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportById() local
[all …]
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp236 const DisplayViewport& currentViewport = mViewports[i]; in updateViewport() local
237 if (currentViewport.displayId == viewport.displayId) { in updateViewport()