/third_party/skia/gm/ |
H A D | drawminibitmaprect.cpp | 56 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() local 65 canvas->drawRect(rect, paint); in makebm() 66 rect.inset(wScalar / 8, hScalar / 8); in makebm() 123 // rect stays rect
|
H A D | picture.cpp | 90 // Exercise drawing a picture with a cull rect of non-zero top-left corner. 112 SkRect rect = SkRect::MakeLTRB(0, 80, 100, 100); variable 114 // Make picture complex enough to trigger the cull rect and bbh (RTree) computations. 117 canvas->drawRect(rect, paint); 118 canvas->drawOval(rect, paint);
|
H A D | arcofzorro.cpp | 42 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200); variable 58 canvas->drawArc(rect, 0, arc, false, p);
|
H A D | textblobuseaftergpufree.cpp | 47 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); variable 50 canvas->drawRect(rect, rectPaint);
|
H A D | badpaint.cpp | 50 SkRect rect = SkRect::MakeXYWH(10, 10, 80, 80); variable 52 canvas->drawRect(rect, fPaints[i]);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | render_node_modifier.cpp | 350 RectF rect(rectX, rectY, rectW, rectH); in SetRectMask() 352 renderContext->SetRectMask(rect, property); in SetRectMask() 397 RectF rect(roundRect[LEFT_VALUE], roundRect[TOP_VALUE], roundRect[WIDTH_VALUE], roundRect[HEIGHT_VALUE]); in SetRoundRectMask() 398 roundRectInstance.SetRect(rect); in SetRoundRectMask() 415 RectF rect(rectX, rectY, rectW, rectH); in SetOvalMask() 417 renderContext->SetOvalMask(rect, property); in SetOvalMask() 442 RectF rect(rectX, rectY, rectW, rectH); in SetRectClip() 443 renderContext->ClipWithRect(rect); in SetRectClip() 484 RectF rect(roundRect[LEFT_VALUE], roundRect[TOP_VALUE], roundRect[WIDTH_VALUE], roundRect[HEIGHT_VALUE]); in SetRoundRectClip() 485 roundRectInstance.SetRect(rect); in SetRoundRectClip() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_canvas_drawing_render_node_test.cpp | 368 Drawing::Rect rect(1, 1, 1, 1); in HWTEST_F() 370 ASSERT_FALSE(rsCanvasDrawingRenderNode.GetPixelmap(pixelmap, &rect, tid, drawCmdList)); in HWTEST_F() 374 Drawing::Rect* rect = nullptr; in HWTEST_F() local 376 ASSERT_FALSE(rsCanvasDrawingRenderNode.GetPixelmap(pixelmap, rect, tid, drawCmdList)); in HWTEST_F() 380 Drawing::Rect rect(1, 1, 1, 1); in HWTEST_F() 384 ASSERT_FALSE(rsCanvasDrawingRenderNode.GetPixelmap(pixelmap, &rect, tid, drawCmdList)); in HWTEST_F() 385 ASSERT_FALSE(rsCanvasDrawingRenderNode.GetPixelmap(pixelmap, &rect, tidTwo, drawCmdList)); in HWTEST_F() 401 Drawing::Rect rect(1, 2, 3, 4); in HWTEST_F() 409 EXPECT_FALSE(rsCanvasDrawingRenderNode->GetPixelmap(pixelmap, &rect, tid, drawCmdList)); in HWTEST_F() 412 EXPECT_FALSE(rsCanvasDrawingRenderNode->GetPixelmap(pixelmap, &rect, ti in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
H A D | vpdma.c | 826 struct v4l2_rect rect = *c_rect; in vpdma_rawchan_add_out_dtd() local 835 rect.height >>= 1; in vpdma_rawchan_add_out_dtd() 836 rect.top >>= 1; in vpdma_rawchan_add_out_dtd() 840 dma_addr += rect.top * stride + (rect.left * depth >> 3); in vpdma_rawchan_add_out_dtd() 896 struct v4l2_rect rect = *c_rect; in vpdma_add_in_dtd() local 904 rect.height >>= 1; in vpdma_add_in_dtd() 905 rect.top >>= 1; in vpdma_add_in_dtd() 909 dma_addr += rect.top * stride + (rect in vpdma_add_in_dtd() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/ |
H A D | vpdma.c | 826 struct v4l2_rect rect = *c_rect; in vpdma_rawchan_add_out_dtd() local 835 rect.height >>= 1; in vpdma_rawchan_add_out_dtd() 836 rect.top >>= 1; in vpdma_rawchan_add_out_dtd() 840 dma_addr += rect.top * stride + (rect.left * depth >> 3); in vpdma_rawchan_add_out_dtd() 896 struct v4l2_rect rect = *c_rect; in vpdma_add_in_dtd() local 904 rect.height >>= 1; in vpdma_add_in_dtd() 905 rect.top >>= 1; in vpdma_add_in_dtd() 909 dma_addr += rect.top * stride + (rect in vpdma_add_in_dtd() [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | ui_action_test.cpp | 220 Rect rect(210, 510, 30, 330); in TEST_F() 222 GenericPinch action(rect, scale); in TEST_F() 229 const int32_t disX0 = abs(rect.left_ - rect.GetCenterX()) * abs(scale - 1); in TEST_F() 236 int32_t expectedPointerX0 = rect.left_ + (disX0 * step) / steps; in TEST_F() 257 int32_t expectedPointerX0 = rect.right_ - stepLengthX * step; in TEST_F() 360 Rect rect(210, 510, 30, 330); in TEST_F() 362 GenericPinch action(rect, scale); in TEST_F() 369 const int32_t disX0 = abs(rect.left_ - rect in TEST_F() [all...] |
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
H A D | mixer.c | 245 struct u_rect rect, clip, *prect, dirty_area; in vlVdpVideoMixerRender() local 297 RectToPipe(background_source_rect, &rect), NULL, NULL); in vlVdpVideoMixerRender() 337 prect = RectToPipe(video_source_rect, &rect); in vlVdpVideoMixerRender() 339 rect.x0 = 0; in vlVdpVideoMixerRender() 340 rect.y0 = 0; in vlVdpVideoMixerRender() 341 rect.x1 = surf->templat.width; in vlVdpVideoMixerRender() 342 rect.y1 = surf->templat.height; in vlVdpVideoMixerRender() 343 prect = ▭ in vlVdpVideoMixerRender() 384 vl_compositor_set_layer_dst_area(&vmixer->cstate, layer++, RectToPipe(destination_video_rect, &rect)); in vlVdpVideoMixerRender() 398 RectToPipe(layers->source_rect, &rect), NUL in vlVdpVideoMixerRender() [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrTextureEffect.cpp | 329 // 2) Clamp the coordinates to a 0.5 inset of the subset rect [Clamp, Repeat, and in emitCode() 331 // output of 1). The clamp rect collapses to a line or point it if the subset in emitCode() 332 // rect is less than one pixel wide/tall. in emitCode() 337 // filtering do a hard less than/greater than test with the subset rect. in emitCode() 431 // These modes either don't use the subset rect or don't need to map the in emitCode() 532 // Apply subset rect and clamp rect to coords. in emitCode() 652 // epsilon) before comparing to the subset rect to avoid GPU interpolation errors in emitCode() 691 auto pushRect = [&](float rect[4], UniformHandle uni) { in onSetData() 693 rect[ in onSetData() [all...] |
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/third_party/externals/libpng/contrib/gregbook/ |
H A D | rpng2-win.c | 702 RECT rect; 824 rect.left = 0L; 825 rect.top = 0L; 826 rect.right = (LONG)rpng2_info.width; /* possibly off by one? */ 827 rect.bottom = (LONG)rpng2_info.height; /* possibly off by one? */ 828 InvalidateRect(global_hwnd, &rect, FALSE); 1157 RECT rect; 1159 rect.left = 0L; 1160 rect.top = (LONG)firstrow; 1161 rect [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglPartialUpdateTests.cpp | 135 ColoredRect rect; member 140 , rect (rect_) in DrawCommand() 250 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render() 334 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render() 481 const ColoredRect& rect = frame.draws[drawNdx].rect; in getDamageRegion() local 482 damageRegion.push_back(rect.bottomLeft.x() - marginLeft); in getDamageRegion() 483 damageRegion.push_back(rect.bottomLeft.y() - marginBottom); in getDamageRegion() 484 damageRegion.push_back(rect.topRight.x() - rect in getDamageRegion() [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/experimental/graphite/src/geom/ |
H A D | Transform_graphite.h | 26 // The matrix transforms a rect to another rect, without mirrors or rotations, so both 29 // The matrix transforms a rect to another rect, but may mirror or rotate the corners 30 // relative to each other. This means that the post-transformed rect completely fills 33 // The matrix transform may have skew or rotation, so a mapped rect does not fill space, 63 Rect mapRect(const Rect& rect) const; 64 Rect inverseMapRect(const Rect& rect) const;
|