Lines Matching refs:surface
64 for (const auto& surface : surfaces) { in DumpState() local
65 if (surface->surface_type() == SurfaceType::Application) { in DumpState()
67 stream << " surface_id=" << surface->surface_id() in DumpState()
68 << " process_id=" << surface->process_id() in DumpState()
69 << " user_id=" << surface->user_id() in DumpState()
70 << " visible=" << surface->visible() in DumpState()
71 << " z_order=" << surface->z_order(); in DumpState()
74 auto queue_ids = surface->GetQueueIds(); in DumpState()
89 for (const auto& surface : surfaces) { in DumpState() local
90 if (surface->surface_type() == SurfaceType::Direct) { in DumpState()
92 stream << " surface_id=" << surface->surface_id() in DumpState()
93 << " process_id=" << surface->process_id() in DumpState()
94 << " user_id=" << surface->user_id() in DumpState()
95 << " visible=" << surface->visible() in DumpState()
96 << " z_order=" << surface->z_order(); in DumpState()
99 auto queue_ids = surface->GetQueueIds(); in DumpState()
117 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { in OnChannelClose() local
118 surface->OnSetAttributes(message, in OnChannelClose()
250 auto surface = surface_status.take(); in OnCreateSurface() local
251 message.SetChannel(surface); in OnCreateSurface()
257 surface->OnSetAttributes(message, attributes); in OnCreateSurface()
259 return {{surface->surface_id(), surface->visible(), surface->z_order()}}; in OnCreateSurface()
317 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); in HandleSurfaceMessage() local
318 ALOGW_IF(!surface, in HandleSurfaceMessage()
321 if (surface) in HandleSurfaceMessage()
322 return surface->HandleMessage(message); in HandleSurfaceMessage()
343 [&](const std::shared_ptr<DisplaySurface>& surface) mutable { in GetVisibleDisplaySurfaces() argument
344 if (surface->visible()) { in GetVisibleDisplaySurfaces()
346 std::static_pointer_cast<DirectDisplaySurface>(surface)); in GetVisibleDisplaySurfaces()
347 surface->ClearUpdate(); in GetVisibleDisplaySurfaces()
407 [&visible](const std::shared_ptr<DisplaySurface>& surface) { in IsVrAppRunning() argument
408 if (surface->visible()) in IsVrAppRunning()