Home
last modified time | relevance | path

Searched refs:targetRect (Results 1 - 14 of 14) sorted by relevance

/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp268 WSRect targetRect = { in GetFullScreenToFloatingRect() local
274 TLOGI(WmsLogTag::WMS_LAYOUT, "original rect [%{public}d,%{public}d,%{public}u,%{public}u]", targetRect.posX_, in GetFullScreenToFloatingRect()
275 targetRect.posY_, targetRect.width_, targetRect.height_); in GetFullScreenToFloatingRect()
276 return targetRect; in GetFullScreenToFloatingRect()
630 WSRect targetRect = originalRect; in CalcFreeformTargetRect() local
633 targetRect.posX_ += tranX; in CalcFreeformTargetRect()
634 targetRect.width_ -= tranX; in CalcFreeformTargetRect()
636 targetRect in CalcFreeformTargetRect()
986 WSRect targetRect = { CalcFirstMoveTargetRect() local
[all...]
/foundation/window/window_manager/utils/include/
H A Dwindow_helper.h263 static bool IsPointInTargetRect(int32_t pointPosX, int32_t pointPosY, const Rect& targetRect) in IsPointInTargetRect() argument
265 if ((pointPosX > targetRect.posX_) && in IsPointInTargetRect()
266 (pointPosX < (targetRect.posX_ + static_cast<int32_t>(targetRect.width_)) - 1) && in IsPointInTargetRect()
267 (pointPosY > targetRect.posY_) && in IsPointInTargetRect()
268 (pointPosY < (targetRect.posY_ + static_cast<int32_t>(targetRect.height_)) - 1)) { in IsPointInTargetRect()
274 static bool IsPointInTargetRectWithBound(int32_t pointPosX, int32_t pointPosY, const Rect& targetRect) in IsPointInTargetRectWithBound() argument
276 if ((pointPosX >= targetRect.posX_) && in IsPointInTargetRectWithBound()
277 (pointPosX < (targetRect in IsPointInTargetRectWithBound()
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dwindow_root.cpp710 Rect targetRect = displayRect; in GetDisplayRectWithoutSystemBarAreas() local
715 targetRect.height_ = displayRect.width_; in GetDisplayRectWithoutSystemBarAreas()
716 targetRect.width_ = displayRect.height_; in GetDisplayRectWithoutSystemBarAreas()
717 return targetRect; in GetDisplayRectWithoutSystemBarAreas()
723 targetRect.posY_ = displayRect.posY_ + static_cast<int32_t>( in GetDisplayRectWithoutSystemBarAreas()
725 targetRect.height_ -= systemBarRects[WindowType::WINDOW_TYPE_STATUS_BAR].second.height_; in GetDisplayRectWithoutSystemBarAreas()
727 targetRect.posX_, targetRect.posY_, targetRect.width_, targetRect in GetDisplayRectWithoutSystemBarAreas()
[all...]
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_scene_config_test.cpp474 DMRect targetRect{507, 18, 66, 66}; // the rect size after svg parsing in HWTEST_F()
475 EXPECT_EQ(result[0].posX_, targetRect.posX_); in HWTEST_F()
476 EXPECT_EQ(result[0].posY_, targetRect.posY_); in HWTEST_F()
477 EXPECT_EQ(result[0].width_, targetRect.width_); in HWTEST_F()
478 EXPECT_EQ(result[0].height_, targetRect.height_); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_dirty_region_manager.cpp125 bool RSDirtyRegionManager::IfCacheableFilterRectFullyCover(const RectI& targetRect) in IfCacheableFilterRectFullyCover() argument
128 if (targetRect.IsInsideOf(rect)) { in IfCacheableFilterRectFullyCover()
H A Drs_surface_render_node.cpp1743 void RSSurfaceRenderNode::CheckValidFilterCacheFullyCoverTarget(const RSRenderNode& filterNode, const RectI& targetRect) in CheckValidFilterCacheFullyCoverTarget() argument
1752 isFilterCacheFullyCovered_ = targetRect.IsInsideOf(filterNode.GetFilterCachedRegion()); in CheckValidFilterCacheFullyCoverTarget()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_dirty_region_manager.h78 bool IfCacheableFilterRectFullyCover(const RectI& targetRect);
H A Drs_surface_render_node.h963 void CheckValidFilterCacheFullyCoverTarget(const RSRenderNode& filterNode, const RectI& targetRect);
/foundation/arkui/ace_engine/frameworks/core/components_ng/animation/
H A Dgeometry_transition.cpp314 auto targetRect = target->IsRemoving() ? RectF(outNodePos_, outNodeSize_) : in SyncGeometry() local
316 auto targetPos = targetRect.GetOffset(); in SyncGeometry()
334 outNodeTargetAbsRect_ = targetRect; in SyncGeometry()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/
H A Drs_surface_render_params.cpp123 bool isFilterCacheValidForOcclusion, const RectI& filterCachedRect, const RectI& targetRect) in CheckValidFilterCacheFullyCoverTarget()
129 isFilterCacheFullyCovered_ = targetRect.IsInsideOf(filterCachedRect); in CheckValidFilterCacheFullyCoverTarget()
122 CheckValidFilterCacheFullyCoverTarget( bool isFilterCacheValidForOcclusion, const RectI& filterCachedRect, const RectI& targetRect) CheckValidFilterCacheFullyCoverTarget() argument
/foundation/window/window_manager/window_scene/test/unittest/
H A Dmove_drag_controller_test.cpp853 WSRect targetRect = moveDragController->GetTargetRect(); in HWTEST_F() local
854 ASSERT_EQ(targetRect.posX_, 0); in HWTEST_F()
875 WSRect targetRect = { -1, 2, 7, 8, }; in HWTEST_F() local
876 ASSERT_EQ(targetRect.posX_, rect.posX_); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_surface_render_node_test.cpp1806 RectI targetRect; in HWTEST_F() local
1807 node->CheckValidFilterCacheFullyCoverTarget(filterNode, targetRect); in HWTEST_F()
1810 node->CheckValidFilterCacheFullyCoverTarget(filterNode, targetRect); in HWTEST_F()
1813 node->CheckValidFilterCacheFullyCoverTarget(filterNode2, targetRect); in HWTEST_F()
1819 node->CheckValidFilterCacheFullyCoverTarget(filterNode, targetRect); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/
H A Drs_surface_render_params.h329 bool isFilterCacheValidForOcclusion, const RectI& filterCachedRect, const RectI& targetRect);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_layout_algorithm.cpp2566 Rect targetRect = Rect(targetOffset_.GetX(), targetOffset_.GetY(), targetSize_.Width(), targetSize_.Height()); in CheckPosition() local
2572 auto y = std::max<float>(targetRect.Bottom(), yAvoid); in CheckPosition()
2574 wrapperRect_.Bottom() - targetRect.Bottom() - paddingBottom_ - param_.bottomSecurity, maxHeight); in CheckPosition()
2582 auto height = std::min<float>(targetRect.Top() - yAvoid, maxHeight); in CheckPosition()
2590 auto x = std::max<float>(targetRect.Right(), xAvoid); in CheckPosition()
2591 auto width = std::min<float>(wrapperRect_.Right() - targetRect.Right() - paddingEnd_, maxWidth); in CheckPosition()
2599 auto width = std::min<float>(targetRect.Left() - xAvoid, maxWidth); in CheckPosition()

Completed in 32 milliseconds