Home
last modified time | relevance | path

Searched refs:absRect (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_surface_render_node.cpp1841 absRect.top_, in SetUnfocusedWindowOpaqueRegion()
1843 absRect.GetBottom()}; in SetUnfocusedWindowOpaqueRegion()
1846 absRect.GetRight(), in SetUnfocusedWindowOpaqueRegion()
2000 Occlusion::Rect opaqueRect0{ absRect.GetLeft(), absRect.GetTop(), in SetCornerRadiusOpaqueRegion()
2001 absRect.GetRight(), absRect.GetBottom()}; in SetCornerRadiusOpaqueRegion()
2002 Occlusion::Rect opaqueRect1{ absRect.GetLeft(), absRect.GetTop(), in SetCornerRadiusOpaqueRegion()
2003 absRect.GetLeft() + cornerRadius.x_, absRect.GetTop() + cornerRadius.x_}; in SetCornerRadiusOpaqueRegion()
2004 Occlusion::Rect opaqueRect2{ absRect.GetRight() - cornerRadius.y_, absRect.GetTop(), in SetCornerRadiusOpaqueRegion()
2005 absRect.GetRight(), absRect.GetTop() + cornerRadius.y_}; in SetCornerRadiusOpaqueRegion()
2007 absRect.GetRight(), absRect.GetBottom()}; in SetCornerRadiusOpaqueRegion()
[all …]
H A Drs_effect_render_node.cpp115 const auto& absRect = properties.GetBoundsGeometry()->GetAbsRect(); in SetEffectRegion() local
118 … Drawing::RectI(absRect.GetLeft(), absRect.GetTop(), absRect.GetRight(), absRect.GetBottom()))) { in SetEffectRegion()
H A Drs_dirty_region_manager.cpp105 RectI RSDirtyRegionManager::GetIntersectedVisitedDirtyRect(const RectI& absRect) const in GetIntersectedVisitedDirtyRect()
109 if (absRect.IsInsideOf(belowDirty)) { in GetIntersectedVisitedDirtyRect()
112 belowDirty = belowDirty.JoinRect(subDirty.IntersectRect(absRect)); in GetIntersectedVisitedDirtyRect()
H A Drs_render_node.cpp1924 Drawing::RectF absRect; in UpdateFilterRegionInSkippedSubTree() local
1926 … filterRect = RectI(absRect.GetLeft(), absRect.GetTop(), absRect.GetWidth(), absRect.GetHeight()); in UpdateFilterRegionInSkippedSubTree()
2695 auto absRect = property.GetBoundsGeometry()->GetAbsRect(); in UpdateEffectRegion() local
2696 …region->Join(Drawing::RectI(absRect.GetLeft(), absRect.GetTop(), absRect.GetRight(), absRect.GetBo… in UpdateEffectRegion()
3292 auto absRect = GetFilterRect(); in SetFullSurfaceOpaqueMarks() local
3293 if (surfaceNodeAbsRect.IsInsideOf(absRect)) { in SetFullSurfaceOpaqueMarks()
3365 Drawing::Rect absRect; in GetFilterRect() local
3366 geoPtr->GetAbsMatrix().MapRect(absRect, filterRect); in GetFilterRect()
3367 return {absRect.GetLeft(), absRect.GetTop(), absRect.GetWidth(), absRect.GetHeight()}; in GetFilterRect()
4105 auto absRect = GetAbsDrawRect(); in UpdateAbsDrawRect() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_obj_abs_geometry.cpp307 RectI absRect; in MapRect() local
316 absRect.top_ = static_cast<int>(std::floor(dst.GetTop())); in MapRect()
317 absRect.width_ = static_cast<int>(std::ceil(dst.GetRight() - absRect.left_)); in MapRect()
318 absRect.height_ = static_cast<int>(std::ceil(dst.GetBottom() - absRect.top_)); in MapRect()
335 absRect.left_ = static_cast<int>(std::floor(xRange[0])); in MapRect()
336 absRect.top_ = static_cast<int>(std::floor(yRange[0])); in MapRect()
337 absRect.width_ = static_cast<int>(std::ceil(xRange[1] - absRect.left_)); in MapRect()
338 absRect.height_ = static_cast<int>(std::ceil(yRange[1] - absRect.top_)); in MapRect()
349 absRect.width_ = static_cast<int>(std::ceil(right - absRect.left_)); in MapRect()
350 absRect.height_ = static_cast<int>(std::ceil(bottom - absRect.top_)); in MapRect()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_scene_layout_manager.cpp195 auto absRect = globalGeometry->GetAbsRect(); in FillWindowSceneInfo() local
196 uiParam.rect_ = { absRect.GetLeft(), absRect.GetTop(), width, height }; in FillWindowSceneInfo()
197 uiParam.scaleX_ = absRect.GetWidth() / width; in FillWindowSceneInfo()
198 uiParam.scaleY_ = absRect.GetHeight() / height; in FillWindowSceneInfo()
558 auto absRect = globalGeometry->GetAbsRect(); in GetUINodeInfo() local
559 oss << " resRect: [" << absRect.GetLeft() << ", " << absRect.GetTop() << ", " in GetUINodeInfo()
570 auto absRect = localGeometry->GetAbsRect(); in GetUINodeInfo() local
571 oss << " localRect: [" << absRect.GetLeft() << ", " << absRect.GetTop() << ", " in GetUINodeInfo()
711 auto absRect = globalGeometry->GetAbsRect(); in GetRSNodeInfo() local
723 auto absRect = localGeometry->GetAbsRect(); in GetRSNodeInfo() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_surface_render_node_test.cpp194 RectI absRect {0, 100, 400, 500}; variable
219 RectI absRect {0, 100, 400, 500}; variable
247 RectI absRect {0, 100, 400, 500}; variable
274 RectI absRect {0, 100, 400, 500}; variable
302 RectI absRect {0, 100, 400, 500}; variable
330 RectI absRect {0, 100, 400, 500}; variable
1778 RectI absRect { 0, 0, 100, 100 }; variable
1797 RectI absRect { 0, 0, 100, 100 }; variable
1815 RectI absRect { 0, 0, 100, 100 }; variable
1834 RectI absRect { 0, 0, 50, 50 }; variable
[all …]
H A Drs_surface_render_node_two_test.cpp67 RectI absRect { 0, 100, 400, 500 }; variable
78 …surfaceRenderNode.ResetSurfaceOpaqueRegion(screenRect, absRect, ScreenRotation::ROTATION_0, false,…
82 screenRect, absRect, ScreenRotation::ROTATION_0, false, dstCornerRadiusT);
84 …surfaceRenderNode.ResetSurfaceOpaqueRegion(screenRect, absRect, ScreenRotation::ROTATION_0, false,…
85 …surfaceRenderNode.ResetSurfaceOpaqueRegion(screenRect, absRect, ScreenRotation::ROTATION_0, true, …
H A Drs_dirty_region_manager_test.cpp564 RectI absRect; variable
565 fun.GetIntersectedVisitedDirtyRect(absRect);
H A Drs_render_node_test.cpp513 RectI absRect = RectI{0, 0, 100, 100};
516 properties.boundsGeo_->absRect_ = absRect;
520 bool isDirtyRectCorrect = (rsDirtyManager->GetCurrentFrameDirtyRegion() == absRect);
538 RectI absRect = RectI{0, 0, 100, 100};
541 properties.boundsGeo_->absRect_ = absRect;
565 RectI absRect = RectI{0, 0, 100, 100};
568 properties.boundsGeo_->absRect_ = absRect;
1224 RectI absRect = {10, 10, 10, 10}; variable
1225 nodeTest->stagingRenderParams_->SetAbsDrawRect(absRect);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable.cpp225 Drawing::Rect absRect(0.0, 0.0, 0.0, 0.0); in CreateDrawFunc() local
226 canvas->GetTotalMatrix().MapRect(absRect, *rect); in CreateDrawFunc()
227 Drawing::RectI bounds(std::ceil(absRect.GetLeft()), std::ceil(absRect.GetTop()), in CreateDrawFunc()
228 std::ceil(absRect.GetRight()), std::ceil(absRect.GetBottom())); in CreateDrawFunc()
H A Drs_property_drawable_background.cpp632 Drawing::Rect absRect(0.0, 0.0, 0.0, 0.0); in CreateDrawFunc() local
633 canvas->GetTotalMatrix().MapRect(absRect, *rect); in CreateDrawFunc()
640 …RectI bounds(std::ceil(absRect.GetLeft()), std::ceil(absRect.GetTop()), std::ceil(absRect.GetWidth… in CreateDrawFunc()
641 std::ceil(absRect.GetHeight())); in CreateDrawFunc()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_surface_render_node.h855 …void ResetSurfaceOpaqueRegion(const RectI& screeninfo, const RectI& absRect, const ScreenRotation …
858 const RectI& absRect, const ScreenRotation screenRotation, const bool isFocusWindow) const;
859 …Occlusion::Region SetUnfocusedWindowOpaqueRegion(const RectI& absRect, const ScreenRotation screen…
860 …Occlusion::Region SetFocusedWindowOpaqueRegion(const RectI& absRect, const ScreenRotation screenRo…
861 …Occlusion::Region SetCornerRadiusOpaqueRegion(const RectI& absRect, const Vector4<int>& cornerRadi…
862 void ResetSurfaceContainerRegion(const RectI& screeninfo, const RectI& absRect,
864 …bool CheckOpaqueRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation…
866 …void SetOpaqueRegionBaseInfo(const RectI& screeninfo, const RectI& absRect, const ScreenRotation s…
H A Drs_dirty_region_manager.h75 RectI GetIntersectedVisitedDirtyRect(const RectI& absRect) const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_trace_utils.cpp190 [[maybe_unused]] auto absRect = in addRenderNodeTrace()
204 …tr.c_str(), node.GetId(), alpha, rotation, bounds.c_str(), translateX, translateY, absRect.c_str(), in addRenderNodeTrace()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/
H A Drs_render_params.h276 void SetAbsDrawRect(RectI& absRect) in SetAbsDrawRect() argument
278 absDrawRect_ = absRect; in SetAbsDrawRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_visitor.cpp1357 const Drawing::Matrix& absMatrix, const RectI& absRect) in UpdateSrcRect() argument
1367 RSUniRenderUtil::UpdateRealSrcRect(node, absRect); in UpdateSrcRect()
1371 void RSUniRenderVisitor::UpdateDstRect(RSSurfaceRenderNode& node, const RectI& absRect, const RectI… in UpdateDstRect() argument
1373 auto dstRect = absRect; in UpdateDstRect()
2645 Drawing::Rect absRect; in UpdateHwcNodeRectInSkippedSubTree() local
2646 matrix.MapRect(absRect, bounds); in UpdateHwcNodeRectInSkippedSubTree()
2647 RectI rect = {std::round(absRect.left_), std::round(absRect.top_), in UpdateHwcNodeRectInSkippedSubTree()
2648 std::round(absRect.GetWidth()), std::round(absRect.GetHeight())}; in UpdateHwcNodeRectInSkippedSubTree()
H A Drs_uni_render_util.h112 static void UpdateRealSrcRect(RSSurfaceRenderNode& node, const RectI& absRect);
H A Drs_uni_render_visitor.h211 void UpdateDstRect(RSSurfaceRenderNode& node, const RectI& absRect, const RectI& clipRect);
H A Drs_uni_render_util.cpp1353 void RSUniRenderUtil::UpdateRealSrcRect(RSSurfaceRenderNode& node, const RectI& absRect) in UpdateRealSrcRect() argument
1393 if (absRect == node.GetDstRect()) { in UpdateRealSrcRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_util_test.cpp1030 RectI absRect; variable
1033 RSUniRenderUtil::UpdateRealSrcRect(node, absRect);
1035 absRect = RectI(1, 1, 1, 1);
1036 RSUniRenderUtil::UpdateRealSrcRect(node, absRect);
H A Drs_uni_render_visitor_test.cpp1690 RectI absRect(0, 0, 0, 0); variable
1692 rsUniRenderVisitor->UpdateDstRect(*rsSurfaceRenderNode, absRect, clipRect);
1719 RectI absRect(0, 0, 0, 0); variable
1721 rsUniRenderVisitor->UpdateSrcRect(*rsSurfaceRenderNode, absMatrix, absRect);