Home
last modified time | relevance | path

Searched refs:GetWindowFlags (Results 1 - 25 of 50) sorted by relevance

12

/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_option_test.cpp236 * @tc.desc: SetWindowFlags/GetWindowFlags
243 ASSERT_EQ(1u, option->GetWindowFlags()); in HWTEST_F()
248 * @tc.desc: AddWindowFlag/GetWindowFlags
255 ASSERT_EQ(static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_NEED_AVOID), option->GetWindowFlags()); in HWTEST_F()
260 * @tc.desc: AddWindowFlag/RemoveWindowFlag/GetWindowFlags
269 ASSERT_EQ(static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_PARENT_LIMIT), option->GetWindowFlags()); in HWTEST_F()
H A Dwindow_impl_test2.cpp818 * @tc.desc: GetWindowFlags | SetWindowFlags | AddWindowFlag | RemoveWindowFlag
836 ASSERT_EQ(static_cast<uint32_t>(0), window->GetWindowFlags()); in HWTEST_F()
839 ASSERT_EQ(static_cast<uint32_t>(0), window->GetWindowFlags()); in HWTEST_F()
981 window->property_->SetWindowFlags(window->property_->GetWindowFlags() | in HWTEST_F()
988 window->property_->SetWindowFlags(window->property_->GetWindowFlags() | in HWTEST_F()
995 window->property_->SetWindowFlags(window->property_->GetWindowFlags() & in HWTEST_F()
1002 window->property_->SetWindowFlags(window->property_->GetWindowFlags() & in HWTEST_F()
1039 window->property_->SetWindowFlags(window->property_->GetWindowFlags() | in HWTEST_F()
1047 window->property_->SetWindowFlags(window->property_->GetWindowFlags() | in HWTEST_F()
1054 window->property_->SetWindowFlags(window->property_->GetWindowFlags() in HWTEST_F()
[all...]
H A Dwindow_scene_session_impl_test3.cpp323 * @tc.name: GetWindowFlags
324 * @tc.desc: GetWindowFlags
327 HWTEST_F(WindowSceneSessionImplTest3, GetWindowFlags, Function | SmallTest | Level2) in HWTEST_F()
331 option->SetWindowName("GetWindowFlags"); in HWTEST_F()
337 auto ret = windowSceneSessionImpl->GetWindowFlags(); in HWTEST_F()
421 EXPECT_TRUE(static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_NEED_AVOID) & windowSceneSessionImpl->GetWindowFlags()); in HWTEST_F()
443 &windowSceneSessionImpl->GetWindowFlags()); in HWTEST_F()
464 EXPECT_TRUE(static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_HANDWRITING) & windowSceneSessionImpl->GetWindowFlags()); in HWTEST_F()
486 &windowSceneSessionImpl->GetWindowFlags()); in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_node_container.cpp158 !((parentNode->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_SHOW_WHEN_LOCKED)) && in AddWindowNodeOnWindowTree()
389 if (node->priority_ < topPriority && !WindowHelper::IsShowWhenLocked(node->GetWindowFlags()) && in SetSurfaceNodeVisible()
390 !WindowHelper::IsShowWhenLocked(node->parent_->GetWindowFlags())) { in SetSurfaceNodeVisible()
486 nextRotatableWindow->GetWindowMode(), nextRotatableWindow->GetWindowFlags())) { in HandleRemoveWindowDisplayOrientation()
561 (windowNode->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_SHOW_WHEN_LOCKED))) { in ResetMainFloatingWindowPriorityIfNeeded()
1268 displayInfo->GetDisplayOrientation(), (*iter)->GetWindowFlags())) { in GetExpectImmersiveProperty()
1688 node->GetWindowFlags(), --zOrder, static_cast<uint32_t>(node->GetRequestedOrientation()), in DumpScreenWindowTree()
1729 if (node->priority_ < topPriority && !WindowHelper::IsShowWhenLocked(node->GetWindowFlags()) && in UpdateWindowState()
1730 !WindowHelper::IsShowWhenLocked(node->parent_->GetWindowFlags())) { in UpdateWindowState()
2279 if ((*iter)->GetWindowFlags() in ReZOrderShowWhenLockedWindows()
[all...]
H A Dwindow_node.cpp324 uint32_t WindowNode::GetWindowFlags() const in GetWindowFlags() function in OHOS::Rosen::WindowNode
326 return property_->GetWindowFlags(); in GetWindowFlags()
H A Dwindow_dumper.cpp126 << std::left << std::setw(5) << windowNode->GetWindowFlags() // 5 is width in AppendWindowNodeInfo()
221 oss << "Flag: " << node->GetWindowFlags() << std::endl; in AppendSpecifiedWindowNodeInfo()
H A Dwindow_pair.cpp145 if (primary_ != nullptr && !(primary_->GetWindowFlags() & flag) && secondary_ != nullptr && in IsForbidDockSliceMove()
146 !(secondary_->GetWindowFlags() & flag)) { in IsForbidDockSliceMove()
H A Dwindow_controller.cpp269 WLOGFD("Flags: %{public}u, API version: %{public}u", property->GetWindowFlags(), in CreateWindow()
271 if (property->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_SHOW_WHEN_LOCKED) && in CreateWindow()
273 property->SetWindowFlags(property->GetWindowFlags() & in CreateWindow()
1036 uint32_t oldFlags = property->GetWindowFlags(); in SetWindowFlags()
1471 ret = SetWindowFlags(windowId, property->GetWindowFlags(), property->isSystemCalling_); in UpdateProperty()
H A Dremote_animation.cpp316 bool needAvoid = (dstNode->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_NEED_AVOID)); in GetExpectRect()
330 displayInfo->GetDisplayOrientation(), dstNode->GetWindowFlags())) { in GetExpectRect()
756 displayInfo->GetDisplayOrientation(), windowNode->GetWindowMode(), windowNode->GetWindowFlags())) { in CreateWindowAnimationTarget()
H A Dwindow_layout_policy_tile.cpp350 bool needAvoid = (node->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_NEED_AVOID)); in UpdateLayoutRect()
H A Dstarting_window.cpp139 displayInfo->GetDisplayOrientation(), property->GetWindowMode(), property->GetWindowFlags(), false))) { in ChangePropertyByApiVersion()
H A Dwindow_layout_policy.cpp625 if (!WmsUtils::IsFixedOrientation(requestOrientation, node->GetWindowMode(), node->GetWindowFlags())) { in AdjustFixedOrientationRSSurfaceNode()
702 node->GetWindowMode(), node->GetWindowFlags())) { in UpdateSurfaceBounds()
/foundation/window/window_manager/previewer/include/
H A Dwindow_option.h288 uint32_t GetWindowFlags() const;
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_option.h350 uint32_t GetWindowFlags() const;
/foundation/window/window_manager/previewer/src/
H A Dwindow_option.cpp194 uint32_t WindowOption::GetWindowFlags() const in GetWindowFlags() function in OHOS::Rosen::WindowOption
/foundation/window/window_manager/wm/src/
H A Dwindow_input_channel.cpp128 WindowHelper::IsModalSubWindow(window_->GetType(), window_->GetWindowFlags())) && in HandlePointerEvent()
H A Dwindow_option.cpp131 uint32_t WindowOption::GetWindowFlags() const in GetWindowFlags() function in OHOS::Rosen::WindowOption
H A Dwindow_scene_session_impl.cpp332 bool isToastFlag = property_->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_IS_TOAST); in CreateAndConnectSpecificSession()
410 (property_->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_IS_TOAST))) { in SetSystemWindowDisplayId()
412 if (property_->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_IS_TOAST)) { in SetSystemWindowDisplayId()
595 (property_->GetWindowFlags()) & (static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_NEED_AVOID))); in UpdateWindowState()
631 property_->SetWindowFlags(property_->GetWindowFlags() & in Create()
2674 uint32_t updateFlags = property_->GetWindowFlags() | (static_cast<uint32_t>(flag)); in AddWindowFlag()
2683 uint32_t updateFlags = property_->GetWindowFlags() & (~(static_cast<uint32_t>(flag))); in RemoveWindowFlag()
2694 if (property_->GetWindowFlags() == flags) { in SetWindowFlags()
2698 auto oriFlags = property_->GetWindowFlags(); in SetWindowFlags()
2709 uint32_t WindowSceneSessionImpl::GetWindowFlags() cons function in OHOS::Rosen::WindowSceneSessionImpl
[all...]
H A Dwindow_impl.cpp145 property_->SetWindowFlags(option->GetWindowFlags()); in InitWindowProperty()
360 uint32_t WindowImpl::GetWindowFlags() const in GetWindowFlags() function in OHOS::Rosen::WindowImpl
362 return property_->GetWindowFlags(); in GetWindowFlags()
521 uint32_t updateFlags = property_->GetWindowFlags() | (static_cast<uint32_t>(flag)); in AddWindowFlag()
538 uint32_t updateFlags = property_->GetWindowFlags() & (~(static_cast<uint32_t>(flag))); in RemoveWindowFlag()
548 if (property_->GetWindowFlags() == flags) { in SetWindowFlags()
551 auto oriFlags = property_->GetWindowFlags(); in SetWindowFlags()
1586 bool isShowWhenLocked = GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_SHOW_WHEN_LOCKED); in NeedToStopShowing()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dsub_session.cpp201 isModal = WindowHelper::IsModalSubWindow(property->GetWindowType(), property->GetWindowFlags()); in IsModal()
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node.h116 uint32_t GetWindowFlags() const;
/foundation/window/window_manager/utils/include/
H A Dwindow_property.h120 uint32_t GetWindowFlags() const;
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_window.h52 virtual uint32_t GetWindowFlags() const {return 0;} in GetWindowFlags() function in OHOS::Rosen::MockWindow
/foundation/window/window_manager/wm/include/
H A Dwindow_scene_session_impl.h87 virtual uint32_t GetWindowFlags() const override;
/foundation/window/window_manager/window_scene/test/unittest/
H A Dwindow_session_property_test.cpp228 ASSERT_EQ(property->GetWindowFlags(), 0); in HWTEST_F()
317 ASSERT_EQ(property->GetWindowFlags(), false); in HWTEST_F()

Completed in 39 milliseconds

12