Home
last modified time | relevance | path

Searched refs:rect (Results 801 - 825 of 2377) sorted by relevance

1...<<31323334353637383940>>...96

/third_party/skia/docs/examples/
H A DPicture_MakePlaceholder.cpp11 const SkRect rect = picture->cullRect(); in REG_FIDDLE() local
14 canvas->drawRect(rect, redPaint); in REG_FIDDLE()
H A DRRect_notequal_operator.cpp9 SkRRect rrect2 = SkRRect::MakeRectXY(rrect1.rect(), 50, 50); in REG_FIDDLE()
10 SkRRect rrect3 = SkRRect::MakeOval(rrect1.rect()); in REG_FIDDLE()
H A Dradial_gradient_test.cpp20 const SkRect rect = SkRect::MakeWH(SIZE, SIZE); in REG_FIDDLE() local
22 canvas->drawRect(rect, p); in REG_FIDDLE()
H A DRect_equal_operator.cpp19 for (auto rect : tests) { in REG_FIDDLE()
20 debugster(rect); in REG_FIDDLE()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dvga16fb.c846 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 Dvga16fb.c844 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 Drosen_render_custom_paint.cpp420 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 Dmt9v032.c558 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 Dmt9p031.c627 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 Dmt9p031.c657 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 Dmt9v032.c564 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 Dov2680.c711 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 Dov5693.c837 * 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 Dimx296.c770 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 Dfocusable_element.h31 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 Dflex_element.h33 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 Dwindow_node.h37 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 Dtabs_element.cpp50 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 Dwindow.h74 WindowConfig() : rect(), in WindowConfig()
87 Rect rect; member
/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/test/fuzztest/pixelmapfromsurface_fuzzer/
H A Dpixelmapfromsurface_fuzzer.cpp62 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 Dtexgine_canvas.h38 * @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 Dwindow_extension_stub_impl.h34 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 DReBar.h22 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 DGrSDFBlurEffect.cpp54 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 Darcofzorro.cpp42 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200); variable
58 canvas->drawArc(rect, 0, arc, false, p);

Completed in 19 milliseconds

1...<<31323334353637383940>>...96