Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp60 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId() local
61 if (uniqueDisplayId == currentViewport.uniqueId) { in getDisplayViewportByUniqueId()
62 result = std::make_optional(currentViewport); in getDisplayViewportByUniqueId()
77 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType() local
79 if (currentViewport.type == type && !result) { in getDisplayViewportByType()
80 result = std::make_optional(currentViewport); in getDisplayViewportByType()
93 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort() local
94 const std::optional<uint8_t>& physicalPort = currentViewport.physicalPort; in getDisplayViewportByPort()
96 return std::make_optional(currentViewport); in getDisplayViewportByPort()