/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_option_test.cpp | 236 * @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 D | window_impl_test2.cpp | 818 * @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 D | window_scene_session_impl_test3.cpp | 323 * @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 D | window_node_container.cpp | 158 !((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 D | window_node.cpp | 324 uint32_t WindowNode::GetWindowFlags() const in GetWindowFlags() function in OHOS::Rosen::WindowNode 326 return property_->GetWindowFlags(); in GetWindowFlags()
|
H A D | window_dumper.cpp | 126 << std::left << std::setw(5) << windowNode->GetWindowFlags() // 5 is width in AppendWindowNodeInfo() 221 oss << "Flag: " << node->GetWindowFlags() << std::endl; in AppendSpecifiedWindowNodeInfo()
|
H A D | window_pair.cpp | 145 if (primary_ != nullptr && !(primary_->GetWindowFlags() & flag) && secondary_ != nullptr && in IsForbidDockSliceMove() 146 !(secondary_->GetWindowFlags() & flag)) { in IsForbidDockSliceMove()
|
H A D | window_controller.cpp | 269 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 D | remote_animation.cpp | 316 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 D | window_layout_policy_tile.cpp | 350 bool needAvoid = (node->GetWindowFlags() & static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_NEED_AVOID)); in UpdateLayoutRect()
|
H A D | starting_window.cpp | 139 displayInfo->GetDisplayOrientation(), property->GetWindowMode(), property->GetWindowFlags(), false))) { in ChangePropertyByApiVersion()
|
H A D | window_layout_policy.cpp | 625 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 D | window_option.h | 288 uint32_t GetWindowFlags() const;
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window_option.h | 350 uint32_t GetWindowFlags() const;
|
/foundation/window/window_manager/previewer/src/ |
H A D | window_option.cpp | 194 uint32_t WindowOption::GetWindowFlags() const in GetWindowFlags() function in OHOS::Rosen::WindowOption
|
/foundation/window/window_manager/wm/src/ |
H A D | window_input_channel.cpp | 128 WindowHelper::IsModalSubWindow(window_->GetType(), window_->GetWindowFlags())) && in HandlePointerEvent()
|
H A D | window_option.cpp | 131 uint32_t WindowOption::GetWindowFlags() const in GetWindowFlags() function in OHOS::Rosen::WindowOption
|
H A D | window_scene_session_impl.cpp | 332 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 D | window_impl.cpp | 145 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 D | sub_session.cpp | 201 isModal = WindowHelper::IsModalSubWindow(property->GetWindowType(), property->GetWindowFlags()); in IsModal()
|
/foundation/window/window_manager/wmserver/include/ |
H A D | window_node.h | 116 uint32_t GetWindowFlags() const;
|
/foundation/window/window_manager/utils/include/ |
H A D | window_property.h | 120 uint32_t GetWindowFlags() const;
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_window.h | 52 virtual uint32_t GetWindowFlags() const {return 0;} in GetWindowFlags() function in OHOS::Rosen::MockWindow
|
/foundation/window/window_manager/wm/include/ |
H A D | window_scene_session_impl.h | 87 virtual uint32_t GetWindowFlags() const override;
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | window_session_property_test.cpp | 228 ASSERT_EQ(property->GetWindowFlags(), 0); in HWTEST_F() 317 ASSERT_EQ(property->GetWindowFlags(), false); in HWTEST_F()
|