/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
H A D | text_drag_overlay_modifier.cpp | 20 #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 D | render_service_client_surface_node_demo.cpp | 188 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 D | skia_paint_test.cpp | 207 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 D | window_occupied_area_change_test.cpp | 82 .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 D | wm_occlusion_region.h | 55 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 D | window_node.h | 61 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 D | qpdf_pdftopdf.cc | 73 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 D | GrAuditTrail.cpp | 170 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 D | GrVkGpu.cpp | 498 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 D | tool_bar_element.h | 28 bool RequestNextFocus(bool vertical, bool reverse, const Rect& rect) override 30 return GoToNextFocus(reverse, rect);
|
/third_party/skia/docs/examples/ |
H A D | Rect_roundOut_3.cpp | 7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local 8 SkIRect round = rect.roundOut(); in REG_FIDDLE()
|
H A D | Rect_roundOut.cpp | 7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local 9 rect.roundOut(&round); in REG_FIDDLE()
|
H A D | Rect_roundOut_2.cpp | 7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local 9 rect.roundOut(&round); in REG_FIDDLE()
|
H A D | Rect_round_2.cpp | 7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local 8 SkIRect round = rect.round(); in REG_FIDDLE()
|
H A D | Rect_roundIn.cpp | 7 SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f }; in REG_FIDDLE() local 9 rect.roundIn(&round); in REG_FIDDLE()
|
H A D | Rect_round.cpp | 7 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 D | rosen_render_context_test_new.cpp | 146 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 D | vpbe_display.c | 648 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 D | ClipStackTest.cpp | 40 // 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 D | skia_decoration_painter.cpp | 802 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 D | drawing_decoration_painter.cpp | 779 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 D | rs_uni_render_composer_adapter_test.cpp | 499 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 D | rs_uni_render_composer_adapter_unit_test.cpp | 499 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 D | GrD3DGpu.cpp | 524 // 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 D | rosen_render_svg_ellipse.cpp | 142 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()
|