/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_path_test.cpp | 76 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path1)->GetBounds().GetWidth(), 21.0)); in HWTEST_F() 77 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path1)->GetBounds().GetHeight(), 1.5)); in HWTEST_F() 94 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path2)->GetBounds().GetWidth(), 100.0)); in HWTEST_F() 95 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path2)->GetBounds().GetHeight(), 40.0)); in HWTEST_F() 112 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path3)->GetBounds().GetWidth(), 0.0)); in HWTEST_F() 113 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path3)->GetBounds().GetHeight(), 0.0)); in HWTEST_F() 130 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path4)->GetBounds().GetWidth(), 0.0)); in HWTEST_F() 131 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path4)->GetBounds().GetHeight(), 0.0)); in HWTEST_F() 148 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path5)->GetBounds().GetWidth(), 50.5)); in HWTEST_F() 149 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path5)->GetBounds() in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_session.cpp | 95 displayNode_->SetFrame(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in CreateDisplayNode() 96 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in CreateDisplayNode() 97 displayNode_->SetBounds(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in CreateDisplayNode() 98 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in CreateDisplayNode() 120 displayNode_->SetFrame(property_.GetBounds().rect_.left_, property_.GetBounds() in ScreenSession() [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_cutout_controller.cpp | 61 screenProperty.GetBounds().rect_.GetWidth(), screenProperty.GetBounds().rect_.GetHeight(), in ConvertBoundaryRectsByRotation() 77 uint32_t screenWidth = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetWidth()); in ConvertBoundaryRectsByRotation() 78 uint32_t screenHeight = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetHeight()); in ConvertBoundaryRectsByRotation() 136 uint32_t screenWidth = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetWidth()); in CheckBoundaryRects() 137 uint32_t screenHeight = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetHeight()); in CheckBoundaryRects() 276 finalRect.left_ = screenProperty.GetBounds().rect_.GetLeft(); in CalculateCurvedCompression() 277 finalRect.top_ = screenProperty.GetBounds().rect_.GetTop(); in CalculateCurvedCompression() 280 finalRect.height_ = screenProperty.GetBounds().rect_.GetHeight(); in CalculateCurvedCompression() 288 finalRect.width_ = screenProperty.GetBounds() in CalculateCurvedCompression() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_render_node_drawable.cpp | 211 DrawBackground(canvas, params.GetBounds()); in TraverseSubTreeAndDrawFilterWithClip() 224 DrawChildren(canvas, params.GetBounds()); in TraverseSubTreeAndDrawFilterWithClip() 262 DrawChildren(canvas, params.GetBounds()); in CheckCacheTypeAndDraw() 263 DrawForeground(canvas, params.GetBounds()); in CheckCacheTypeAndDraw() 314 DrawBackground(canvas, params.GetBounds()); in DrawWithNodeGroupCache() 316 DrawForeground(canvas, params.GetBounds()); in DrawWithNodeGroupCache() 318 DrawBeforeCacheWithForegroundFilter(canvas, params.GetBounds()); in DrawWithNodeGroupCache() 320 DrawAfterCacheWithForegroundFilter(canvas, params.GetBounds()); in DrawWithNodeGroupCache() 322 DrawBeforeCacheWithProperty(canvas, params.GetBounds()); in DrawWithNodeGroupCache() 324 DrawAfterCacheWithProperty(canvas, params.GetBounds()); in DrawWithNodeGroupCache() [all...] |
H A D | rs_surface_render_node_drawable.cpp | 144 auto surfaceRect = params.GetBounds(); in DrawWatermark() 382 surfaceParams->GetBounds().ToString().c_str()); in OnDraw() 682 canvas.DrawRect(Drawing::Rect(0, 0, surfaceParams.GetBounds().GetWidth(), in CaptureSurface() 683 surfaceParams.GetBounds().GetHeight())); in CaptureSurface() 696 canvas.DrawRect(Drawing::Rect(0, 0, surfaceParams.GetBounds().GetWidth(), in CaptureSurface() 697 surfaceParams.GetBounds().GetHeight())); in CaptureSurface() 795 auto bounds = surfaceParams.GetBounds(); in ClipHoleForSelfDrawingNode() 832 std::round(surfaceParams.GetBounds().GetWidth()), std::round(surfaceParams.GetBounds().GetHeight()) }); in DrawSelfDrawingNodeBuffer() 842 canvas.DrawRect(surfaceParams.GetBounds()); in DrawSelfDrawingNodeBuffer() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_pointer_window_demo.cpp | 50 x, y, surfaceNode->GetStagingProperties().GetBounds().z_, surfaceNode->GetStagingProperties().GetBounds().w_); in MoveTo() 101 sptr<SurfaceBuffer> buffer = GetSurfaceBuffer(ohosSurface, surfaceNode->GetStagingProperties().GetBounds().z_, in InitSurfaceStyle() 102 surfaceNode->GetStagingProperties().GetBounds().w_); in InitSurfaceStyle()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_canvas_node.cpp | 164 return frame.z_ <= 0.f ? GetStagingProperties().GetBounds().z_ : frame.z_; in GetPaintWidth() 170 return frame.w_ <= 0.f ? GetStagingProperties().GetBounds().w_ : frame.w_; in GetPaintHeight() 200 auto bounds = GetStagingProperties().GetBounds(); in OnBoundsSizeChanged()
|
H A D | rs_texture_export.cpp | 53 auto bounds = rootNode_->GetStagingProperties().GetBounds(); in DoTextureExport()
|
H A D | rs_root_node.cpp | 108 auto bounds = GetStagingProperties().GetBounds(); in OnBoundsSizeChanged()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_circle_drawing_manager.cpp | 310 surfaceNode_->GetStagingProperties().GetBounds().z_, in SetPointerLocation() 311 surfaceNode_->GetStagingProperties().GetBounds().w_); in SetPointerLocation() 320 canvasNode_->GetStagingProperties().GetBounds().z_, in SetPointerLocation() 321 canvasNode_->GetStagingProperties().GetBounds().w_); in SetPointerLocation() 324 canvasNode_->GetStagingProperties().GetBounds().z_, in SetPointerLocation() 325 canvasNode_->GetStagingProperties().GetBounds().w_); in SetPointerLocation()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/ |
H A D | single_display_pocket_fold_policy.cpp | 393 screenSession->GetScreenProperty().GetBounds().rect_.width_, in SendPropertyChangeResult() 394 screenSession->GetScreenProperty().GetBounds().rect_.height_); in SendPropertyChangeResult() 407 screenSession->GetScreenProperty().GetBounds().rect_.width_, in ChangeScreenDisplayModeToMainOnBootAnimation() 408 screenSession->GetScreenProperty().GetBounds().rect_.height_); in ChangeScreenDisplayModeToMainOnBootAnimation() 420 screenSession->GetScreenProperty().GetBounds().rect_.width_, in ChangeScreenDisplayModeToFullOnBootAnimation() 421 screenSession->GetScreenProperty().GetBounds().rect_.height_); in ChangeScreenDisplayModeToFullOnBootAnimation()
|
H A D | single_display_fold_policy.cpp | 352 screenSession->GetScreenProperty().GetBounds().rect_.width_, in SendPropertyChangeResult() 353 screenSession->GetScreenProperty().GetBounds().rect_.height_); in SendPropertyChangeResult() 366 screenSession->GetScreenProperty().GetBounds().rect_.width_, in ChangeScreenDisplayModeToMainOnBootAnimation() 367 screenSession->GetScreenProperty().GetBounds().rect_.height_); in ChangeScreenDisplayModeToMainOnBootAnimation() 379 screenSession->GetScreenProperty().GetBounds().rect_.width_, in ChangeScreenDisplayModeToFullOnBootAnimation() 380 screenSession->GetScreenProperty().GetBounds().rect_.height_); in ChangeScreenDisplayModeToFullOnBootAnimation()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | path_test.cpp | 745 auto rect = path->GetBounds(); in HWTEST_F() 1037 ASSERT_TRUE(path1.GetBounds() == path2.GetBounds()); in HWTEST_F() 1053 ASSERT_TRUE(path1.GetBounds() != path2.GetBounds()); in HWTEST_F() 1069 ASSERT_TRUE(path1.GetBounds() == path2.GetBounds()); in HWTEST_F() 1086 ASSERT_TRUE(path1.GetBounds() != path2.GetBounds()); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | path_layout_algorithm.cpp | 57 auto rect = path.GetBounds(); in MeasureContent()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_surface_node_test.cpp | 90 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 108 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 126 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 145 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 164 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 183 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 200 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 214 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 228 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() 242 auto bounds = surfaceNode->GetStagingProperties().GetBounds();
in HWTEST_F() [all...] |
H A D | rs_canvas_node_test.cpp | 289 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[0], floatData[0])); in HWTEST_F() 290 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[1], floatData[1])); in HWTEST_F() 291 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[2], floatData[2])); in HWTEST_F() 292 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[3], floatData[3])); in HWTEST_F() 304 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[0], floatData[3])); in HWTEST_F() 305 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[1], floatData[1])); in HWTEST_F() 306 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[2], floatData[2])); in HWTEST_F() 307 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[3], floatData[0])); in HWTEST_F() 319 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[0], floatData[3])); in HWTEST_F() 320 EXPECT_TRUE(ROSEN_EQ(canvasNode->GetStagingProperties().GetBounds()[ in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape.cpp | 66 auto rect = path_.GetBounds(); in CalcSize() 109 auto drRect = path_.GetBounds(); in CreateRect() 193 auto rect = path_.GetBounds(); in CreatePolygon() 236 auto rect = path_.GetBounds(); in CreatePath()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_modifier_extractor.h | 32 Vector4f GetBounds() const;
|
H A D | rs_showing_properties_freezer.h | 31 std::optional<Vector4f> GetBounds() const;
|
/foundation/arkui/ace_engine/test/unittest/core/rosen/ |
H A D | rosen_render_context_test.cpp | 161 EXPECT_EQ(rosenRenderContext->GetRSNode()->GetStagingProperties().GetBounds()[0], paintRect.GetX()); in HWTEST_F() 162 EXPECT_EQ(rosenRenderContext->GetRSNode()->GetStagingProperties().GetBounds()[1], paintRect.GetY()); in HWTEST_F() 163 EXPECT_EQ(rosenRenderContext->GetRSNode()->GetStagingProperties().GetBounds()[2], paintRect.Width()); in HWTEST_F() 164 EXPECT_EQ(rosenRenderContext->GetRSNode()->GetStagingProperties().GetBounds()[3], paintRect.Height()); in HWTEST_F() 189 EXPECT_EQ(rosenRenderContextChild->GetRSNode()->GetStagingProperties().GetBounds()[0], 0.0); in HWTEST_F() 190 EXPECT_EQ(rosenRenderContextChild->GetRSNode()->GetStagingProperties().GetBounds()[1], 0.0); in HWTEST_F() 191 EXPECT_EQ(rosenRenderContextChild->GetRSNode()->GetStagingProperties().GetBounds()[2], paintRect.Width()); in HWTEST_F() 192 EXPECT_EQ(rosenRenderContextChild->GetRSNode()->GetStagingProperties().GetBounds()[3], paintRect.Height()); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_line.cpp | 113 auto bounds = path.GetBounds(); in GetPaintBounds()
|
H A D | rosen_render_svg_ellipse.cpp | 114 auto bounds = path.GetBounds(); in GetPaintBounds()
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_path.h | 99 virtual TestingRect GetBounds() in GetBounds() function in OHOS::Ace::Testing::TestingPath
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_mask_test.cpp | 231 ASSERT_TRUE(path2.GetBounds() == path3->GetBounds()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/ |
H A D | path.h | 394 Rect GetBounds() const; 520 auto bounds = impl_->GetBounds(); in Dump()
|