Home
last modified time | relevance | path

Searched refs:rect (Results 1326 - 1350 of 2377) sorted by relevance

1...<<51525354555657585960>>...96

/third_party/lzma/CPP/Windows/Control/
H A DDialog.h88 bool MapRect(LPRECT rect) in MapRect() argument
89 { return BOOLToBool(MapDialogRect(_window, rect)); } in MapRect()
142 void GetClientRectOfItem(unsigned id, RECT &rect);
/third_party/skia/src/gpu/v1/
H A DClipStack.h63 void clipRect(const SkMatrix& ctm, const SkRect& rect, GrAA aa, SkClipOp op) { in clipRect() argument
64 this->clip({ctm, GrShape(rect), aa, op}); in clipRect()
74 void replaceClip(const SkIRect& rect);
/third_party/skia/src/effects/imagefilters/
H A DSkAlphaThresholdImageFilter.cpp124 SkRect rect = SkRect::Make(iter.rect()); in createMaskTexture() local
126 sdc->drawRect(nullptr, std::move(paint), GrAA::kNo, inMatrix, rect); in createMaskTexture()
/third_party/skia/tools/gpu/
H A DTestOps.cpp246 const SkRect& rect) { in MakeRect()
247 return TestRectOp::Make(context, std::move(paint), rect, rect, SkMatrix::I()); in MakeRect()
244 MakeRect(GrRecordingContext* context, GrPaint&& paint, const SkRect& rect) MakeRect() argument
/third_party/skia/gm/
H A Ddrawbitmaprect.cpp80 SkRect rect = SkRect::MakeWH(wScalar, hScalar); in makebm() local
89 canvas->drawRect(rect, paint); in makebm()
90 rect.inset(wScalar / 8, hScalar / 8); in makebm()
H A Dpictureimagegenerator.cpp129 const SkRect rect = SkRect::MakeWH(kPictureWidth, kPictureHeight); variable
131 SkCanvas* canvas = recorder.beginRecording(rect);
132 draw_vector_logo(canvas, rect);
/foundation/window/window_manager/window_scene/common/src/
H A Dwindow_session_property.cpp162 void WindowSessionProperty::SetWindowRect(const struct Rect& rect) in SetWindowRect() argument
164 windowRect_ = rect; in SetWindowRect()
578 for (const auto& rect : rects) { in SetTouchHotAreas()
579 rectStr = rectStr + " hot : [ " + std::to_string(rect.posX_) + " , " + std::to_string(rect.posY_) + in SetTouchHotAreas()
580 " , " + std::to_string(rect.width_) + " , " + std::to_string(rect.height_) + "]"; in SetTouchHotAreas()
704 for (const auto& rect : touchHotAreas_) { in MarshallingTouchHotAreas()
705 if (!(parcel.WriteInt32(rect.posX_) && parcel.WriteInt32(rect in MarshallingTouchHotAreas()
1068 Rect rect = { parcel.ReadInt32(), parcel.ReadInt32(), parcel.ReadUint32(), parcel.ReadUint32() }; Unmarshalling() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
H A Dvpfe_capture.c1563 struct v4l2_rect rect = sel->r; in vpfe_s_selection() local
1583 if (rect.top < 0 || rect.left < 0) { in vpfe_s_selection()
1591 rect.width = ((rect.width + 15) & ~0xf); in vpfe_s_selection()
1594 if ((rect.left + rect.width > in vpfe_s_selection()
1596 (rect.top + rect.height > in vpfe_s_selection()
1602 ccdc_dev->hw_ops.set_image_window(&rect); in vpfe_s_selection()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
H A Dipu3-v4l2.c106 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_subdev_s_stream()
107 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_subdev_s_stream()
108 rects[IPU3_CSS_RECT_GDC] = &imgu_sd->rect.gdc; in imgu_subdev_s_stream()
206 r = &imgu_sd->rect.eff; in imgu_subdev_get_selection()
210 r = &imgu_sd->rect.bds; in imgu_subdev_get_selection()
232 struct v4l2_rect *rect, *try_sel; in imgu_subdev_set_selection() local
235 "set subdev %u sel which %u target 0x%4x rect [%ux%u]", in imgu_subdev_set_selection()
245 rect = &imgu_sd->rect.eff; in imgu_subdev_set_selection()
249 rect in imgu_subdev_set_selection()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/
H A Dsubwindow_ohos.cpp24 #include "base/geometry/rect.h"
399 "SubwindowOhos window rect is resized to x: %{public}d, y: %{public}d, width: %{public}u, height: %{public}u", in ResizeWindow()
403 void SubwindowOhos::SetRect(const NG::RectF& rect) in SetRect() argument
405 windowRect_ = rect; in SetRect()
974 for (const auto& rect : rects) { in SetHotAreas()
975 TAG_LOGD(AceLogTag::ACE_SUB_WINDOW, "set hot area rect %{public}s", rect.ToString().c_str()); in SetHotAreas()
976 RectConverter(rect, rosenRect); in SetHotAreas()
990 void SubwindowOhos::RectConverter(const Rect& rect, Rosen::Rect& rosenRect) in RectConverter() argument
992 rosenRect.posX_ = static_cast<int>(rect in RectConverter()
1739 Rect rect; GetParentWindowRect() local
1747 Rect rect; GetUIExtensionHostWindowRect() local
1756 NG::RectF rect; GetWindowRect() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp183 RectF rect; in AdjustPaintRect() local
197 rect.SetLeft(nodeLeftI); in AdjustPaintRect()
198 rect.SetTop(nodeTopI); in AdjustPaintRect()
232 rect.SetWidth(nodeWidthI); in AdjustPaintRect()
233 rect.SetHeight(nodeHeightI); in AdjustPaintRect()
234 return rect; in AdjustPaintRect()
1151 auto rect = AdjustPaintRect((videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE, in OnModifyDone() local
1154 renderContextForMediaPlayer_->SetBounds(rect.GetX(), rect.GetY(), rect in OnModifyDone()
1205 Rect rect = OnModifyDone() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c411 u32 downsized_width = in->rect.width; in calc_image_resize_coefficients()
412 u32 downsized_height = in->rect.height; in calc_image_resize_coefficients()
415 u32 resized_width = out->rect.width; in calc_image_resize_coefficients()
416 u32 resized_height = out->rect.height; in calc_image_resize_coefficients()
423 resized_width = out->rect.height; in calc_image_resize_coefficients()
424 resized_height = out->rect.width; in calc_image_resize_coefficients()
736 unsigned int resized_width = out->base.rect.width; in find_seams()
737 unsigned int resized_height = out->base.rect.height; in find_seams()
748 unsigned int in_right = in->base.rect.width; in find_seams()
749 unsigned int in_bottom = in->base.rect in find_seams()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c414 u32 downsized_width = in->rect.width; in calc_image_resize_coefficients()
415 u32 downsized_height = in->rect.height; in calc_image_resize_coefficients()
418 u32 resized_width = out->rect.width; in calc_image_resize_coefficients()
419 u32 resized_height = out->rect.height; in calc_image_resize_coefficients()
426 resized_width = out->rect.height; in calc_image_resize_coefficients()
427 resized_height = out->rect.width; in calc_image_resize_coefficients()
735 unsigned int resized_width = out->base.rect.width; in find_seams()
736 unsigned int resized_height = out->base.rect.height; in find_seams()
747 unsigned int in_right = in->base.rect.width; in find_seams()
748 unsigned int in_bottom = in->base.rect in find_seams()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_transition_effect.cpp507 Rosen::Vector2f RosenSlideTransitionEffect::GetTranslateValue(TransitionEdge edge, const RectF& rect) in GetTranslateValue() argument
511 return { -rect.Width(), 0.0f }; in GetTranslateValue()
513 return { rect.Width(), 0.0f }; in GetTranslateValue()
515 return { 0.0f, -rect.Height() }; in GetTranslateValue()
517 return { 0.0f, rect.Height() }; in GetTranslateValue()
/foundation/arkui/ui_lite/frameworks/common/
H A Dtyped_text.cpp101 Rect rect; in GetArcTextRect() local
118 rect.SetPosition(MATH_ROUND(posX), MATH_ROUND(posY)); in GetArcTextRect()
137 rect.Join(rect, transform.GetBoxRect()); in GetArcTextRect()
142 return rect; in GetArcTextRect()
/foundation/arkui/ui_lite/test/uitest/test_image/
H A Dui_test_image.cpp535 UIImageView* UITestImage::AddImageView(const Rect rect, const char* src, bool autoEnable, in AddImageView() argument
540 imageView->SetPosition(rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); in AddImageView()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/magic_pointer_render/
H A Drs_magic_pointer_render_manager.cpp170 if (!CalculateTargetLayer(processor)) { // get the layer intersect with pointer and calculate the rect
230 GraphicIRect rect = layers[i]->GetLayerSize();
231 pRect.SetAll(rect.x, rect.y, rect.w, rect.h);
242 // calculate the max intersection layer and rect
279 // if not intersect with other layers, calculate the displayNode intersection rect
341 ROSEN_LOGE("RSMagicPointerRenderManager::RunColorPickerTask failed for null target or rect is empty!");
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_paint_filter_canvas.h58 void DrawRect(const Drawing::Rect& rect) override;
100 void ClipRect(const Drawing::Rect& rect, Drawing::ClipOp op = Drawing::ClipOp::INTERSECT,
102 void ClipIRect(const Drawing::RectI& rect, Drawing::ClipOp op = Drawing::ClipOp::INTERSECT) override;
105 void ClipRoundRect(const Drawing::Rect& rect, std::vector<Drawing::Point>& pts, bool doAntiAlias = false) override;
211 // visible rect
236 CachedEffectData(std::shared_ptr<Drawing::Image>&& image, const Drawing::RectI& rect);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/modifier/
H A Drs_render_property_test.cpp281 RRect rect; in HWTEST_F() local
282 RSRenderAnimatableProperty<RRect> propertyRect(rect); in HWTEST_F()
414 RRect rect; in HWTEST_F() local
415 RSRenderAnimatableProperty<RRect> property9(rect); in HWTEST_F()
437 rectValue->Set(rect); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_image.cpp168 bool SkiaImage::BuildSubset(const std::shared_ptr<Image> image, const RectI& rect, GPUContext& gpuContext) in BuildSubset() argument
184 auto skiaRect = SkIRect::MakeLTRB(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom()); in BuildSubset()
H A Dskia_surface.cpp534 for (auto &rect : rects) { in SetDrawingArea()
535 SkIRect skIRect = {rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom()}; in SetDrawingArea()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test10.cpp38 void InitTestSceneSession(DisplayId displayId, int32_t windowId, int32_t zOrder, bool visible, WSRect rect);
88 int32_t windowId, int32_t zOrder, bool visible, WSRect rect) in InitTestSceneSession()
99 sceneSession->SetSessionRect(rect); in InitTestSceneSession()
212 WSRect rect({1, 1, 1, 1}); in HWTEST_F()
214 WSError result = sceneSession->UpdateRect(rect, reason, "SceneSessionManagerTest10"); in HWTEST_F()
87 InitTestSceneSession(DisplayId displayId, int32_t windowId, int32_t zOrder, bool visible, WSRect rect) InitTestSceneSession() argument
H A Dsession_proxy_test.cpp61 WSRect rect{.posX_ = 1, .posY_ = 1, .width_ = 100, .height_ = 100}; in HWTEST_F()
63 WSError res = sProxy->UpdateSessionRect(rect, reason); in HWTEST_F()
570 WSRect rect = { 200, 200, 200, 200 }; in HWTEST_F() local
571 ASSERT_EQ(sProxy->UpdateClientRect(rect), WSError::WS_ERROR_IPC_FAILED); in HWTEST_F()
575 ASSERT_EQ(sProxy->UpdateClientRect(rect), WSError::WS_OK); in HWTEST_F()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_adapter_test.cpp358 Rect rect { 1, 2, 3, 4 }; in HWTEST_F()
361 windowAdapter.UpdateModalExtensionRect(token, rect); in HWTEST_F()
362 windowAdapter.UpdateModalExtensionRect(nullptr, rect); in HWTEST_F()
655 Rect rect = {0, 0, 0, 0}; in HWTEST_F() local
656 auto ret = windowAdapter.GetHostWindowRect(hostWindowId, rect); in HWTEST_F()
/third_party/libinput/src/
H A Devdev-totem.c115 struct phys_rect r, *rect = NULL; in totem_set_touch_device_enabled() local
139 rect = &r; in totem_set_touch_device_enabled()
152 rect, in totem_set_touch_device_enabled()
163 rect, in totem_set_touch_device_enabled()
170 rect, in totem_set_touch_device_enabled()

Completed in 31 milliseconds

1...<<51525354555657585960>>...96