Lines Matching defs:rect
328 // using starting window rect if client rect is empty
452 const Rect& rect, const Rect& occupiedArea)
455 // update calling window rect
456 callingWindow->SetWindowRect(rect);
457 WindowLayoutPolicy::CalcAndSetNodeHotZone(rect, callingWindow);
461 auto setBoundsFun = [weakNode, rect]() {
468 winNode->leashWinSurfaceNode_->SetBounds(rect.posX_, rect.posY_, rect.width_, rect.height_);
470 winNode->startingWinSurfaceNode_->SetBounds(0, 0, rect.width_, rect.height_);
473 winNode->surfaceNode_->SetBounds(0, 0, rect.width_, rect.height_);
477 winNode->surfaceNode_->SetBounds(rect.posX_, rect.posY_, rect.width_, rect.height_);
489 const Rect& safeRect = WindowHelper::GetOverlap(occupiedArea, rect, 0, 0);
496 callingWindow->GetWindowToken()->UpdateOccupiedAreaAndRect(info, rect,
500 callingWindow->GetWindowToken()->UpdateOccupiedAreaAndRect(info, rect);
507 callingWindow->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_,
544 // calculate new rect of calling window
679 WMError WindowController::ResizeRect(uint32_t windowId, const Rect& rect, WindowSizeChangeReason reason)
695 rect == node->GetWindowRect()) {
704 newRect = { rect.posX_, rect.posY_, lastRect.width_, lastRect.height_ };
716 newRect = { lastRect.posX_, lastRect.posY_, rect.width_, rect.height_ };
718 newRect = rect;
734 WMError WindowController::ResizeRectAndFlush(uint32_t windowId, const Rect& rect, WindowSizeChangeReason reason)
736 WMError res = ResizeRect(windowId, rect, reason);
1597 WLOGI("window %{public}d maximizeMode %{public}d rect %{public}d %{public}d %{public}d %{public}d",
1715 for (const auto& rect : rects) {
1716 oss << "[ " << rect.posX_ << ", " << rect.posY_ << ", " << rect.width_ << ", " << rect.height_ << " ]";