Home
last modified time | relevance | path

Searched refs:boundingRect (Results 1 - 2 of 2) sorted by relevance

/foundation/window/window_manager/dmserver/src/
H A Ddisplay_cutout_controller.cpp67 DMRect boundingRect = CalcCutoutBoundingRect(svgPath); in SetCutoutSvgPath() local
69 boundingRects_[displayId].emplace_back(boundingRect); in SetCutoutSvgPath()
72 rectVec.emplace_back(boundingRect); in SetCutoutSvgPath()
104 DMRect boundingRect = *iter; in CheckBoundingRectsBoundary() local
105 if (boundingRect.posX_ < 0 || boundingRect.posY_ < 0 || in CheckBoundingRectsBoundary()
106 static_cast<int32_t>(boundingRect.width_) + boundingRect.posX_ > static_cast<int32_t>(displayWidth) || in CheckBoundingRectsBoundary()
107 static_cast<int32_t>(boundingRect.height_) + boundingRect in CheckBoundingRectsBoundary()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_component_api_bridge.cpp92 Rect boundingRect = delegate->GetBoundingRectData(nodeId); in JsGetBoundingRect() local
94 rectContext->SetProperty(runtime, "width", runtime->NewNumber(boundingRect.Width())); in JsGetBoundingRect()
95 rectContext->SetProperty(runtime, "height", runtime->NewNumber(boundingRect.Height())); in JsGetBoundingRect()
96 rectContext->SetProperty(runtime, "top", runtime->NewNumber(boundingRect.Top())); in JsGetBoundingRect()
97 rectContext->SetProperty(runtime, "left", runtime->NewNumber(boundingRect.Left())); in JsGetBoundingRect()

Completed in 2 milliseconds