/foundation/window/window_manager/dm/src/ |
H A D | oh_display_manager.cpp | 325 static NativeDisplayManager_CutoutInfo* OH_CreateCutoutInfoObject(const sptr<CutoutInfo> &cutoutInfo) in OH_CreateCutoutInfoObject() argument 341 std::vector<DMRect> boundingRects = cutoutInfo->GetBoundingRects(); in OH_CreateCutoutInfoObject() 342 WaterfallDisplayAreaRects waterRects = cutoutInfo->GetWaterfallDisplayAreaRects(); in OH_CreateCutoutInfoObject() 357 NativeDisplayManager_CutoutInfo **cutoutInfo) in OH_NativeDisplayManager_CreateDefaultDisplayCutoutInfo() 359 if (cutoutInfo == NULL) { in OH_NativeDisplayManager_CreateDefaultDisplayCutoutInfo() 360 TLOGE(WmsLogTag::DMS, "[DMNDK] input cutoutInfo null."); in OH_NativeDisplayManager_CreateDefaultDisplayCutoutInfo() 374 *cutoutInfo = OH_CreateCutoutInfoObject(cutoutInfoInner); in OH_NativeDisplayManager_CreateDefaultDisplayCutoutInfo() 375 if (*cutoutInfo == NULL) { in OH_NativeDisplayManager_CreateDefaultDisplayCutoutInfo() 384 NativeDisplayManager_CutoutInfo *cutoutInfo) in OH_NativeDisplayManager_DestroyDefaultDisplayCutoutInfo() 386 if (cutoutInfo in OH_NativeDisplayManager_DestroyDefaultDisplayCutoutInfo() 356 OH_NativeDisplayManager_CreateDefaultDisplayCutoutInfo( NativeDisplayManager_CutoutInfo **cutoutInfo) OH_NativeDisplayManager_CreateDefaultDisplayCutoutInfo() argument 383 OH_NativeDisplayManager_DestroyDefaultDisplayCutoutInfo( NativeDisplayManager_CutoutInfo *cutoutInfo) OH_NativeDisplayManager_DestroyDefaultDisplayCutoutInfo() argument [all...] |
/foundation/window/window_manager/interfaces/kits/dmndk/dm/ |
H A D | oh_display_manager.h | 197 * @param { **cutoutInfo } Indicates the pointer to an <b>NativeDisplayManager_CutoutInfo</b> object. 205 NativeDisplayManager_CutoutInfo **cutoutInfo); 210 * @param { **cutoutInfo } Indicates the pointer to an <b>NativeDisplayManager_CutoutInfo</b> object. 217 NativeDisplayManager_CutoutInfo *cutoutInfo);
|
/foundation/window/window_manager/interfaces/kits/cj/display_runtime/ |
H A D | cj_display_impl.cpp | 73 CCutoutInfo* CreateCCutoutInfoObject(sptr<CutoutInfo> &cutoutInfo) in CreateCCutoutInfoObject() argument 79 std::vector<DMRect> boundingRects = cutoutInfo->GetBoundingRects(); in CreateCCutoutInfoObject() 80 WaterfallDisplayAreaRects waterfallDisplayAreaRects = cutoutInfo->GetWaterfallDisplayAreaRects(); in CreateCCutoutInfoObject() 289 sptr<CutoutInfo> cutoutInfo = display_->GetCutoutInfo(); in GetCutoutInfo() local 290 if (cutoutInfo == nullptr) { in GetCutoutInfo() 294 result.data = CreateCCutoutInfoObject(cutoutInfo); in GetCutoutInfo()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/ |
H A D | screen_session_manager_lite_stub.cpp | 158 sptr<CutoutInfo> cutoutInfo = GetCutoutInfo(displayId); in HandleGetCutoutInfo() local 159 reply.WriteParcelable(cutoutInfo); in HandleGetCutoutInfo()
|
H A D | screen_session_manager_stub.cpp | 564 sptr<CutoutInfo> cutoutInfo = GetCutoutInfo(displayId); in OnRemoteRequest() local 565 reply.WriteParcelable(cutoutInfo); in OnRemoteRequest()
|
/foundation/window/window_manager/utils/src/ |
H A D | cutout_info.cpp | 52 CutoutInfo *cutoutInfo = new CutoutInfo(boundingRects, waterfallDisplayAreaRects); in Unmarshalling() local 53 return cutoutInfo; in Unmarshalling()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_session_dumper.cpp | 408 sptr<CutoutInfo> cutoutInfo = ScreenSessionManager::GetInstance().GetCutoutInfo(id); in DumpCutoutInfoById() local 409 if (cutoutInfo == nullptr) { in DumpCutoutInfoById() 410 TLOGE(WmsLogTag::DMS, "cutoutInfo nullptr. screen id: %{public}" PRIu64"", id); in DumpCutoutInfoById() 413 DumpCutoutInfoPrint(oss, cutoutInfo->GetWaterfallDisplayAreaRects().left, "WaterFall_L<X,Y,W,H>: "); in DumpCutoutInfoById() 414 DumpCutoutInfoPrint(oss, cutoutInfo->GetWaterfallDisplayAreaRects().top, "WaterFall_T<X,Y,W,H>: "); in DumpCutoutInfoById() 415 DumpCutoutInfoPrint(oss, cutoutInfo->GetWaterfallDisplayAreaRects().right, "WaterFall_R<X,Y,W,H>: "); in DumpCutoutInfoById() 416 DumpCutoutInfoPrint(oss, cutoutInfo->GetWaterfallDisplayAreaRects().bottom, "WaterFall_B<X,Y,W,H>: "); in DumpCutoutInfoById() 418 std::vector<DMRect> boundingRects = cutoutInfo->GetBoundingRects(); in DumpCutoutInfoById()
|
H A D | screen_cutout_controller.cpp | 44 sptr<CutoutInfo> cutoutInfo = new CutoutInfo(boundaryRects, waterfallDisplayAreaRects_); in GetScreenCutoutInfo() local 45 return cutoutInfo; in GetScreenCutoutInfo()
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | display_test.cpp | 72 auto cutoutInfo = defaultDisplay_->GetCutoutInfo(); in HWTEST_F() local 73 ASSERT_NE(nullptr, cutoutInfo); in HWTEST_F()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | avoid_area_controller.cpp | 300 sptr<CutoutInfo> cutoutInfo = DisplayManagerServiceInner::GetInstance().GetCutoutInfo(node->GetDisplayId()); in GetAvoidAreaByType() local 301 if (cutoutInfo == nullptr) { in GetAvoidAreaByType() 302 WLOGFE("there is no cutoutInfo"); in GetAvoidAreaByType() 305 std::vector<DMRect> cutoutAreas = cutoutInfo->GetBoundingRects(); in GetAvoidAreaByType()
|
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/ |
H A D | js_display.cpp | 430 sptr<CutoutInfo> cutoutInfo = display_->GetCutoutInfo();
in OnGetCutoutInfo() 431 if (cutoutInfo != nullptr) {
in OnGetCutoutInfo() 432 task->Resolve(env, CreateJsCutoutInfoObject(env, cutoutInfo));
in OnGetCutoutInfo() 693 napi_value CreateJsCutoutInfoObject(napi_env env, sptr<CutoutInfo> cutoutInfo)
in CreateJsCutoutInfoObject() argument 702 if (cutoutInfo == nullptr) {
in CreateJsCutoutInfoObject() 706 std::vector<DMRect> boundingRects = cutoutInfo->GetBoundingRects();
in CreateJsCutoutInfoObject() 707 WaterfallDisplayAreaRects waterfallDisplayAreaRects = cutoutInfo->GetWaterfallDisplayAreaRects();
in CreateJsCutoutInfoObject()
|
H A D | js_display.h | 59 napi_value CreateJsCutoutInfoObject(napi_env env, sptr<CutoutInfo> cutoutInfo);
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_cutout_controller_test.cpp | 94 sptr<CutoutInfo> cutoutInfo = controller->GetCutoutInfo(displayId); in HWTEST_F() local 95 ASSERT_NE(cutoutInfo, nullptr); in HWTEST_F()
|
/foundation/window/window_manager/dmserver/src/ |
H A D | display_cutout_controller.cpp | 89 sptr<CutoutInfo> cutoutInfo(new CutoutInfo(boundingRects, waterfallDisplayAreaRects)); in GetCutoutInfo() 90 return cutoutInfo; in GetCutoutInfo()
|
H A D | display_manager_stub.cpp | 385 sptr<CutoutInfo> cutoutInfo = GetCutoutInfo(displayId);
in OnRemoteRequest() local 386 reply.WriteParcelable(cutoutInfo);
in OnRemoteRequest()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scene_session.cpp | 1528 sptr<CutoutInfo> cutoutInfo = display->GetCutoutInfo(); in GetCutoutAvoidArea() local 1529 if (cutoutInfo == nullptr) { in GetCutoutAvoidArea() 1533 std::vector<DMRect> cutoutAreas = cutoutInfo->GetBoundingRects(); in GetCutoutAvoidArea()
|