Lines Matching refs:rect
330 bool MoveDragController::CheckWindowRect(DisplayId displayId, float vpr, const Rect& rect)
339 return true; // If limitRect is empty, we can't use limitRect to check window rect
342 if ((rect.posX_ > static_cast<int32_t>(limitRect.posX_ + limitRect.width_ - titleBarHeight)) ||
343 (rect.posX_ + static_cast<int32_t>(rect.width_) <
345 (rect.posY_ < limitRect.posY_) ||
346 (rect.posY_ > static_cast<int32_t>(limitRect.posY_ + limitRect.height_ - titleBarHeight))) {
347 WLOGFD("[WMS] Invalid window rect, id: %{public}u, rect: [%{public}d, %{public}d, %{public}d, %{public}d]",
348 windowProperty_->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_);