/ohos5.0/foundation/window/window_manager/utils/include/ |
H A D | window_helper.h | 211 static bool IsWindowModeSupported(uint32_t windowModeSupportType, WindowMode mode) in IsWindowModeSupported() argument 223 return WindowModeSupport::WINDOW_MODE_SUPPORT_PIP & windowModeSupportType; in IsWindowModeSupported() 231 static WindowMode GetWindowModeFromWindowModeSupportType(uint32_t windowModeSupportType) in GetWindowModeFromWindowModeSupportType() argument 234 uint32_t windowModeSupport = windowModeSupportType & (~windowModeSupportType + 1); in GetWindowModeFromWindowModeSupportType() 254 uint32_t windowModeSupportType = 0; in ConvertSupportModesToSupportType() local 257 windowModeSupportType |= WindowModeSupport::WINDOW_MODE_SUPPORT_FULLSCREEN; in ConvertSupportModesToSupportType() 262 windowModeSupportType |= WindowModeSupport::WINDOW_MODE_SUPPORT_FLOATING; in ConvertSupportModesToSupportType() 265 return windowModeSupportType; in ConvertSupportModesToSupportType() 529 if (isShowWhenLocked && (splitMode == windowModeSupportType)) { in IsOnlySupportSplitAndShowWhenLocked() 544 static bool CheckSupportWindowMode(WindowMode winMode, uint32_t windowModeSupportType, in CheckSupportWindowMode() argument [all …]
|
H A D | window_property.h | 73 void SetWindowModeSupportType(uint32_t windowModeSupportType);
|
/ohos5.0/foundation/window/window_manager/wm/src/zidl/ |
H A D | window_stub.cpp | 66 uint32_t windowModeSupportType = 0; in OnRemoteRequest() local 67 if (!data.ReadUint32(windowModeSupportType)) { in OnRemoteRequest() 71 UpdateWindowModeSupportType(windowModeSupportType); in OnRemoteRequest()
|
H A D | window_proxy.cpp | 106 WMError WindowProxy::UpdateWindowModeSupportType(uint32_t windowModeSupportType) in UpdateWindowModeSupportType() argument 115 if (!data.WriteUint32(windowModeSupportType)) { in UpdateWindowModeSupportType()
|
/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/windowagent_fuzzer/ |
H A D | window_agent_fuzzer.cpp | 64 uint32_t windowModeSupportType; in CheckWindowAgentFunctionsPart1() local 65 startPos += GetObject<uint32_t>(windowModeSupportType, data + startPos, size - startPos); in CheckWindowAgentFunctionsPart1() 66 agent->UpdateWindowModeSupportType(windowModeSupportType); in CheckWindowAgentFunctionsPart1()
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | window_agent.cpp | 52 WMError WindowAgent::UpdateWindowModeSupportType(uint32_t windowModeSupportType) in UpdateWindowModeSupportType() argument 58 window_->UpdateWindowModeSupportType(windowModeSupportType); in UpdateWindowModeSupportType()
|
H A D | window_impl.cpp | 1181 if (windowModeSupportType == 0) { in GetConfigurationFromAbilityInfo() 1183 windowModeSupportType = WindowModeSupport::WINDOW_MODE_SUPPORT_ALL; in GetConfigurationFromAbilityInfo() 1186 SetRequestWindowModeSupportType(windowModeSupportType); in GetConfigurationFromAbilityInfo() 1221 auto windowModeSupportType = GetWindowModeSupportType(); in UpdateTitleButtonVisibility() local 2720 void WindowImpl::SetRequestWindowModeSupportType(uint32_t windowModeSupportType) in SetRequestWindowModeSupportType() argument 2722 property_->SetRequestWindowModeSupportType(windowModeSupportType); in SetRequestWindowModeSupportType() 2723 SetWindowModeSupportType(windowModeSupportType); in SetRequestWindowModeSupportType() 2726 void WindowImpl::SetWindowModeSupportType(uint32_t windowModeSupportType) in SetWindowModeSupportType() argument 2728 property_->SetWindowModeSupportType(windowModeSupportType); in SetWindowModeSupportType() 2823 void WindowImpl::UpdateWindowModeSupportType(uint32_t windowModeSupportType) in UpdateWindowModeSupportType() argument [all …]
|
H A D | window_scene_session_impl.cpp | 889 uint32_t windowModeSupportType = 0; in GetConfigurationFromAbilityInfo() local 894 … windowModeSupportType = WindowHelper::ConvertSupportModesToSupportType(supportWindowModes); in GetConfigurationFromAbilityInfo() 896 … windowModeSupportType = WindowHelper::ConvertSupportModesToSupportType(abilityInfo->windowModes); in GetConfigurationFromAbilityInfo() 898 if (windowModeSupportType == 0) { in GetConfigurationFromAbilityInfo() 900 windowModeSupportType = WindowModeSupport::WINDOW_MODE_SUPPORT_ALL; in GetConfigurationFromAbilityInfo() 903 GetWindowId(), windowModeSupportType); in GetConfigurationFromAbilityInfo() 904 property_->SetWindowModeSupportType(windowModeSupportType); in GetConfigurationFromAbilityInfo() 910 (windowModeSupportType == WindowModeSupport::WINDOW_MODE_SUPPORT_FULLSCREEN) : in GetConfigurationFromAbilityInfo() 911 … (WindowHelper::IsWindowModeSupported(windowModeSupportType, WindowMode::WINDOW_MODE_FULLSCREEN) && in GetConfigurationFromAbilityInfo() 912 … !WindowHelper::IsWindowModeSupported(windowModeSupportType, WindowMode::WINDOW_MODE_FLOATING)); in GetConfigurationFromAbilityInfo()
|
/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | window_node.cpp | 132 void WindowNode::SetWindowModeSupportType(uint32_t windowModeSupportType) in SetWindowModeSupportType() argument 134 property_->SetWindowModeSupportType(windowModeSupportType); in SetWindowModeSupportType()
|
H A D | starting_window.cpp | 80 …uint32_t windowModeSupportType = WindowHelper::ConvertSupportModesToSupportType(info->GetWindowSup… in CreateWindowNode() local 81 node->SetWindowModeSupportType(windowModeSupportType); in CreateWindowNode()
|
H A D | window_node_container.cpp | 2224 uint32_t windowModeSupportType; in UpdateWindowModeSupportTypeWhenKeyguardChange() local 2226 windowModeSupportType = node->GetWindowModeSupportType() & in UpdateWindowModeSupportTypeWhenKeyguardChange() 2229 …windowModeSupportType = node->GetWindowModeSupportType() | WindowModeSupport::WINDOW_MODE_SUPPORT_… in UpdateWindowModeSupportTypeWhenKeyguardChange() 2231 node->SetWindowModeSupportType(windowModeSupportType); in UpdateWindowModeSupportTypeWhenKeyguardChange() 2233 node->GetWindowToken()->UpdateWindowModeSupportType(windowModeSupportType); in UpdateWindowModeSupportTypeWhenKeyguardChange()
|
/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/window_fuzzer/ |
H A D | window_fuzzer.cpp | 473 uint32_t windowModeSupportType; in CheckWindowImplFunctionsPart3() local 474 startPos += GetObject(windowModeSupportType, data + startPos, size - startPos); in CheckWindowImplFunctionsPart3() 475 window->UpdateWindowModeSupportType(windowModeSupportType); in CheckWindowImplFunctionsPart3() 684 uint32_t windowModeSupportType; in CheckWindowImplFunctionsPart7() local 685 startPos += GetObject<uint32_t>(windowModeSupportType, data + startPos, size - startPos); in CheckWindowImplFunctionsPart7() 686 window->SetRequestWindowModeSupportType(windowModeSupportType); in CheckWindowImplFunctionsPart7()
|
/ohos5.0/foundation/window/window_manager/test/common/mock/ |
H A D | mock_IWindow.h | 34 MOCK_METHOD1(UpdateWindowModeSupportType, WMError(uint32_t windowModeSupportType));
|
/ohos5.0/foundation/window/window_manager/wm/include/ |
H A D | window_agent.h | 33 WMError UpdateWindowModeSupportType(uint32_t windowModeSupportType) override;
|
H A D | window_impl.h | 243 virtual void SetRequestWindowModeSupportType(uint32_t windowModeSupportType) override; 249 void UpdateWindowModeSupportType(uint32_t windowModeSupportType); 416 void SetWindowModeSupportType(uint32_t windowModeSupportType);
|
/ohos5.0/foundation/window/window_manager/wm/include/zidl/ |
H A D | window_proxy.h | 35 WMError UpdateWindowModeSupportType(uint32_t windowModeSupportType) override;
|
H A D | window_interface.h | 61 virtual WMError UpdateWindowModeSupportType(uint32_t windowModeSupportType) = 0;
|
/ohos5.0/foundation/window/window_manager/utils/test/unittest/ |
H A D | window_property_test.cpp | 463 uint32_t windowModeSupportType = 1; variable 464 winPropSrc.SetWindowModeSupportType(windowModeSupportType); 466 ASSERT_EQ(res, windowModeSupportType);
|
/ohos5.0/foundation/window/window_manager/wmserver/include/ |
H A D | window_node.h | 84 void SetWindowModeSupportType(uint32_t windowModeSupportType);
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_session_impl_test4.cpp | 1049 uint32_t windowModeSupportType = 1 | (1 << 1) | (1 << 2); variable 1050 window->property_->SetWindowModeSupportType(windowModeSupportType); 1119 uint32_t windowModeSupportType = 1 | (1 << 1); variable 1120 window->property_->SetWindowModeSupportType(windowModeSupportType); 1152 uint32_t windowModeSupportType = 1 | (1 << 1) | (1 << 2); variable 1153 window->property_->SetWindowModeSupportType(windowModeSupportType);
|
H A D | window_scene_session_impl_test2.cpp | 1563 uint32_t windowModeSupportType = 1 | (1 << 1) | (1 << 2); variable 1564 window->property_->SetWindowModeSupportType(windowModeSupportType); 1592 uint32_t windowModeSupportType = 1 | (1 << 1); variable 1593 window->property_->SetWindowModeSupportType(windowModeSupportType); 1621 uint32_t windowModeSupportType = 1 | (1 << 1) | (1 << 2); variable 1622 window->property_->SetWindowModeSupportType(windowModeSupportType);
|
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | window_session_property_test.cpp | 412 uint32_t windowModeSupportType = 1234567890; variable 414 windowSessionProperty.SetWindowModeSupportType(windowModeSupportType);
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | window_property.cpp | 484 void WindowProperty::SetWindowModeSupportType(uint32_t windowModeSupportType) in SetWindowModeSupportType() argument 486 windowModeSupportType_ = windowModeSupportType; in SetWindowModeSupportType()
|
/ohos5.0/foundation/window/window_manager/window_scene/common/include/ |
H A D | window_session_property.h | 86 void SetWindowModeSupportType(uint32_t windowModeSupportType);
|
/ohos5.0/foundation/window/window_manager/previewer/include/ |
H A D | window_impl.h | 170 virtual void SetRequestWindowModeSupportType(uint32_t windowModeSupportType) override;
|