Home
last modified time | relevance | path

Searched refs:GetAvailableArea (Results 1 - 24 of 24) sorted by relevance

/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_test.cpp226 * @tc.name: GetAvailableArea
227 * @tc.desc: test GetAvailableArea
230 HWTEST_F(DisplayTest, GetAvailableArea, Function | SmallTest | Level1) in HWTEST_F()
233 EXPECT_CALL(m->Mock(), GetAvailableArea(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
235 auto res = defaultDisplay_ ->GetAvailableArea(area); in HWTEST_F()
H A Ddisplay_manager_adapter_test.cpp792 * @tc.name: GetAvailableArea
796 HWTEST_F(DisplayManagerAdapterTest, GetAvailableArea, Function | SmallTest | Level2) in HWTEST_F()
799 DMError err = SingletonContainer::Get<DisplayManagerAdapter>().GetAvailableArea(0, area); in HWTEST_F()
/foundation/window/window_manager/dm/src/
H A Ddisplay.cpp224 DMError Display::GetAvailableArea(DMRect& area) const in GetAvailableArea() function in OHOS::Rosen::Display
226 return SingletonContainer::Get<DisplayManagerAdapter>().GetAvailableArea(GetId(), area); in GetAvailableArea()
H A Ddisplay_manager_adapter.cpp761 DMError DisplayManagerAdapter::GetAvailableArea(DisplayId displayId, DMRect& area) in GetAvailableArea() function in OHOS::Rosen::DisplayManagerAdapter
769 return displayManagerServiceProxy_->GetAvailableArea(displayId, area); in GetAvailableArea()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddisplay.h170 DMError GetAvailableArea(DMRect& area) const;
/foundation/window/window_manager/previewer/include/
H A Ddisplay.h163 DMError GetAvailableArea(DMRect& area) const;
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display.h76 static napi_value GetAvailableArea(napi_env env, napi_callback_info info);
H A Djs_display.cpp190 napi_value JsDisplay::GetAvailableArea(napi_env env, napi_callback_info info) in GetAvailableArea() function in OHOS::Rosen::JsDisplay
192 WLOGI("GetAvailableArea is called"); in GetAvailableArea()
483 DmErrorCode ret = DM_JS_TO_ERROR_CODE_MAP.at(display_->GetAvailableArea(area)); in OnGetAvailableArea()
817 BindNativeFunction(env, objValue, "getAvailableArea", "JsDisplay", JsDisplay::GetAvailableArea); in CreateJsDisplayObject()
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_property.h139 DMRect GetAvailableArea() in GetAvailableArea() function in OHOS::Rosen::ScreenProperty
H A Dscreen_session.h228 DMRect GetAvailableArea();
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_dumper.cpp501 << screenProperty.GetAvailableArea().posX_ << ", " in DumpScreenPropertyById()
502 << screenProperty.GetAvailableArea().posY_ << ", " in DumpScreenPropertyById()
503 << screenProperty.GetAvailableArea().width_ << ", " in DumpScreenPropertyById()
504 << screenProperty.GetAvailableArea().height_ << ", " << std::endl; in DumpScreenPropertyById()
H A Dscreen_session_manager.cpp5472 DMError ScreenSessionManager::GetAvailableArea(DisplayId displayId, DMRect& area) in GetAvailableArea() function in OHOS::Rosen::ScreenSessionManager
5484 area = screenSession->GetAvailableArea(); in GetAvailableArea()
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h44 MOCK_METHOD2(GetAvailableArea, DMError(ScreenId screenId, DMRect& area));
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp243 displayInfo->SetAvailableWidth(property_.GetAvailableArea().width_); in ConvertToDisplayInfo()
244 displayInfo->SetAvailableHeight(property_.GetAvailableArea().height_); in ConvertToDisplayInfo()
1398 if (property_.GetAvailableArea() == area) { in UpdateAvailableArea()
1410 DMRect ScreenSession::GetAvailableArea() in GetAvailableArea() function in OHOS::Rosen::ScreenSession
1412 return property_.GetAvailableArea(); in GetAvailableArea()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h78 virtual DMError GetAvailableArea(DisplayId displayId, DMRect& area);
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_interface.h169 virtual DMError GetAvailableArea(DisplayId displayId, DMRect& area) { return DMError::DM_ERROR_DEVICE_NOT_SUPPORT; } in GetAvailableArea() function in OHOS::Rosen::IDisplayManager
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/
H A Dscreen_session_manager_proxy.h165 virtual DMError GetAvailableArea(DisplayId displayId, DMRect& area) override;
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_test.cpp914 DMRect area = screenSession->GetAvailableArea(); in HWTEST_F()
944 * @tc.name: GetAvailableArea
948 HWTEST_F(ScreenSessionTest, GetAvailableArea, Function | SmallTest | Level2) in HWTEST_F()
950 GTEST_LOG_(INFO) << "GetAvailableArea start"; in HWTEST_F()
960 auto res = screenSession->GetAvailableArea(); in HWTEST_F()
962 GTEST_LOG_(INFO) << "GetAvailableArea end"; in HWTEST_F()
H A Dscreen_session_manager_test.cpp2240 * @tc.name: GetAvailableArea
2241 * @tc.desc: GetAvailableArea test
2244 HWTEST_F(ScreenSessionManagerTest, GetAvailableArea, Function | SmallTest | Level3) in HWTEST_F()
2247 EXPECT_EQ(DMError::DM_ERROR_NULLPTR, ssm_->GetAvailableArea(SCREEN_ID_INVALID, area)); in HWTEST_F()
2252 EXPECT_EQ(DMError::DM_OK, ssm_->GetAvailableArea(id, area)); in HWTEST_F()
2647 DMRect area = screenSession->GetAvailableArea(); in HWTEST_F()
H A Dscreen_session_manager_proxy_test.cpp1877 * @tc.name: GetAvailableArea
1878 * @tc.desc: GetAvailableArea
1881 HWTEST_F(ScreenSessionManagerProxyTest, GetAvailableArea, Function | SmallTest | Level1) in HWTEST_F()
1896 screenSessionManagerProxy->GetAvailableArea(displayId, area); in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_session_manager.h270 DMError GetAvailableArea(DisplayId displayId, DMRect& area) override;
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_stub.cpp878 DMError ret = GetAvailableArea(displayId, area); in ProcGetAvailableArea()
H A Dscreen_session_manager_proxy.cpp2723 DMError ScreenSessionManagerProxy::GetAvailableArea(DisplayId displayId, DMRect& area) in GetAvailableArea() function in OHOS::Rosen::ScreenSessionManagerProxy
2727 WLOGFE("GetAvailableArea: remote is null"); in GetAvailableArea()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dui_content_impl.cpp2063 Rosen::DMError ret = defaultDisplay->GetAvailableArea(availableArea); in InitializeDisplayAvailableRect()

Completed in 53 milliseconds