Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp87 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId() local
88 if (uniqueDisplayId == currentViewport.uniqueId) { in getDisplayViewportByUniqueId()
89 result = std::make_optional(currentViewport); in getDisplayViewportByUniqueId()
104 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType() local
106 if (currentViewport.type == type) { in getDisplayViewportByType()
109 currentViewport.displayId == ADISPLAY_ID_DEFAULT)) { in getDisplayViewportByType()
110 result = std::make_optional(currentViewport); in getDisplayViewportByType()
124 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort() local
125 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort()
127 return std::make_optional(currentViewport); in getDisplayViewportByPort()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp253 const DisplayViewport& currentViewport = mViewports[i]; in updateViewport() local
254 if (currentViewport.displayId == viewport.displayId) { in updateViewport()