/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | avoid_area_controller_test.cpp | 266 ASSERT_EQ(true, CheckSameArea(avoidArea, statusbarWindowNode->GetWindowRect(), in HWTEST_F() 267 EMPTY_RECT, EMPTY_RECT, navigationBarWindowNode->GetWindowRect())); in HWTEST_F() 270 Rect statusBarRect = statusbarWindowNode->GetWindowRect(); in HWTEST_F() 271 Rect navigationBarRect = navigationBarWindowNode->GetWindowRect(); in HWTEST_F() 281 ASSERT_EQ(true, CheckSameArea(avoidArea, statusbarWindowNode->GetWindowRect(), in HWTEST_F() 282 EMPTY_RECT, EMPTY_RECT, navigationBarWindowNode->GetWindowRect())); in HWTEST_F() 311 ASSERT_EQ(true, CheckSameArea(avoidArea, statusbarWindowNode->GetWindowRect(), in HWTEST_F() 318 ASSERT_EQ(true, CheckSameArea(avoidArea, statusbarWindowNode->GetWindowRect(), EMPTY_RECT, in HWTEST_F() 319 EMPTY_RECT, navigationBarWindowNode->GetWindowRect())); in HWTEST_F() 322 Rect statusBarRect = statusbarWindowNode->GetWindowRect(); in HWTEST_F() [all...] |
H A D | window_node_test.cpp | 308 * @tc.desc: SetWindowRect & GetWindowRect 323 ASSERT_EQ(0, windowNode->GetWindowRect().posX_); in HWTEST_F() 324 ASSERT_EQ(0, windowNode->GetWindowRect().posY_); in HWTEST_F() 325 ASSERT_EQ(0, windowNode->GetWindowRect().width_); in HWTEST_F() 326 ASSERT_EQ(0, windowNode->GetWindowRect().height_); in HWTEST_F() 330 ASSERT_EQ(10, windowNode->GetWindowRect().posX_); in HWTEST_F() 331 ASSERT_EQ(10, windowNode->GetWindowRect().posY_); in HWTEST_F() 332 ASSERT_EQ(255, windowNode->GetWindowRect().width_); in HWTEST_F() 333 ASSERT_EQ(255, windowNode->GetWindowRect().height_); in HWTEST_F()
|
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_layout_test.cpp | 668 rect = window->property_->GetWindowRect();
in HWTEST_F() 675 rect = window->property_->GetWindowRect();
in HWTEST_F() 682 rect = window->property_->GetWindowRect();
in HWTEST_F() 689 rect = window->property_->GetWindowRect();
in HWTEST_F() 721 rectOld = window->property_->GetWindowRect();
in HWTEST_F() 725 rectNow = window->property_->GetWindowRect();
in HWTEST_F() 729 rectOld = window->property_->GetWindowRect();
in HWTEST_F() 733 rectNow = window->property_->GetWindowRect();
in HWTEST_F() 737 rectOld = window->property_->GetWindowRect();
in HWTEST_F() 741 rectNow = window->property_->GetWindowRect();
in HWTEST_F() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_input_channel_test.cpp | 170 * @tc.name: GetWindowRect
171 * @tc.desc: GetWindowRect
174 HWTEST_F(WindowInputChannelTest, GetWindowRect, Function | SmallTest | Level2)
in HWTEST_F() 179 auto rect = inputChannel->GetWindowRect();
in HWTEST_F() 183 auto rect2 = inputChannel->GetWindowRect();
in HWTEST_F()
|
H A D | window_option_test.cpp | 63 * @tc.desc: SetWindowRect/GetWindowRect 72 ASSERT_EQ(1, option->GetWindowRect().posX_); in HWTEST_F() 73 ASSERT_EQ(2, option->GetWindowRect().posY_); in HWTEST_F() 74 ASSERT_EQ(3u, option->GetWindowRect().width_); in HWTEST_F() 75 ASSERT_EQ(4u, option->GetWindowRect().height_); in HWTEST_F()
|
/foundation/window/window_manager/wm/include/ |
H A D | window_input_channel.h | 33 Rect GetWindowRect();
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | iability_callback.h | 80 virtual void GetWindowRect(int32_t &left, int32_t &top, int32_t &width, int32_t &height) = 0;
|
/foundation/window/window_manager/wmserver/src/ |
H A D | display_zoom_controller.cpp | 51 Rect rect = node->GetWindowRect(); in SetAnchorAndScale() 189 Rect originalRect = deskTop->GetWindowRect(); in UpdateZoomTranslateInfo() 218 Rect rect = node->GetWindowRect(); in CalcuAnimateZoomTrans() 260 Rect rect = node->GetWindowRect(); in CalcuZoomTransByZoomInfo() 274 Rect rect = node->GetWindowRect(); in CalcuZoomTrans()
|
H A D | window_controller.cpp | 331 property->SetWindowRect(node->GetWindowRect()); in AddWindowNode() 391 navigationBarHeight = windowNode->GetWindowRect().height_; in GetNavigationBarHeight() 537 const Rect& softInputWindowRect = node->GetWindowRect(); in ResizeSoftInputCallingWindowIfNeed() 538 const Rect& callingWindowRect = callingWindow->GetWindowRect(); in ResizeSoftInputCallingWindowIfNeed() 551 statusBarWindowRect = statusbarWindow->GetWindowRect(); in ResizeSoftInputCallingWindowIfNeed() 695 rect == node->GetWindowRect()) { in ResizeRect() 701 Rect lastRect = property->GetWindowRect(); in ResizeRect() 958 auto windowRect = node->GetWindowRect(); in StopBootAnimationIfNeed() 1096 if (node->GetWindowRect().width_ > node->GetWindowRect() in ChangeMouseStyle() [all...] |
H A D | window_pair.cpp | 158 Rect rect = divider_->GetWindowRect(); in IsDockSliceInExitSplitModeArea() 175 Rect dividerRect = divider_->GetWindowRect(); in ExitSplitMode() 178 if ((isVertical && (primary_->GetWindowRect().height_ < secondary_->GetWindowRect().height_)) || in ExitSplitMode() 179 (!isVertical && (primary_->GetWindowRect().width_ < secondary_->GetWindowRect().width_))) { in ExitSplitMode()
|
H A D | drag_controller.cpp | 104 PointInfo point = {property->GetWindowRect().posX_ + property->GetHitOffset().x, in FinishDrag() 105 property->GetWindowRect().posY_ + property->GetHitOffset().y}; in FinishDrag() 132 if (WindowHelper::IsPointInTargetRect(point.x, point.y, windowNode->GetWindowRect())) { in GetHitWindow() 147 point.x = property->GetWindowRect().posX_ + property->GetHitOffset().x; in GetHitPoint() 148 point.y = property->GetWindowRect().posY_ + property->GetHitOffset().y; in GetHitPoint()
|
H A D | window_node_container.cpp | 228 auto winRect = node->GetWindowRect(); in LayoutWhenAddWindowNode() 672 layoutPolicy_->NotifyClientAndAnimation(child, child->GetWindowRect(), reason); in UpdateSizeChangeReason() 678 layoutPolicy_->NotifyClientAndAnimation(node, node->GetWindowRect(), reason); in UpdateSizeChangeReason() 807 node->surfaceNode_->SetTranslateX(node->GetWindowRect().posX_ - parentNode->GetWindowRect().posX_); in AddNodeOnRSTree() 808 node->surfaceNode_->SetTranslateY(node->GetWindowRect().posY_ - parentNode->GetWindowRect().posY_); in AddNodeOnRSTree() 1383 if (sysNode == nullptr || it.second.region_ == sysNode->GetWindowRect()) { in NotifyIfSystemBarRegionChanged() 1386 const Rect& newRegion = sysNode->GetWindowRect(); in NotifyIfSystemBarRegionChanged() 1422 const Rect keyRect = node->GetWindowRect(); in NotifyIfKeyboardRegionChanged() [all...] |
H A D | avoid_area_controller.cpp | 224 const Rect rect = node->GetWindowRect(); in CalculateOverlayRect() 225 overlayRect = WindowHelper::GetOverlap(overlayNode->GetWindowRect(), rect, rect.posX_, rect.posY_); in CalculateOverlayRect() 313 auto rect = node->GetWindowRect(); in GetAvoidAreaByType()
|
H A D | starting_window.cpp | 97 property->SetRequestRect(info->GetWindowRect()); in InitializeWindowProperty() 181 Rect rect = node->GetWindowRect(); in DrawStartingWindow() 334 auto winRect = weak->GetWindowRect(); in AddNodeOnRSTree()
|
H A D | window_node.cpp | 277 Rect WindowNode::GetWindowRect() const in GetWindowRect() function in OHOS::Rosen::WindowNode 279 return property_->GetWindowRect(); in GetWindowRect()
|
H A D | accessibility_connection.cpp | 100 info->windowRect_ = node->GetWindowRect(); in FillAccessibilityWindowInfo()
|
H A D | display_group_controller.cpp | 152 const auto& winRect = node->GetWindowRect(); in UpdateWindowShowingDisplays() 193 const auto& winRect = node->GetWindowRect(); in UpdateWindowDisplayIdIfNeeded() 444 auto rect = node->GetWindowRect(); in ProcessSystemBarRotation()
|
H A D | remote_animation.cpp | 199 auto rect = srcNode->GetWindowRect(); in GetAndDrawSnapShot() 201 SurfaceDraw::DrawImageRect(srcNode->closeWinSurfaceNode_, srcNode->GetWindowRect(), in GetAndDrawSnapShot() 271 auto winRect = weakNode->GetWindowRect(); in GetTransitionFinishedCallback() 751 auto rect = windowNode->GetWindowRect(); in CreateWindowAnimationTarget() 774 auto winRect = node->GetWindowRect(); in PostProcessShowCallback()
|
H A D | window_dumper.cpp | 116 Rect rect = windowNode->GetWindowRect(); in AppendWindowNodeInfo() 206 Rect rect = node->GetWindowRect(); in AppendSpecifiedWindowNodeInfo()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/ |
H A D | dialog_ui_extension_callback_test.cpp | 46 virtual void GetWindowRect(int32_t &left, int32_t &top, int32_t &width, int32_t &height) in GetWindowRect() function in OHOS::AAFwk::MyAbilityCallback
|
/foundation/window/window_manager/previewer/include/ |
H A D | window_option.h | 267 Rect GetWindowRect() const;
|
/foundation/window/window_manager/utils/include/ |
H A D | window_transition_info.h | 56 Rect GetWindowRect();
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window_option.h | 287 Rect GetWindowRect() const;
|
/foundation/window/window_manager/previewer/src/ |
H A D | window_option.cpp | 174 Rect WindowOption::GetWindowRect() const in GetWindowRect() function in OHOS::Rosen::WindowOption
|
/foundation/window/window_manager/wm/src/ |
H A D | window_input_channel.cpp | 149 Rect WindowInputChannel::GetWindowRect() in GetWindowRect() function in OHOS::Rosen::WindowInputChannel
|