Home
last modified time | relevance | path

Searched refs:rect (Results 826 - 850 of 2035) sorted by relevance

1...<<31323334353637383940>>...82

/foundation/window/window_manager/window_scene/interfaces/include/
H A Dws_common.h486 inline bool IsOverlap(const WSRectT<T>& rect) const in IsOverlap()
488 int32_t xStart = std::max(posX_, rect.posX_); in IsOverlap()
490 rect.posX_ + static_cast<int32_t>(rect.width_)); in IsOverlap()
491 int32_t yStart = std::max(posY_, rect.posY_); in IsOverlap()
493 rect.posY_ + static_cast<int32_t>(rect.height_)); in IsOverlap()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_tile.cpp314 auto& rect = (*rectIt); in ApplyPresetRectForTileWindows() local
315 if (WindowHelper::IsRectSatisfiedWithSizeLimits(rect, node->GetWindowUpdatedSizeLimits())) { in ApplyPresetRectForTileWindows()
322 node->SetRequestRect(rect); in ApplyPresetRectForTileWindows()
325 WLOGFD("Set preset rect for tileWin, id: %{public}d [%{public}d %{public}d %{public}d %{public}d]", in ApplyPresetRectForTileWindows()
326 node->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_); in ApplyPresetRectForTileWindows()
/third_party/glfw/src/
H A Dwin32_monitor.c43 RECT* rect, in monitorCallback()
70 RECT rect; in createMonitor() local
121 rect.left = dm.dmPosition.x; in createMonitor()
122 rect.top = dm.dmPosition.y; in createMonitor()
123 rect.right = dm.dmPosition.x + dm.dmPelsWidth; in createMonitor()
124 rect.bottom = dm.dmPosition.y + dm.dmPelsHeight; in createMonitor()
126 EnumDisplayMonitors(NULL, &rect, monitorCallback, (LPARAM) monitor); in createMonitor()
41 monitorCallback(HMONITOR handle, HDC dc, RECT* rect, LPARAM data) monitorCallback() argument
/third_party/skia/src/gpu/v1/
H A DStencilMaskHelper.cpp283 const SkRect& rect, GrAA aa) { in draw_stencil_rect()
286 sdc->stencilRect(&clip, ss, std::move(paint), aa, matrix, rect); in draw_stencil_rect()
368 void StencilMaskHelper::drawRect(const SkRect& rect, in drawRect() argument
372 if (rect.isEmpty()) { in drawRect()
383 draw_stencil_rect(fSDC, fClip.fixedClip(), &gDrawToStencil, matrix, rect, aa); in drawRect()
390 draw_stencil_rect(fSDC, fClip, *pass, matrix, rect, aa); in drawRect()
477 this->drawRect(shape.rect(), matrix, op, aa); in drawShape()
279 draw_stencil_rect(skgpu::v1::SurfaceDrawContext* sdc, const GrHardClip& clip, const GrUserStencilSettings* ss, const SkMatrix& matrix, const SkRect& rect, GrAA aa) draw_stencil_rect() argument
/third_party/skia/third_party/externals/libgifcodec/
H A DSkLibGifCodec.cpp134 auto* rect = &frameInfo->fFrameRect; in onGetFrameInfo() local
136 if (!rect->intersect(bounds)) { in onGetFrameInfo()
140 rect->setLTRB(std::min(rect->left(), bounds.right()), in onGetFrameInfo()
141 std::min(rect->top(), bounds.bottom()), in onGetFrameInfo()
142 std::min(rect->right(), bounds.right()), in onGetFrameInfo()
143 std::min(rect->bottom(), bounds.bottom())); in onGetFrameInfo()
/third_party/skia/tests/
H A DClearTest.cpp39 const SkIRect& rect, in check_rect()
44 int w = rect.width(); in check_rect()
45 int h = rect.height(); in check_rect()
53 if (!sdc->readPixels(dContext, readback, {rect.fLeft, rect.fTop})) { in check_rect()
62 *failX = x + rect.fLeft; in check_rect()
63 *failY = y + rect.fTop; in check_rect()
37 check_rect(GrDirectContext* dContext, SurfaceDrawContext* sdc, const SkIRect& rect, uint32_t expectedValue, uint32_t* actualValue, int* failX, int* failY) check_rect() argument
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_utils.cpp339 const dng_rect_real64 &rect) in MaxSquaredDistancePointToRect()
343 rect.TL ()); in MaxSquaredDistancePointToRect()
347 rect.BL ())); in MaxSquaredDistancePointToRect()
351 rect.BR ())); in MaxSquaredDistancePointToRect()
355 rect.TR ())); in MaxSquaredDistancePointToRect()
364 const dng_rect_real64 &rect) in MaxDistancePointToRect()
368 rect)); in MaxDistancePointToRect()
338 MaxSquaredDistancePointToRect(const dng_point_real64 &point, const dng_rect_real64 &rect) MaxSquaredDistancePointToRect() argument
363 MaxDistancePointToRect(const dng_point_real64 &point, const dng_rect_real64 &rect) MaxDistancePointToRect() argument
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_test.cpp929 scensession->sessionRectChangeFunc_ = [](const WSRect& rect, in HWTEST_F()
1146 WSRect rect = { 0, 0, 320, 240}; // width: 320, height: 240 in HWTEST_F() local
1147 scensession->SetSessionRect(rect); in HWTEST_F()
1760 WSRect rect({1, 1, 1, 1}); in HWTEST_F()
1762 WSError result = scensession->UpdateRect(rect, reason, "SceneSessionTest"); in HWTEST_F()
1790 WSRect rect({1, 1, 1, 1}); in HWTEST_F()
1793 sceneSession->UpdateInputMethodSessionRect(rect, newWinRect, newRequestRect); in HWTEST_F()
1797 auto res = sceneSession->UpdateInputMethodSessionRect(rect, newWinRect, newRequestRect); in HWTEST_F()
1802 res = sceneSession->UpdateInputMethodSessionRect(rect, newWinRect, newRequestRect); in HWTEST_F()
1830 WSRect rect({ in HWTEST_F()
2010 WSRect rect = {1, 1, 1, 1}; HWTEST_F() local
[all...]
H A Dscene_session_test2.cpp190 WSRect rect({1, 1, 1, 1}); in HWTEST_F()
192 scensession->GetSystemAvoidArea(rect, avoidArea); in HWTEST_F()
659 Rect rect = {0, 0, 800, 600}; in HWTEST_F() local
661 WSError result = scenesession->UpdatePiPRect(rect, reason); in HWTEST_F()
666 result = scenesession->UpdatePiPRect(rect, reason); in HWTEST_F()
672 result = scenesession->UpdatePiPRect(rect, reason); in HWTEST_F()
676 result = scenesession->UpdatePiPRect(rect, reason); in HWTEST_F()
1111 WSRect rect = {3, 4, 5, 6}; in HWTEST_F() local
1112 scensession->SetLastSafeRect(rect); in HWTEST_F()
1579 WSRect rect; in HWTEST_F() local
1599 WSRect rect; HWTEST_F() local
1622 WSRect rect; HWTEST_F() local
1670 WSRect rect; HWTEST_F() local
1705 WSRect rect; HWTEST_F() local
1937 WSRect rect = {0, 0, 10, 10}; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_rect.h48 static void ParseRectObjBelowApi12(const RefPtr<ShapeRect>& rect, const JSRef<JSObject>& obj);
49 static void ParseRectObjAboveApi12(const RefPtr<ShapeRect>& rect, const JSRef<JSObject>& obj);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_context_select_overlay.h54 void OnHandleMove(const RectF& rect, bool isFirst) override {}
55 void OnHandleMoveDone(const RectF& rect, bool isFirst) override;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Drect_paint_method.h60 return [rect = rect_, rectPaintProperty, paintWrapper](RSCanvas& canvas) {
61 RectPainter::DrawRect(canvas, rect, *rectPaintProperty);
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_canvas_drawing_node.h43 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = nullptr, const Drawing::Rect* rect = nullptr);
45 std::shared_ptr<Drawing::DrawCmdList> drawCmdList = nullptr, const Drawing::Rect* rect = nullptr);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_render_node_shadow_drawable.cpp35 // rect is not directly used, make a dummy rect in Draw()
36 static const Drawing::Rect rect; in Draw() local
58 nodeDrawable_->drawCmdList_[i](&canvas, &rect); in Draw()
H A Drs_property_drawable_background.cpp107 return [ptr](Drawing::Canvas* canvas, const Drawing::Rect* rect) { in CreateDrawFunc()
180 Drawing::Rect rect = Drawing::Rect(0, 0, maskBounds.GetWidth(), maskBounds.GetHeight()); in OnUpdate() local
182 canvas.DrawRect(rect); in OnUpdate()
490 return [ptr](Drawing::Canvas* canvas, const Drawing::Rect* rect) { in CreateDrawFunc()
579 return [ptr](Drawing::Canvas* canvas, const Drawing::Rect* rect) {
582 paintFilterCanvas->ClipRect(*rect);
584 canvas->GetTotalMatrix().MapRect(absRect, *rect);
623 return [ptr](Drawing::Canvas* canvas, const Drawing::Rect* rect) {
643 drawable->DrawImpl(*paintFilterCanvas, *rect, index);
690 return [ptr](Drawing::Canvas* canvas, const Drawing::Rect* rect) {
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/roundRect_napi/
H A Djs_roundrect.h29 explicit JsRoundRect(const Drawing::Rect& rect, float x, float y) in JsRoundRect() argument
30 : m_roundRect(rect, x, y) {}; in JsRoundRect()
/third_party/skia/src/core/
H A DSkClipStackDevice.h28 void onClipRect(const SkRect& rect, SkClipOp, bool aa) override;
33 void onReplaceClip(const SkIRect& rect) override;
H A DSkPathBuilder.cpp258 // a rect. in arc_is_lone_point()
564 outside their marks. A round rect may lose convexity as a result. If the input in arcTo()
615 RectPointIterator(const SkRect& rect, SkPathDirection dir, unsigned startIndex) in RectPointIterator() argument
618 fPts[0] = SkPoint::Make(rect.fLeft, rect.fTop); in RectPointIterator()
619 fPts[1] = SkPoint::Make(rect.fRight, rect.fTop); in RectPointIterator()
620 fPts[2] = SkPoint::Make(rect.fRight, rect.fBottom); in RectPointIterator()
621 fPts[3] = SkPoint::Make(rect in RectPointIterator()
664 addRect(const SkRect& rect, SkPathDirection dir, unsigned index) addRect() argument
[all...]
/third_party/skia/gm/
H A Dtextblobgeometrychange.cpp58 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); variable
61 canvas->drawRect(rect, rectPaint);
H A Drepeated_bitmap.cpp28 SkRect rect = SkRect::MakeLTRB(-68.0f, -68.0f, 68.0f, 68.0f); in draw_rotated_image() local
39 canvas->drawRect(rect, paint); in draw_rotated_image()
H A Dcrbug_1167277.cpp23 SkRect rect = {SkBits2Float(0x00000000), SkBits2Float(0x00000000), in DEF_SIMPLE_GM() local
34 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, SkBlendMode::kSrcOver); in DEF_SIMPLE_GM()
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drender_node.h23 #include "base/geometry/rect.h"
273 for (auto& rect : touchRectList) { in InTouchRectList()
274 if (rect.IsInRegion(parentLocalPoint)) { in InTouchRectList()
301 virtual Rect GetTransformRect(const Rect& rect) in GetTransformRect() argument
303 return rect; in GetTransformRect()
312 void SetPaintRect(const Rect& rect);
314 void SetTouchRect(const Rect& rect) in SetTouchRect() argument
316 touchRect_ = rect; in SetTouchRect()
607 // Whether |rect| is in the paint rect o
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DImage9.cpp315 angle::Result Image9::lock(Context9 *context9, D3DLOCKED_RECT *lockedRect, const RECT &rect) in lock() argument
321 HRESULT result = mSurface->LockRect(lockedRect, &rect, 0); in lock()
437 RECT rect; in copyToSurface() local
438 rect.left = area.x; in copyToSurface()
439 rect.top = area.y; in copyToSurface()
440 rect.right = area.x + area.width; in copyToSurface()
441 rect.bottom = area.y + area.height; in copyToSurface()
443 POINT point = {rect.left, rect.top}; in copyToSurface()
458 result = device->UpdateSurface(surf, &rect, destSurfac in copyToSurface()
[all...]
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_test.cpp261 Media::Rect rect = {.left = 1, .top = 1, .width = 1, .height = 1}; in HWTEST_F() local
262 bool ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
264 rect.left = -1; in HWTEST_F()
265 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
267 rect.left = 1; in HWTEST_F()
268 rect.top = -1; in HWTEST_F()
269 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
271 rect.top = 1; in HWTEST_F()
272 rect.width = -1; in HWTEST_F()
273 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeigh in HWTEST_F()
987 DMRect rect = {2, 2, 2, 2}; HWTEST_F() local
1436 DMRect rect = {2, 2, 2, 2}; HWTEST_F() local
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_chart.cpp422 Rect rect = GetContentRect(); in RefreshChart() local
442 Rect refresh(current.x, rect.GetTop(), last.x, rect.GetBottom()); in RefreshChart()
632 Rect rect; in DrawSmoothPolyLine() local
633 rect.SetLeft(MATH_MIN(start.x, end.x) - style_->lineWidth_); in DrawSmoothPolyLine()
634 rect.SetRight(MATH_MAX(start.x, end.x) + style_->lineWidth_); in DrawSmoothPolyLine()
635 rect.SetTop(MATH_MIN(start.y, end.y) - style_->lineWidth_); in DrawSmoothPolyLine()
636 rect.SetBottom(MATH_MAX(start.y, end.y) + style_->lineWidth_); in DrawSmoothPolyLine()
637 if (!invalidatedArea.IsIntersect(rect)) { in DrawSmoothPolyLine()
686 Rect rect; in DrawPolyLine() local
[all...]

Completed in 24 milliseconds

1...<<31323334353637383940>>...82