Lines Matching refs:cutoutInfo
325 static NativeDisplayManager_CutoutInfo* OH_CreateCutoutInfoObject(const sptr<CutoutInfo> &cutoutInfo)
341 std::vector<DMRect> boundingRects = cutoutInfo->GetBoundingRects();
342 WaterfallDisplayAreaRects waterRects = cutoutInfo->GetWaterfallDisplayAreaRects();
357 NativeDisplayManager_CutoutInfo **cutoutInfo)
359 if (cutoutInfo == NULL) {
360 TLOGE(WmsLogTag::DMS, "[DMNDK] input cutoutInfo null.");
374 *cutoutInfo = OH_CreateCutoutInfoObject(cutoutInfoInner);
375 if (*cutoutInfo == NULL) {
384 NativeDisplayManager_CutoutInfo *cutoutInfo)
386 if (cutoutInfo == NULL) {
387 TLOGE(WmsLogTag::DMS, "[DMNDK] input cutoutInfo null pointer.");
390 if (cutoutInfo->boundingRects != NULL) {
391 free(cutoutInfo->boundingRects);
392 cutoutInfo->boundingRects = NULL;
394 free(cutoutInfo);
395 cutoutInfo = NULL;
396 TLOGI(WmsLogTag::DMS, "[DMNDK] destroy cutoutInfo end.");