Home
last modified time | relevance | path

Searched refs:cutoutInfo (Results 1 - 16 of 16) sorted by relevance

/foundation/window/window_manager/dm/src/
H A Doh_display_manager.cpp325 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 Doh_display_manager.h197 * @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 Dcj_display_impl.cpp73 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 Dscreen_session_manager_lite_stub.cpp158 sptr<CutoutInfo> cutoutInfo = GetCutoutInfo(displayId); in HandleGetCutoutInfo() local
159 reply.WriteParcelable(cutoutInfo); in HandleGetCutoutInfo()
H A Dscreen_session_manager_stub.cpp564 sptr<CutoutInfo> cutoutInfo = GetCutoutInfo(displayId); in OnRemoteRequest() local
565 reply.WriteParcelable(cutoutInfo); in OnRemoteRequest()
/foundation/window/window_manager/utils/src/
H A Dcutout_info.cpp52 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 Dscreen_session_dumper.cpp408 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 Dscreen_cutout_controller.cpp44 sptr<CutoutInfo> cutoutInfo = new CutoutInfo(boundaryRects, waterfallDisplayAreaRects_); in GetScreenCutoutInfo() local
45 return cutoutInfo; in GetScreenCutoutInfo()
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_test.cpp72 auto cutoutInfo = defaultDisplay_->GetCutoutInfo(); in HWTEST_F() local
73 ASSERT_NE(nullptr, cutoutInfo); in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Davoid_area_controller.cpp300 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 Djs_display.cpp430 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 Djs_display.h59 napi_value CreateJsCutoutInfoObject(napi_env env, sptr<CutoutInfo> cutoutInfo);
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_cutout_controller_test.cpp94 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 Ddisplay_cutout_controller.cpp89 sptr<CutoutInfo> cutoutInfo(new CutoutInfo(boundingRects, waterfallDisplayAreaRects)); in GetCutoutInfo()
90 return cutoutInfo; in GetCutoutInfo()
H A Ddisplay_manager_stub.cpp385 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 Dscene_session.cpp1528 sptr<CutoutInfo> cutoutInfo = display->GetCutoutInfo(); in GetCutoutAvoidArea() local
1529 if (cutoutInfo == nullptr) { in GetCutoutAvoidArea()
1533 std::vector<DMRect> cutoutAreas = cutoutInfo->GetBoundingRects(); in GetCutoutAvoidArea()

Completed in 20 milliseconds