/third_party/skia/docs/examples/ |
H A D | Picture_MakePlaceholder.cpp | 11 const SkRect rect = picture->cullRect(); in REG_FIDDLE() local 14 canvas->drawRect(rect, redPaint); in REG_FIDDLE()
|
H A D | RRect_notequal_operator.cpp | 9 SkRRect rrect2 = SkRRect::MakeRectXY(rrect1.rect(), 50, 50); in REG_FIDDLE() 10 SkRRect rrect3 = SkRRect::MakeOval(rrect1.rect()); in REG_FIDDLE()
|
H A D | radial_gradient_test.cpp | 20 const SkRect rect = SkRect::MakeWH(SIZE, SIZE); in REG_FIDDLE() local 22 canvas->drawRect(rect, p); in REG_FIDDLE()
|
H A D | Rect_equal_operator.cpp | 19 for (auto rect : tests) { in REG_FIDDLE() 20 debugster(rect); in REG_FIDDLE()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | vga16fb.c | 846 static void vga_8planes_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga_8planes_fillrect() argument 848 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect() 857 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 859 if (rect->rop == ROP_COPY) { in vga_8planes_fillrect() 867 height = rect->height; in vga_8planes_fillrect() 874 writeb(rect->color, where); in vga_8planes_fillrect() 886 for (y = 0; y < rect->height; y++) { in vga_8planes_fillrect() 900 static void vga16fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga16fb_fillrect() argument 908 if (!rect in vga16fb_fillrect() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | vga16fb.c | 844 static void vga_8planes_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga_8planes_fillrect() argument 846 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect() 855 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 857 if (rect->rop == ROP_COPY) { in vga_8planes_fillrect() 865 height = rect->height; in vga_8planes_fillrect() 872 writeb(rect->color, where); in vga_8planes_fillrect() 884 for (y = 0; y < rect->height; y++) { in vga_8planes_fillrect() 898 static void vga16fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga16fb_fillrect() argument 906 if (!rect in vga16fb_fillrect() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_custom_paint.cpp | 420 void RosenRenderCustomPaint::FillRect(const Offset& offset, const Rect& rect) in FillRect() argument 427 SkRect skRect = SkRect::MakeLTRB(rect.Left() + offset.GetX(), rect.Top() + offset.GetY(), in FillRect() 428 rect.Right() + offset.GetX(), offset.GetY() + rect.Bottom()); in FillRect() 456 RSRect drawingRect(rect.Left() + offset.GetX(), rect.Top() + offset.GetY(), rect.Right() + offset.GetX(), in FillRect() 457 offset.GetY() + rect.Bottom()); in FillRect() 489 void RosenRenderCustomPaint::StrokeRect(const Offset& offset, const Rect& rect) in StrokeRect() argument 549 ClearRect(const Offset& offset, const Rect& rect) ClearRect() argument 1161 auto rect = SkRect::MakeLTRB(left, top, right, bottom); Arc() local 1238 auto rect = SkRect::MakeLTRB(left, top, right, bottom); Ellipse() local 1279 AddRect(const Offset& offset, const Rect& rect) AddRect() argument 1590 auto rect = Path2DArc() local 1700 auto rect = SkRect::MakeLTRB( Path2DEllipse() local 2512 SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); global() local 2536 RSRect rect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, global() local 2586 SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); global() local [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | mt9v032.c | 558 struct v4l2_rect rect; in mt9v032_set_selection() local 566 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1, in mt9v032_set_selection() 569 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection() 572 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9v032_set_selection() 575 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9v032_set_selection() 579 rect.width = min_t(unsigned int, in mt9v032_set_selection() 580 rect.width, MT9V032_PIXEL_ARRAY_WIDTH - rect.left); in mt9v032_set_selection() 581 rect.height = min_t(unsigned int, in mt9v032_set_selection() 582 rect in mt9v032_set_selection() [all...] |
H A D | mt9p031.c | 627 struct v4l2_rect rect; in mt9p031_set_selection() local 635 rect.left = clamp(ALIGN(sel->r.left, 2), MT9P031_COLUMN_START_MIN, in mt9p031_set_selection() 637 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection() 639 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9p031_set_selection() 642 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9p031_set_selection() 646 rect.width = min_t(unsigned int, rect.width, in mt9p031_set_selection() 647 MT9P031_PIXEL_ARRAY_WIDTH - rect.left); in mt9p031_set_selection() 648 rect.height = min_t(unsigned int, rect in mt9p031_set_selection() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | mt9p031.c | 657 struct v4l2_rect rect; in mt9p031_set_selection() local 665 rect.left = clamp(ALIGN(sel->r.left, 2), MT9P031_COLUMN_START_MIN, in mt9p031_set_selection() 667 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection() 669 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9p031_set_selection() 672 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9p031_set_selection() 676 rect.width = min_t(unsigned int, rect.width, in mt9p031_set_selection() 677 MT9P031_PIXEL_ARRAY_WIDTH - rect.left); in mt9p031_set_selection() 678 rect.height = min_t(unsigned int, rect in mt9p031_set_selection() [all...] |
H A D | mt9v032.c | 564 struct v4l2_rect rect; in mt9v032_set_selection() local 572 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1, in mt9v032_set_selection() 575 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection() 578 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9v032_set_selection() 581 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9v032_set_selection() 585 rect.width = min_t(unsigned int, in mt9v032_set_selection() 586 rect.width, MT9V032_PIXEL_ARRAY_WIDTH - rect.left); in mt9v032_set_selection() 587 rect.height = min_t(unsigned int, in mt9v032_set_selection() 588 rect in mt9v032_set_selection() [all...] |
H A D | ov2680.c | 711 struct v4l2_rect rect; in ov2680_set_selection() local 721 rect.left = clamp_val(ALIGN(sel->r.left, 2), in ov2680_set_selection() 723 rect.top = clamp_val(ALIGN(sel->r.top, 2), in ov2680_set_selection() 725 rect.width = clamp_val(ALIGN(sel->r.width, 2), in ov2680_set_selection() 727 rect.height = clamp_val(ALIGN(sel->r.height, 2), in ov2680_set_selection() 731 rect.width = min_t(unsigned int, rect.width, in ov2680_set_selection() 732 OV2680_NATIVE_WIDTH - rect.left); in ov2680_set_selection() 733 rect.height = min_t(unsigned int, rect in ov2680_set_selection() [all...] |
H A D | ov5693.c | 837 * We can only support setting either the dimensions of the crop rect in ov5693_set_fmt() 928 struct v4l2_rect rect; in ov5693_set_selection() local 938 rect.left = clamp(ALIGN(sel->r.left, 2), OV5693_NATIVE_START_LEFT, in ov5693_set_selection() 940 rect.top = clamp(ALIGN(sel->r.top, 2), OV5693_NATIVE_START_TOP, in ov5693_set_selection() 942 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in ov5693_set_selection() 944 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in ov5693_set_selection() 948 rect.width = min_t(unsigned int, rect.width, in ov5693_set_selection() 949 OV5693_NATIVE_WIDTH - rect.left); in ov5693_set_selection() 950 rect in ov5693_set_selection() [all...] |
H A D | imx296.c | 770 struct v4l2_rect rect; in imx296_set_selection() local 779 rect.left = clamp(ALIGN(sel->r.left, 4), 0, in imx296_set_selection() 781 rect.top = clamp(ALIGN(sel->r.top, 4), 0, in imx296_set_selection() 783 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 4), in imx296_set_selection() 785 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 4), in imx296_set_selection() 788 rect.width = min_t(unsigned int, rect.width, in imx296_set_selection() 789 IMX296_PIXEL_ARRAY_WIDTH - rect.left); in imx296_set_selection() 790 rect.height = min_t(unsigned int, rect in imx296_set_selection() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/focusable/ |
H A D | focusable_element.h | 31 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override; 35 bool AcceptFocusByRectOfLastFocus(const Rect& rect) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | flex_element.h | 33 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override; 34 bool AcceptFocusByRectOfLastFocus(const Rect& rect) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_node.h | 37 std::vector<RectF> GetResponseRegionList(const RectF& rect, int32_t sourceType) override; 40 RectF ConvertHotRect(const RectF& rect, int32_t sourceType);
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/tabs/ |
H A D | tabs_element.cpp | 50 bool TabsElement::RequestNextFocus(bool vertical, bool reverse, const Rect& rect) in RequestNextFocus() argument 55 return GoToNextFocus(reverse, rect); in RequestNextFocus()
|
/foundation/arkui/ui_lite/interfaces/kits/window/ |
H A D | window.h | 74 WindowConfig() : rect(), in WindowConfig() 87 Rect rect; member
|
/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/test/fuzztest/pixelmapfromsurface_fuzzer/ |
H A D | pixelmapfromsurface_fuzzer.cpp | 62 OHOS::Media::Rect rect = {
in DoSomethingInterestingWithMyAPI() local 71 OHOS::Rosen::CreatePixelMapFromSurface(cSurface, rect);
in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_canvas.h | 38 * @brief Draws SkRect rect using clip, SkMatrix, and SkPaint paint. 40 void DrawRect(const TexgineRect &rect, const TexginePaint &paint) const; 43 * @brief Draws SkRRect rect using SkPaint paint. 45 void DrawRRect(const TexgineRect &rect, const TexginePaint &paint) const;
|
/foundation/window/window_manager/extension/window_extension/include/ |
H A D | window_extension_stub_impl.h | 34 virtual void SetBounds(const Rect& rect) override; 41 const Rect& rect, uint32_t parentWindowId, const std::shared_ptr<AbilityRuntime::Context>& context,
|
/third_party/lzma/CPP/Windows/Control/ |
H A D | ReBar.h | 22 bool SizeToRect(LPRECT rect)
in SizeToRect() argument 23 { return LRESULTToBool(SendMsg(RB_SIZETORECT, 0, (LPARAM)rect)); }
in SizeToRect()
|
/third_party/skia/src/gpu/effects/ |
H A D | GrSDFBlurEffect.cpp | 54 matrix.setTranslateX(-noxFormedSigma - srcRRect.rect().fLeft - srcRRect.width() / kHalfFactor); in Make() 55 matrix.setTranslateY(-noxFormedSigma - srcRRect.rect().fTop - srcRRect.height() / kHalfFactor); in Make()
|
/third_party/skia/gm/ |
H A D | arcofzorro.cpp | 42 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200); variable 58 canvas->drawArc(rect, 0, arc, false, p);
|