/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_rect_test.cpp | 92 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 400, 800); variable 273 OH_Drawing_Rect *rect = nullptr; variable 306 OH_Drawing_Rect *rect = nullptr; variable 336 OH_Drawing_Rect *rect = nullptr; variable 365 OH_Drawing_Rect *rect = nullptr; variable 395 OH_Drawing_Rect *rect = nullptr; variable 424 OH_Drawing_Rect *rect = nullptr; variable 452 OH_Drawing_Rect *rect = nullptr; variable 480 OH_Drawing_Rect *rect = nullptr; variable 519 OH_Drawing_Rect *rect = nullptr; variable [all …]
|
H A D | drawing_path_test.cpp | 243 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(50, 50, 250, 250); variable 271 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(50, 50, 250, 250); variable 381 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0.0f, 0.0f, 200.0f, 300.0f); variable 407 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0.0f, 0.0f, 200.0f, 300.0f); variable 431 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0.0f, 0.0f, 200.0f, 300.0f); variable 455 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0.0f, 0.0f, 200.0f, 300.0f); variable 520 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 100, 500, 400); variable 681 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 100, 500, 400); variable 757 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 100, 500, 400); variable 779 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(50, 50, 250, 250); variable [all …]
|
H A D | drawing_region_test.cpp | 64 OH_Drawing_Rect* rect=OH_Drawing_RectCreate(0.0f, 0.0f, 256.0f, 256.0f); variable 84 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(100.0f, 100.0f, 256.0f, 256.0f); variable 102 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(100.0f, 100.0f, 256.0f, 256.0f); variable 134 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(150.0f, 180.0f, 200.0f, 200.0f); variable
|
H A D | drawing_round_rect_test.cpp | 57 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(100, 100, 200, 200); variable 94 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(100, 100, 200, 200); variable 120 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(100, 100, 200, 200); variable 146 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(100, 100, 200, 200); variable 189 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(10, 100, 200, 300); variable
|
H A D | drawing_canvas_test.cpp | 283 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(100, 200, 500, 300); variable 338 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 0, 100, 100); variable 371 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(10, 20, 60, 120); variable 469 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 0, 90, 90); variable 517 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(100, 300, 200, 400); variable 545 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(200, 500, 300, 600); variable 666 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 0, 100, 100); variable 829 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 200, 200); variable 945 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 1, 1); variable 1070 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 0, 0, 0); variable [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/ |
H A D | rs_rect_test.cpp | 48 RectI rect; variable 65 RectI rect; variable 82 RectI rect; variable 97 RectF rect; variable 113 RectF rect; variable 126 RectF rect; variable 138 RectF rect; variable 151 RectF rect; variable 163 RectF rect; variable 175 RectF rect; variable [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_rect.cpp | 38 Rect* rect = CastToRect(cRect); in OH_Drawing_RectIntersect() local 49 Rect* rect = CastToRect(cRect); in OH_Drawing_RectJoin() local 60 Rect* rect = CastToRect(cRect); in OH_Drawing_RectSetTop() local 70 Rect* rect = CastToRect(cRect); in OH_Drawing_RectSetBottom() local 80 Rect* rect = CastToRect(cRect); in OH_Drawing_RectSetLeft() local 90 Rect* rect = CastToRect(cRect); in OH_Drawing_RectSetRight() local 100 Rect* rect = CastToRect(cRect); in OH_Drawing_RectGetTop() local 110 Rect* rect = CastToRect(cRect); in OH_Drawing_RectGetBottom() local 120 Rect* rect = CastToRect(cRect); in OH_Drawing_RectGetLeft() local 130 Rect* rect = CastToRect(cRect); in OH_Drawing_RectGetRight() local [all …]
|
/ohos5.0/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_subwindow_test.cpp | 87 struct Rect rect = {0, 0, 100, 200}; variable 115 struct Rect rect = {0, 0, 100, 200}; variable 199 struct Rect rect = {0, 0, 100, 200}; variable 233 struct Rect rect = {0, 0, 100, 200}; variable 266 struct Rect rect = {0, 0, 100, 200}; variable 294 struct Rect rect = {0, 0, 100, 200}; variable 314 struct Rect rect = {0, 0, 100, 200}; variable 344 struct Rect rect = {0, 0, 100, 200}; variable 372 struct Rect rect = {0, 0, 100, 200}; variable 437 struct Rect rect = {0, 0, 100, 200}; variable [all …]
|
H A D | window_dialogwindow_test.cpp | 64 static sptr<Window> CreateDialogWindow(sptr<WindowScene> scene, WindowType type, Rect rect, std::st… in CreateDialogWindow() 89 struct Rect rect = {0, 0, 100, 200}; variable 116 struct Rect rect = {0, 0, 100, 200}; variable 146 struct Rect rect = {0, 0, 100, 200}; variable 181 struct Rect rect = {0, 0, 100, 200}; variable 213 struct Rect rect = {0, 0, 100, 200}; variable 240 struct Rect rect = {0, 0, 100, 200}; variable 270 struct Rect rect = {0, 0, 100, 200}; variable
|
H A D | window_systemsubwindow_test.cpp | 55 static sptr<Window> CreateBaseWindow(WindowType type, struct Rect rect, uint32_t flags) in CreateBaseWindow() 69 static sptr<Window> CreateAppSubWindow(sptr<Window> parentWindow, WindowType type, struct Rect rect, in CreateAppSubWindow() 85 static sptr<Window> CreateSystemSubWindow(sptr<Window> parentWindow, struct Rect rect, in CreateSystemSubWindow() 119 struct Rect rect = {0, 0, 100, 200}; variable 179 struct Rect rect = {0, 0, 100, 200}; variable 216 struct Rect rect = {0, 0, 100, 200}; variable 253 struct Rect rect = {0, 0, 100, 200}; variable 283 struct Rect rect = {0, 0, 100, 200}; variable 316 struct Rect rect = {0, 0, 100, 200}; variable 357 struct Rect rect = {0, 0, 100, 200}; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | color_test.cpp | 43 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 62 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 85 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 102 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 119 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 136 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 152 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 164 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local
|
H A D | canvas_test.cpp | 46 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 62 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 256, 256); // 0, 0, 256, 256 创建矩形 in OnTestPerformance() local 89 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 98 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 107 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 129 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 139 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 150 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 160 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local 170 OH_Drawing_Rect* rect = OH_Drawing_RectCreate(0, 0, 100, 100); // 0, 0, 100, 100 创建矩形 in OnTestPerformance() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | rrect.h | 40 explicit RRect(const Rect& rect) : rect_(rect) {} in RRect() 46 static RRect MakeRect(const Rect& rect) in MakeRect() 53 static RRect MakeRRect(const Rect& rect, const Radius& radius) in MakeRRect() 60 static RRect MakeRRect(const Rect& rect, double x, double y) in MakeRRect() 67 static RRect MakeOval(const Rect& rect) in MakeOval() 84 void SetRect(const Rect& rect) in SetRect() 94 void SetRectWithSimpleRadius(const Rect& rect, double xRadius, double yRadius) in SetRectWithSimpleRadius() 118 void SetOval(const Rect& rect) in SetOval()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | canvas_test.cpp | 148 auto rect = canvas->GetWidth(); variable 162 auto rect = canvas->GetHeight(); variable 205 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable 219 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable 251 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable 265 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable 279 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable 492 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable 506 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable 696 Rect rect(0.0f, 0.0f, 10.0f, 20.0f); variable [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_dirty_region_manager.cpp | 42 void RSDirtyRegionManager::MergeDirtyRect(const RectI& rect, bool isDebugRect) in MergeDirtyRect() 60 void RSDirtyRegionManager::MergeHwcDirtyRect(const RectI& rect) in MergeHwcDirtyRect() 72 bool RSDirtyRegionManager::MergeDirtyRectIfIntersect(const RectI& rect) in MergeDirtyRectIfIntersect() 84 void RSDirtyRegionManager::MergeDirtyRectAfterMergeHistory(const RectI& rect) in MergeDirtyRectAfterMergeHistory() 117 void RSDirtyRegionManager::UpdateCacheableFilterRect(const RectI& rect) in UpdateCacheableFilterRect() 127 for (auto rect : cacheableFilterRects_) { in IfCacheableFilterRectFullyCover() local 135 void RSDirtyRegionManager::IntersectDirtyRect(const RectI& rect) in IntersectDirtyRect() 217 RectI RSDirtyRegionManager::GetPixelAlignedRect(const RectI& rect, int32_t alignedBits) in GetPixelAlignedRect() 276 DirtyRegionType dirtyType, const RectI& rect) in UpdateDirtyRegionInfoForDfx() 401 void RSDirtyRegionManager::PushHistory(RectI rect) in PushHistory()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_rect.cpp | 31 auto rect = std::make_shared<TexgineRect>(); in MakeLTRB() local 38 auto rect = std::make_shared<TexgineRect>(); in MakeXYWH() local 45 auto rect = std::make_shared<TexgineRect>(); in MakeWH() local 52 auto rect = std::make_shared<TexgineRect>(); in MakeRRect() local 73 void TexgineRect::SetRect(const RSRect &rect) in SetRect()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | path_test.cpp | 27 Rect rect(margin, margin, width - margin, height - margin); in TestDrawStar() local 108 Rect rect(margin, margin, width - margin, height - margin); in TestMoveTo() local 132 Rect rect(margin, margin, width - margin, height - margin); in TestLineTo() local 164 Rect rect(margin, margin, width - margin, height - margin); in TestArcTo() local 185 Rect rect(margin, margin, width - margin, height - margin); in TestCubicTo() local 209 Rect rect(margin, margin, width - margin, height - margin); in TestQuadTo() local 234 Rect rect(margin, margin, width - margin, height - margin); in TestAddRect() local 263 Rect rect(margin, margin, width - margin, height - margin); in TestAddOval() local 291 Rect rect(margin, margin, width - margin, height - margin); in TestAddArc() local 315 Rect rect(margin, margin, width - margin, height - margin); in TestAddPoly() local [all …]
|
H A D | pen_test.cpp | 37 Rect rect(margin, margin, width - margin, height - margin); in TestPenColor() local 69 Rect rect(margin, margin, width - margin, height - margin); in TestPenAlpha() local 95 Rect rect(margin, margin, width - margin, height - margin); in TestPenWidth() local 109 Rect rect(margin, margin, width - margin, height - margin); in TestPenMiterLimit() local 146 Rect rect(margin, margin, width - margin, height - margin); in TestPenCapStyle() local 185 Rect rect(margin, margin, width - margin, height - margin); in TestPenJoinStyle() local 204 Rect rect(margin, margin, width - margin, height - margin); in TestPenBlendMode() local 232 Rect rect(margin, margin, width - margin, height - margin); in TestPenAntiAlias() local 261 Rect rect(margin, margin, width - margin, height - margin); in TestPenPathEffect() local 292 Rect rect(margin, margin, width - margin, height - margin); in TestPenFilter() local [all …]
|
/ohos5.0/foundation/window/window_manager/utils/test/unittest/ |
H A D | cutout_info_test.cpp | 57 DMRect rect = {0, 0, 0, 0}; variable 75 DMRect rect = {0, 0, 0, 0}; variable 91 DMRect rect = {0, 0, 0, 0}; variable 109 DMRect rect = {0, 0, 0, 0}; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_dirty_region_manager_test.cpp | 62 RectI rect = RectI(0, 0, 10, 10); variable 356 RectI rect; variable 374 RectI rect = RectI(1, 2, 3, 4); variable 392 RectI rect = RectI(1, 2, 3, 4); variable 446 RectI rect = { 0, 0, 100, 100 }; variable 466 RectI rect = DEFAULT_RECT; variable 484 RectI rect = DEFAULT_RECT; variable 506 RectI rect = DEFAULT_RECT; variable 520 RectI rect = DEFAULT_RECT; variable 549 RectI rect = { 1, 1, 1, 1 }; variable [all …]
|
H A D | rs_draw_cmd_test.cpp | 121 Drawing::Rect rect; variable 173 Drawing::Rect rect; variable 272 Drawing::Rect rect; variable 275 drawFunc = [](Drawing::Canvas* canvas, const Drawing::Rect* rect) {}; in __anonf2a571bc0102() 295 Drawing::Rect rect; variable 337 Drawing::Rect rect; variable 378 Drawing::Rect rect; variable 419 …ng::RecordingCanvas::DrawFunc drawFunc = [](Drawing::Canvas* canvas, const Drawing::Rect* rect) {}; in __anonf2a571bc0202() 422 Drawing::Rect rect; variable
|
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | occupied_area_change_info.h | 29 OccupiedAreaChangeInfo(OccupiedAreaType type, Rect rect) : type_(type), rect_(rect) {}; in OccupiedAreaChangeInfo() 30 OccupiedAreaChangeInfo(OccupiedAreaType type, Rect rect, uint32_t safeHeight) in OccupiedAreaChangeInfo() 32 OccupiedAreaChangeInfo(OccupiedAreaType type, Rect rect, in OccupiedAreaChangeInfo() 35 OccupiedAreaChangeInfo(OccupiedAreaType type, Rect rect, uint32_t safeHeight, in OccupiedAreaChangeInfo()
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | dscreen_maprelation.cpp | 94 void to_json(json &j, const DisplayRect &rect) in to_json() 104 void from_json(const json &j, DisplayRect &rect) in from_json() 116 void to_json(json &j, const ScreenRect &rect) in to_json() 126 void from_json(const json &j, ScreenRect &rect) in from_json()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | draw_rect_test.cpp | 24 auto rect = Drawing::Rect(0, 0, 100, 100); // xy (0, 0), size 100*100 in OnTestFunction() local 33 auto rect = Drawing::Rect(0, 0, 100, 100); // xy (0, 0), size 100*100 in OnTestPerformance() local
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/test/unittest/imageJpeg/ |
H A D | jpeg_image_processor_test.cpp | 77 DirtyRect rect = {20, 20, 20, 20, 20}; variable 95 DirtyRect rect = {2600, 2800, 20, 20, 20}; variable 113 DirtyRect rect = {20, 20, 20, 24, 20}; variable
|