Lines Matching defs:rect
659 Rect rect = GetRect();
660 config.SetSize(rect.width_, rect.height_);
661 config.SetPosition(rect.posX_, rect.posY_);
1771 Rect rect = (WindowHelper::IsMainFloatingWindow(GetType(), GetMode())) ?
1773 Rect moveRect = { x, y, rect.width_, rect.height_ }; // must keep w/h, which may maintain stashed resize info
1780 "movePos: [%{public}d, %{public}d]", property_->GetWindowId(), rect.posX_, rect.posY_, x, y);
1801 Rect rect = (WindowHelper::IsMainFloatingWindow(GetType(), GetMode())) ?
1803 Rect resizeRect = { rect.posX_, rect.posY_, width, height };
1811 "resizeRect: [%{public}u, %{public}u]", property_->GetWindowId(), rect.width_,
1812 rect.height_, width, height);
2694 void WindowImpl::UpdateRect(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason,
2712 property_->SetRequestRect(rect);
2715 property_->SetWindowRect(rect);
2719 property_->SetOriginRect(rect);
2722 WLOGFD("winId:%{public}u, rect[%{public}d, %{public}d, %{public}u, %{public}u], reason:%{public}u",
2723 property_->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_, reason);
2724 Rect rectToAce = rect;
2730 property_->SetOriginRect(rect);
3003 // calculate rect with hotzone
3064 // calculate window inner rect except frame
3137 const auto& rect = GetRect();
3147 pointDisplayX, pointDisplayY, rect.posX_, rect.posY_, rect.width_, rect.height_);
3421 void WindowImpl::UpdateViewportConfig(const Rect& rect, const sptr<Display>& display, WindowSizeChangeReason reason,
3430 config.SetSize(rect.width_, rect.height_);
3431 config.SetPosition(rect.posX_, rect.posY_);
3441 property_->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_);
3646 Rect rect = GetRect();
3649 listener->OnDrag(point.x - rect.posX_, point.y - rect.posY_, event);
3887 void WindowImpl::NotifySizeChange(Rect rect, WindowSizeChangeReason reason,
3893 listener->OnSizeChange(rect, reason, rsTransaction);
3962 Rect rect = { static_cast<int32_t>((width - alarmWidth) / 2), static_cast<int32_t>((height - alarmHeight) / 2),
3964 return rect;