Lines Matching defs:rect
41 #include "base/geometry/rect.h"
169 void AceWindowListener::OnSizeChange(OHOS::Rosen::Rect rect, OHOS::Rosen::WindowSizeChangeReason reason,
173 callbackOwner_->OnSizeChange(rect, reason, rsTransaction);
474 Rect rect;
475 CHECK_NULL_RETURN(window, rect);
477 rect.SetRect(windowRect.posX_, windowRect.posY_, windowRect.width_, windowRect.height_);
478 return rect;
509 LOGW("notify window rect explicitly");
685 void AceAbility::OnSizeChange(const OHOS::Rosen::Rect& rect, OHOS::Rosen::WindowSizeChangeReason reason,
688 LOGI("width: %{public}u, height: %{public}u, left: %{public}d, top: %{public}d", rect.width_, rect.height_,
689 rect.posX_, rect.posY_);
690 SystemProperties::SetDeviceOrientation(rect.height_ >= rect.width_ ? 0 : 1);
693 container->SetWindowPos(rect.posX_, rect.posY_);
697 Rect(Offset(rect.posX_, rect.posY_), Size(rect.width_, rect.height_)));
709 [rect, density = density_, reason, container, rsTransaction]() {
712 ViewportConfig config(rect.width_, rect.height_, density);
714 Platform::AceViewOhos::SurfaceChanged(aceView, rect.width_, rect.height_,
715 rect.height_ >= rect.width_ ? 0 : 1, static_cast<WindowSizeChangeReason>(reason), rsTransaction);
740 auto rect = info->rect_;
742 Rect keyboardRect = Rect(rect.posX_, rect.posY_, rect.width_, rect.height_);
743 LOGI("AceAbility OccupiedAreaChange rect:%{public}s type: %{public}d", keyboardRect.ToString().c_str(), type);