Home
last modified time | relevance | path

Searched refs:rect (Results 701 - 725 of 2377) sorted by relevance

1...<<21222324252627282930>>...96

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_overlay_modifier.cpp20 #include "base/geometry/rect.h"
122 auto rect = rectsForPlaceholders.at(index); in onDraw() local
123 auto offset = OffsetF(rect.Left(), rect.Top()) - contentOffset; in onDraw()
126 RectF imageRect(offset.GetX(), offset.GetY(), rect.Width(), rect.Height()); in onDraw()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_surface_node_demo.cpp188 auto rect = window->GetRect(); in main() local
189 std::cout << "rs SurfaceNode demo create window " << rect.width_ << " " << rect.height_ << std::endl; in main()
199 Init(rsUiDirector, rect.width_, rect.height_); in main()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_paint_test.cpp207 Rect rect; in HWTEST_F() local
209 skiaPaint.ComputeFastBounds(brush, rect, nullptr); in HWTEST_F()
211 skiaPaint.ComputeFastBounds(brush, rect, &storage); in HWTEST_F()
229 Rect rect(0, 0, 100, 100); // 100: right, bottom in HWTEST_F()
232 ret = skiaPaint.GetFillPath(pen, srcPath, dstPath, &rect, matrix); in HWTEST_F()
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_occupied_area_change_test.cpp82 .rect = Utils::customAppRect_, in SetUp()
91 .rect = Utils::customAppRect_, in SetUp()
118 imeAppInfo_.rect = { 10, 200, 300, 400 }; in HWTEST_F()
150 imeAppInfo_.rect = { 10, 200, 300, 400 }; in HWTEST_F()
182 imeAppInfo_.rect = { 10, 200, 300, 400 }; in HWTEST_F()
/foundation/window/window_manager/utils/include/
H A Dwm_occlusion_region.h55 Event: Used for record a rect edge in/out event
56 y_: rect edge Y value
57 type: OPEN/CLOSE: lhs rect in/out; VOID_OPEN/VOID_CLOSE: rhs rect in/out
148 explicit Region(Rect& rect) in Region() argument
150 rects_.push_back(rect); in Region()
151 bound_ = Rect { rect }; in Region()
196 for (auto& rect : rects_) { in GetRegionInfo()
197 info.append(rect.GetRectInfo()); in GetRegionInfo()
229 (rect i
[all...]
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node.h61 void SetEntireWindowTouchHotArea(const Rect& rect);
62 void SetEntireWindowPointerHotArea(const Rect& rect);
63 void SetWindowRect(const Rect& rect);
66 void SetRequestRect(const Rect& rect);
86 void SetOriginRect(const Rect& rect);
/third_party/cups-filters/filter/pdftopdf/
H A Dqpdf_pdftopdf.cc73 QPDFObjectHandle getRectAsBox(const PageRect &rect) // {{{ in getRectAsBox() argument
75 return makeBox(rect.left,rect.bottom,rect.right,rect.top); in getRectAsBox()
/third_party/skia/src/gpu/
H A DGrAuditTrail.cpp170 static void skrect_to_json(SkJSONWriter& writer, const char* name, const SkRect& rect) {
172 writer.appendFloat("Left", rect.fLeft);
173 writer.appendFloat("Right", rect.fRight);
174 writer.appendFloat("Top", rect.fTop);
175 writer.appendFloat("Bottom", rect.fBottom);
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.cpp498 SkIRect rect, in onWritePixels()
535 rect, in onWritePixels()
542 rect, in onWritePixels()
563 SkIRect rect, in onTransferPixelsTo()
601 SkASSERT(SkIRect::MakeSize(texture->dimensions()).contains(rect)); in onTransferPixelsTo()
610 region.imageOffset = { rect.left(), rect.top(), 0 }; in onTransferPixelsTo()
611 region.imageExtent = { (uint32_t)rect.width(), (uint32_t)rect.height(), 1 }; in onTransferPixelsTo()
636 SkIRect rect, in onTransferPixelsFrom()
497 onWritePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) onWritePixels() argument
562 onTransferPixelsTo(GrTexture* texture, SkIRect rect, GrColorType surfaceColorType, GrColorType bufferColorType, sk_sp<GrGpuBuffer> transferBuffer, size_t bufferOffset, size_t rowBytes) onTransferPixelsTo() argument
635 onTransferPixelsFrom(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType bufferColorType, sk_sp<GrGpuBuffer> transferBuffer, size_t offset) onTransferPixelsFrom() argument
761 uploadTexDataLinear(GrVkImage* texImage, SkIRect rect, GrColorType dataColorType, const void* data, size_t rowBytes) uploadTexDataLinear() argument
921 uploadTexDataOptimal(GrVkImage* texImage, SkIRect rect, GrColorType dataColorType, const GrMipLevel texels[], int mipLevelCount) uploadTexDataOptimal() argument
2527 onReadPixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void* buffer, size_t rowBytes) onReadPixels() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/
H A Dtool_bar_element.h28 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override
30 return GoToNextFocus(reverse, rect);
/third_party/skia/docs/examples/
H A DRect_roundOut_3.cpp7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local
8 SkIRect round = rect.roundOut(); in REG_FIDDLE()
H A DRect_roundOut.cpp7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local
9 rect.roundOut(&round); in REG_FIDDLE()
H A DRect_roundOut_2.cpp7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local
9 rect.roundOut(&round); in REG_FIDDLE()
H A DRect_round_2.cpp7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local
8 SkIRect round = rect.round(); in REG_FIDDLE()
H A DRect_roundIn.cpp7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local
9 rect.roundIn(&round); in REG_FIDDLE()
H A DRect_round.cpp7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local
9 rect.round(&round); in REG_FIDDLE()
/foundation/arkui/ace_engine/test/unittest/core/rosen/
H A Drosen_render_context_test_new.cpp146 auto rect = RectF(1.0, 1.0, 1.0, 1.0); in HWTEST_F() local
147 RSRect rsRect(rect.Left(), rect.Top(), rect.Right(), rect.Bottom()); in HWTEST_F()
165 rosenRenderContext->SetOvalMask(rect, property); in HWTEST_F()
166 rosenRenderContext->ClipWithRect(rect); in HWTEST_F()
178 auto rect = RectF(1.0, 1.0, 1.0, 1.0); in HWTEST_F() local
181 roundRect.SetRect(rect); in HWTEST_F()
259 auto rect in HWTEST_F() local
755 auto rect = RectF(1.0, 1.0, 1.0, 1.0); HWTEST_F() local
849 auto rect = RectF(1.0, 1.0, 1.0, 1.0); HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
H A Dvpbe_display.c648 struct v4l2_rect rect = sel->r; in vpbe_display_s_selection() local
658 if (rect.top < 0) in vpbe_display_s_selection()
659 rect.top = 0; in vpbe_display_s_selection()
660 if (rect.left < 0) in vpbe_display_s_selection()
661 rect.left = 0; in vpbe_display_s_selection()
663 vpbe_disp_check_window_params(disp_dev, &rect); in vpbe_display_s_selection()
669 rect.width, in vpbe_display_s_selection()
670 rect.height); in vpbe_display_s_selection()
671 vpbe_disp_adj_position(disp_dev, layer, rect.top, in vpbe_display_s_selection()
672 rect in vpbe_display_s_selection()
715 struct v4l2_rect *rect = &sel->r; vpbe_display_g_selection() local
[all...]
/third_party/skia/tests/
H A DClipStackTest.cpp40 // Build up a clip stack with a path, an empty clip, and a rect. in test_assign_and_comparison()
90 // Test that version constructed with rect-path rather than a rect is still considered equal. in test_assign_and_comparison()
373 SkRect rect = SkRect::MakeLTRB(0, 0, 10, 10);
376 path.addRect(rect);
385 REPORTER_ASSERT(reporter, bounds == rect);
389 SkRect rect = SkRect::MakeWH(100, 100);
396 // Adding a new rect with the replace operator should not increase
401 stack.replaceClip(rect, false);
403 stack.replaceClip(rect, fals
470 SkRect rect = SkRect::MakeWH(100, 100); global() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.cpp802 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); in SkiaCreateInset() local
803 auto radiusSize = SizeF(std::abs(rect.width()), std::abs(rect.height())); in SkiaCreateInset()
818 roundRect.setRectRadii(rect, fRadii); in SkiaCreateInset()
850 SkRect rect = SkRect::MakeXYWH(x, y, rx + rx, ry + ry); in SkiaCreateEllipse() local
851 skPath.addOval(rect); in SkiaCreateEllipse()
857 SkRect rect = SkRect::MakeXYWH(x, y, width, height); in SkiaCreateEllipse() local
858 skPath.addOval(rect); in SkiaCreateEllipse()
902 const auto& rect = AceType::DynamicCast<ShapeRect>(basicShape); in SkiaCreateRect() local
903 CHECK_NULL_VOID(rect); in SkiaCreateRect()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_decoration_painter.cpp779 RSRect rect(left, top, right, bottom); in DrawingCreateInset()
780 auto radiusSize = SizeF(std::abs(rect.GetWidth()), std::abs(rect.GetHeight())); in DrawingCreateInset()
795 RSRoundRect roundRect(rect, fRadii); in DrawingCreateInset()
828 RSRect rect = RSRect(x, y, x + rx + rx, y + ry + ry); in DrawingCreateEllipse() local
829 rsPath.AddOval(rect); in DrawingCreateEllipse()
835 RSRect rect = RSRect(x, y, x + width, y + height); in DrawingCreateEllipse() local
836 rsPath.AddOval(rect); in DrawingCreateEllipse()
879 const auto& rect = AceType::DynamicCast<ShapeRect>(basicShape); in DrawingCreateRect() local
880 CHECK_NULL_VOID(rect); in DrawingCreateRect()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_composer_adapter_test.cpp499 auto rect = composerAdapter_->SrcRectRotateTransform(*surfaceNode); in HWTEST_F() local
500 ASSERT_NE(0, rect.width_); in HWTEST_F()
501 ASSERT_NE(0, rect.height_); in HWTEST_F()
518 auto rect = composerAdapter_->SrcRectRotateTransform(*surfaceNode); in HWTEST_F() local
519 ASSERT_NE(0, rect.width_); in HWTEST_F()
520 ASSERT_NE(0, rect.height_); in HWTEST_F()
537 auto rect = composerAdapter_->SrcRectRotateTransform(*surfaceNode); in HWTEST_F() local
538 ASSERT_NE(0, rect.width_); in HWTEST_F()
539 ASSERT_NE(0, rect.height_); in HWTEST_F()
556 auto rect in HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/
H A Drs_uni_render_composer_adapter_unit_test.cpp499 auto rect = composerAdapter_->SrcRectRotateTransform(*surfaceNode); in HWTEST_F() local
500 ASSERT_NE(0, rect.width_); in HWTEST_F()
501 ASSERT_NE(0, rect.height_); in HWTEST_F()
518 auto rect = composerAdapter_->SrcRectRotateTransform(*surfaceNode); in HWTEST_F() local
519 ASSERT_NE(0, rect.width_); in HWTEST_F()
520 ASSERT_NE(0, rect.height_); in HWTEST_F()
537 auto rect = composerAdapter_->SrcRectRotateTransform(*surfaceNode); in HWTEST_F() local
538 ASSERT_NE(0, rect.width_); in HWTEST_F()
539 ASSERT_NE(0, rect.height_); in HWTEST_F()
556 auto rect in HWTEST_F() local
[all...]
/third_party/skia/src/gpu/d3d/
H A DGrD3DGpu.cpp524 // The rect is already in device space so we pass in kTopLeft so no flip is done. in copySurfaceAsCopyTexture()
536 // The rect is already in device space so we pass in kTopLeft so no flip is done. in copySurfaceAsResolve()
572 SkIRect rect, in onReadPixels()
606 this->readOrTransferPixels(texResource, rect, transferBuffer, placedFootprint); in onReadPixels()
614 size_t tightRowBytes = bpp * rect.width(); in onReadPixels()
623 rect.height()); in onReadPixels()
631 SkIRect rect, in readOrTransferPixels()
642 srcBox.left = rect.left(); in readOrTransferPixels()
643 srcBox.top = rect.top(); in readOrTransferPixels()
644 srcBox.right = rect in readOrTransferPixels()
571 onReadPixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void* buffer, size_t rowBytes) onReadPixels() argument
630 readOrTransferPixels(GrD3DTextureResource* texResource, SkIRect rect, sk_sp<GrGpuBuffer> transferBuffer, const D3D12_PLACED_SUBRESOURCE_FOOTPRINT& placedFootprint) readOrTransferPixels() argument
664 onWritePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) onWritePixels() argument
697 uploadToTexture(GrD3DTexture* tex, SkIRect rect, GrColorType colorType, const GrMipLevel* texels, int mipLevelCount) uploadToTexture() argument
792 onTransferPixelsTo(GrTexture* texture, SkIRect rect, GrColorType surfaceColorType, GrColorType bufferColorType, sk_sp<GrGpuBuffer> transferBuffer, size_t bufferOffset, size_t rowBytes) onTransferPixelsTo() argument
860 onTransferPixelsFrom(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType bufferColorType, sk_sp<GrGpuBuffer> transferBuffer, size_t offset) onTransferPixelsFrom() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_ellipse.cpp142 SkRect rect = SkRect::MakeXYWH(ConvertDimensionToPx(cx_, LengthType::HORIZONTAL) - rx, in GetPath() local
144 path.addOval(rect); in GetPath()
146 auto rect = RSRect(ConvertDimensionToPx(cx_, LengthType::HORIZONTAL) - rx, in GetPath() local
150 path.AddOval(rect); in GetPath()

Completed in 22 milliseconds

1...<<21222324252627282930>>...96