Lines Matching refs:boundingRects
287 static NativeDisplayManager_Rect* OH_CreateBoundingRects(const std::vector<DMRect> &boundingRects)
289 int32_t boundSize = static_cast<int32_t>(boundingRects.size());
306 OH_SetDisplayRect(boundingRects[i], (ohBoundingRects + i));
341 std::vector<DMRect> boundingRects = cutoutInfo->GetBoundingRects();
343 ohCutoutInfo->boundingRectsLength = static_cast<int32_t>(boundingRects.size());
345 ohCutoutInfo->boundingRects = OH_CreateBoundingRects(boundingRects);
346 if (ohCutoutInfo->boundingRects == NULL) {
390 if (cutoutInfo->boundingRects != NULL) {
391 free(cutoutInfo->boundingRects);
392 cutoutInfo->boundingRects = NULL;