Lines Matching refs:currentViewport
49 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()
97 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportById() local
98 if (currentViewport.displayId == displayId) { in getDisplayViewportById()
99 return std::make_optional(currentViewport); in getDisplayViewportById()