Home
last modified time | relevance | path

Searched refs:targetRect (Results 1 – 2 of 2) sorted by relevance

/foundation/windowmanager/utils/include/
Dwindow_helper.h156 static bool IsPointInTargetRect(int32_t pointPosX, int32_t pointPosY, const Rect& targetRect) in IsPointInTargetRect() argument
158 if ((pointPosX > targetRect.posX_) && in IsPointInTargetRect()
159 (pointPosX < (targetRect.posX_ + static_cast<int32_t>(targetRect.width_))) && in IsPointInTargetRect()
160 (pointPosY > targetRect.posY_) && in IsPointInTargetRect()
161 (pointPosY < (targetRect.posY_ + static_cast<int32_t>(targetRect.height_)))) { in IsPointInTargetRect()
/foundation/windowmanager/wmserver/src/
Dwindow_controller.cpp110 Rect targetRect = node->GetWindowRect(); in ReSizeSystemBarPropertySizeIfNeed() local
115 targetRect = statusBarRectIter->second; in ReSizeSystemBarPropertySizeIfNeed()
121 targetRect = navigationBarRectIter->second; in ReSizeSystemBarPropertySizeIfNeed()
128 if (propertyRect != targetRect) { in ReSizeSystemBarPropertySizeIfNeed()
129 ResizeRect(node->GetWindowId(), targetRect, WindowSizeChangeReason::DRAG); in ReSizeSystemBarPropertySizeIfNeed()