Lines Matching defs:window
27 #include "previewer/include/window.h"
329 auto window = GetWindow();
331 window->RegisterAvoidAreaChangeListener(avoidAreaChangedListener_);
333 window->RegisterIgnoreViewSafeAreaListener(ignoreViewSafeAreaListener_);
334 UIEnvCallback callback = [window, id = ACE_INSTANCE_ID](const OHOS::Ace::RefPtr<PipelineContext>& context) mutable {
336 CHECK_NULL_VOID(window);
339 director->SetRSSurfaceNode(window->GetSurfaceNode());
356 view, window, runArgs_.deviceConfig.density, runArgs_.deviceWidth, runArgs_.deviceHeight, callback);
361 view, window, runArgs_.deviceConfig.density, runArgs_.deviceWidth, runArgs_.deviceHeight, callback);
373 pipelineContext->UpdateSystemSafeArea(GetViewSafeAreaByType(Rosen::AvoidAreaType::TYPE_SYSTEM, window));
375 pipelineContext->UpdateCutoutSafeArea(GetViewSafeAreaByType(Rosen::AvoidAreaType::TYPE_CUTOUT, window));
377 pipelineContext->UpdateNavSafeArea(GetViewSafeAreaByType(Rosen::AvoidAreaType::TYPE_NAVIGATION_INDICATOR, window));
520 // Need to change the window resolution and then change the rendering resolution. Otherwise, the image may not adapt
521 // to the new window after the window is modified.