Home
last modified time | relevance | path

Searched refs:windowModeSupportType (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/window/window_manager/utils/include/
H A Dwindow_helper.h211 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 Dwindow_property.h73 void SetWindowModeSupportType(uint32_t windowModeSupportType);
/ohos5.0/foundation/window/window_manager/wm/src/zidl/
H A Dwindow_stub.cpp66 uint32_t windowModeSupportType = 0; in OnRemoteRequest() local
67 if (!data.ReadUint32(windowModeSupportType)) { in OnRemoteRequest()
71 UpdateWindowModeSupportType(windowModeSupportType); in OnRemoteRequest()
H A Dwindow_proxy.cpp106 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 Dwindow_agent_fuzzer.cpp64 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 Dwindow_agent.cpp52 WMError WindowAgent::UpdateWindowModeSupportType(uint32_t windowModeSupportType) in UpdateWindowModeSupportType() argument
58 window_->UpdateWindowModeSupportType(windowModeSupportType); in UpdateWindowModeSupportType()
H A Dwindow_impl.cpp1181 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 Dwindow_scene_session_impl.cpp889 uint32_t windowModeSupportType = 0; in GetConfigurationFromAbilityInfo() local
894windowModeSupportType = WindowHelper::ConvertSupportModesToSupportType(supportWindowModes); in GetConfigurationFromAbilityInfo()
896windowModeSupportType = 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 Dwindow_node.cpp132 void WindowNode::SetWindowModeSupportType(uint32_t windowModeSupportType) in SetWindowModeSupportType() argument
134 property_->SetWindowModeSupportType(windowModeSupportType); in SetWindowModeSupportType()
H A Dstarting_window.cpp80 …uint32_t windowModeSupportType = WindowHelper::ConvertSupportModesToSupportType(info->GetWindowSup… in CreateWindowNode() local
81 node->SetWindowModeSupportType(windowModeSupportType); in CreateWindowNode()
H A Dwindow_node_container.cpp2224 uint32_t windowModeSupportType; in UpdateWindowModeSupportTypeWhenKeyguardChange() local
2226 windowModeSupportType = node->GetWindowModeSupportType() & in UpdateWindowModeSupportTypeWhenKeyguardChange()
2229windowModeSupportType = 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 Dwindow_fuzzer.cpp473 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 Dmock_IWindow.h34 MOCK_METHOD1(UpdateWindowModeSupportType, WMError(uint32_t windowModeSupportType));
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dwindow_agent.h33 WMError UpdateWindowModeSupportType(uint32_t windowModeSupportType) override;
H A Dwindow_impl.h243 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 Dwindow_proxy.h35 WMError UpdateWindowModeSupportType(uint32_t windowModeSupportType) override;
H A Dwindow_interface.h61 virtual WMError UpdateWindowModeSupportType(uint32_t windowModeSupportType) = 0;
/ohos5.0/foundation/window/window_manager/utils/test/unittest/
H A Dwindow_property_test.cpp463 uint32_t windowModeSupportType = 1; variable
464 winPropSrc.SetWindowModeSupportType(windowModeSupportType);
466 ASSERT_EQ(res, windowModeSupportType);
/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Dwindow_node.h84 void SetWindowModeSupportType(uint32_t windowModeSupportType);
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test4.cpp1049 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 Dwindow_scene_session_impl_test2.cpp1563 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 Dwindow_session_property_test.cpp412 uint32_t windowModeSupportType = 1234567890; variable
414 windowSessionProperty.SetWindowModeSupportType(windowModeSupportType);
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dwindow_property.cpp484 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 Dwindow_session_property.h86 void SetWindowModeSupportType(uint32_t windowModeSupportType);
/ohos5.0/foundation/window/window_manager/previewer/include/
H A Dwindow_impl.h170 virtual void SetRequestWindowModeSupportType(uint32_t windowModeSupportType) override;

12