Home
last modified time | relevance | path

Searched refs:rect (Results 1201 - 1225 of 2709) sorted by relevance

1...<<41424344454647484950>>...109

/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.cpp489 bool ConvertRectInfoFromJs(napi_env env, napi_value jsObject, WSRect& rect) in ConvertRectInfoFromJs() argument
504 rect.posX_ = leftName; in ConvertRectInfoFromJs()
510 rect.posY_ = topName; in ConvertRectInfoFromJs()
516 rect.width_ = rightName - rect.posX_; in ConvertRectInfoFromJs()
522 rect.height_ = bottomName - rect.posY_; in ConvertRectInfoFromJs()
970 Rect rect = property->GetWindowRect(); in CreateJsSessionRecoverInfo() local
971 WSRect wsRect = { rect.posX_, rect in CreateJsSessionRecoverInfo()
1234 CreateJsSessionRect(napi_env env, const T& rect) CreateJsSessionRect() argument
[all...]
/drivers/peripheral/display/composer/vdi_base/src/
H A Ddisplay_composer_vdi_impl.cpp130 int32_t DisplayComposerVdiImpl::SetDisplayClientCrop(uint32_t devId, const IRect& rect) in SetDisplayClientCrop() argument
242 int32_t DisplayComposerVdiImpl::SetLayerRegion(uint32_t devId, uint32_t layerId, const IRect& rect) in SetLayerRegion() argument
245 const_cast<IRect*>(&rect)); in SetLayerRegion()
250 int32_t DisplayComposerVdiImpl::SetLayerCrop(uint32_t devId, uint32_t layerId, const IRect& rect) in SetLayerCrop() argument
253 const_cast<IRect*>(&rect)); in SetLayerCrop()
/drivers/peripheral/display/hal/default_standard/src/display_device/
H A Ddisplay_composer_vdi_impl.cpp140 int32_t DisplayComposerVdiImpl::SetDisplayClientCrop(uint32_t devId, const IRect& rect) in SetDisplayClientCrop() argument
260 int32_t DisplayComposerVdiImpl::SetLayerRegion(uint32_t devId, uint32_t layerId, const IRect& rect) in SetLayerRegion() argument
264 const_cast<IRect*>(&rect)); in SetLayerRegion()
269 int32_t DisplayComposerVdiImpl::SetLayerCrop(uint32_t devId, uint32_t layerId, const IRect& rect) in SetLayerCrop() argument
272 int32_t ec = composerModel_->CallLayerFunction(devId, layerId, &HdiLayer::SetLayerCrop, const_cast<IRect*>(&rect)); in SetLayerCrop()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dsystem_window_scene.cpp66 TAG_LOGI(AceLogTag::ACE_WINDOW_SCENE, "Update rect failed, ret: %{public}d", static_cast<int32_t>(ret)); in OnBoundsChanged()
239 for (auto& rect : responseRegion) { in RegisterResponseRegionCallback()
241 .posX_ = std::round(rect.GetOffset().GetX().Value()), in RegisterResponseRegionCallback()
242 .posY_ = std::round(rect.GetOffset().GetY().Value()), in RegisterResponseRegionCallback()
243 .width_ = std::round(rect.GetWidth().Value()), in RegisterResponseRegionCallback()
244 .height_ = std::round(rect.GetHeight().Value()), in RegisterResponseRegionCallback()
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drosen_render_list.cpp252 RSRect rect = RSRect( in PaintSelectedZone() local
265 canvas->DrawRect(rect); in PaintSelectedZone()
269 canvas->DrawRect(rect); in PaintSelectedZone()
305 RSRect rect = RSRect(item->GetPaintRect().GetOffset().GetX(), in PaintItemZone() local
320 RSRoundRect rrect(rect, rectRadii); in PaintItemZone()
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dsurface_type.h171 bool operator==(const GraphicIRect& rect) const
173 return (x == rect.x) && (y == rect.y) && (w == rect.w) && (h == rect.h);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/
H A Drs_render_params.cpp84 auto rect = RSPropertiesPainter::Rect2DrawingRect(GetLocalDrawRect()); in ApplyAlphaAndMatrixToCanvas() local
87 Drawing::SaveLayerOps slr(&rect, &brush); in ApplyAlphaAndMatrixToCanvas()
320 void RSRenderParams::SetShadowRect(Drawing::Rect rect) in SetShadowRect() argument
322 if (shadowRect_ == rect) { in SetShadowRect()
325 shadowRect_ = rect; in SetShadowRect()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dcore_canvas.h24 #include "utils/rect.h"
240 * @param rect rectangle to draw
242 virtual void DrawRect(const Rect& rect);
246 * else use brush to fill the round rectangle. Round rect may represent a rectangle, circle,
268 * @param oval rect bounds of oval containing arc to draw
276 * @param oval rect bounds of oval containing arc to draw
284 * @param oval rect bounds of oval
400 // opinc calculate realdraw rect
484 * @param rect To combine with clipping area.
488 virtual void ClipRect(const Rect& rect, ClipO
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_shader_effect.cpp93 const Picture& picture, TileMode tileX, TileMode tileY, FilterMode mode, const Matrix& matrix, const Rect& rect) in InitWithPicture()
97 SkRect r = SkRect::MakeLTRB(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom()); in InitWithPicture()
92 InitWithPicture( const Picture& picture, TileMode tileX, TileMode tileY, FilterMode mode, const Matrix& matrix, const Rect& rect) InitWithPicture() argument
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dtypography.cpp35 rect = rec; in TextRect()
215 for (const auto &rect : rects) { in GetTextRectsByBoundary()
216 boxes.push_back(Convert(rect)); in GetTextRectsByBoundary()
227 for (const auto &rect : rects) { in GetTextRectsOfPlaceholders()
228 boxes.push_back(Convert(rect)); in GetTextRectsOfPlaceholders()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_vsync_rate_reduce_manager.cpp315 for (const auto &rect: rects) { in CalcMaxVisibleRect()
316 if (rect.Area() > maxRArea) { in CalcMaxVisibleRect()
317 maxRect = rect; in CalcMaxVisibleRect()
320 xPositionSet.emplace(rect.left_); in CalcMaxVisibleRect()
321 xPositionSet.emplace(rect.right_); in CalcMaxVisibleRect()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/
H A Drsproperty_fuzzer.cpp217 std::shared_ptr<RectI> rect = std::make_shared<RectI>(intLeft, intTop, intWidth, intHeight); in RSPropertiesFuzzTestInner03() local
310 RectF rect(fLeft, fTop, fWidth, fHeight); in RSPropertiesPainterFuzzTest()
327 RSPropertiesPainter::Clip(tmpCanvas, rect); in RSPropertiesPainterFuzzTest()
333 RSPropertiesPainter::GetGravityMatrix(gravity, rect, fW, fH, mat); in RSPropertiesPainterFuzzTest()
334 RSPropertiesPainter::Rect2DrawingRect(rect); in RSPropertiesPainterFuzzTest()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crc.c178 dc_stream_forward_crc_window(stream, &secure_display_ctx->rect, false); in amdgpu_dm_forward_crc_window()
508 secure_display_ctx->rect.x = acrtc->dm_irq_params.window_param.x_start; in amdgpu_dm_crtc_handle_crc_window_irq()
509 secure_display_ctx->rect.y = acrtc->dm_irq_params.window_param.y_start; in amdgpu_dm_crtc_handle_crc_window_irq()
510 secure_display_ctx->rect.width = acrtc->dm_irq_params.window_param.x_end - in amdgpu_dm_crtc_handle_crc_window_irq()
512 secure_display_ctx->rect.height = acrtc->dm_irq_params.window_param.y_end - in amdgpu_dm_crtc_handle_crc_window_irq()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h131 struct rect { struct
145 struct rect surface_size;
146 struct rect chroma_size;
252 struct rect dirty_rects[DC_MAX_DIRTY_RECTS];
463 struct rect viewport;
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/camera/router/
H A Dindex.js461 var rect = function1.getBoundingClientRect();
462 var width = rect.width;
463 var height = rect.height;
464 var left = rect.left;
465 var top = rect.top;
469 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/dialog/router1/
H A Dindex.js426 var rect = function1.getBoundingClientRect();
427 var width = rect.width;
428 var height = rect.height;
429 var left = rect.left;
430 var top = rect.top;
434 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/dialog/router2/
H A Dindex.js423 var rect = function1.getBoundingClientRect();
424 var width = rect.width;
425 var height = rect.height;
426 var left = rect.left;
427 var top = rect.top;
431 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/dialog/router/
H A Dindex.js423 var rect = function1.getBoundingClientRect();
424 var width = rect.width;
425 var height = rect.height;
426 var left = rect.left;
427 var top = rect.top;
431 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/gridContainer/router/
H A Dindex.js392 var rect = function1.getBoundingClientRect();
393 var width = rect.width;
394 var height = rect.height;
395 var left = rect.left;
396 var top = rect.top;
400 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/imageAnimator/router/
H A Dindex.js422 var rect = function1.getBoundingClientRect();
423 var width = rect.width;
424 var height = rect.height;
425 var left = rect.left;
426 var top = rect.top;
430 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/input/router/
H A Dindex.js391 var rect = function1.getBoundingClientRect();
392 var width = rect.width;
393 var height = rect.height;
394 var left = rect.left;
395 var top = rect.top;
399 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/button/router/
H A Dindex.js411 var rect = function1.getBoundingClientRect();
412 var width = rect.width;
413 var height = rect.height;
414 var left = rect.left;
415 var top = rect.top;
419 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/chart/router/
H A Dindex.js461 var rect = function1.getBoundingClientRect();
462 var width = rect.width;
463 var height = rect.height;
464 var left = rect.left;
465 var top = rect.top;
469 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/dialog/router3/
H A Dindex.js423 var rect = function1.getBoundingClientRect();
424 var width = rect.width;
425 var height = rect.height;
426 var left = rect.left;
427 var top = rect.top;
431 message: 'function1 rect:\n' + message
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/gridCol/router/
H A Dindex.js385 var rect = function1.getBoundingClientRect();
386 var width = rect.width;
387 var height = rect.height;
388 var left = rect.left;
389 var top = rect.top;
393 message: 'function1 rect:\n' + message

Completed in 20 milliseconds

1...<<41424344454647484950>>...109