Home
last modified time | relevance | path

Searched refs:boundsRect (Results 1 - 25 of 25) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_paint_method.cpp37 RectF boundsRect(hostGeometryNode->GetFrameOffset().GetX() - std::abs(shadowOptions.offsetX) - shadowOptions.radius, in UpdateForegroundModifier()
41 gaugeModifier_->SetBoundsRect(boundsRect); in UpdateForegroundModifier()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/
H A Drich_editor_drag_paint_method.cpp55 RectF boundsRect(-handleDiameter - screenWdith, -handleDiameter - screenHeight, in UpdateContentModifier()
58 modifier->SetBoundsRect(boundsRect); in UpdateContentModifier()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_engine.cpp81 const auto& boundsRect = layer->GetBoundSize(); in DrawLayers() local
89 static_cast<float>(boundsRect.w), static_cast<float>(boundsRect.h)); in DrawLayers()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
H A Ddivider_paint_method.h69 RectF boundsRect(offset_.GetX(), offset_.GetY(), boundsRectWidth, boundsRectHeight);
70 dividerModifier_->SetBoundsRect(boundsRect);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/
H A Dcheckboxgroup_paint_method.h86 RectF boundsRect(boundsRectOriginX, boundsRectOriginY, boundsRectWidth, boundsRectHeight);
87 checkboxGroupModifier_->SetBoundsRect(boundsRect);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_paint_method.h103 RectF boundsRect(boundsRectOriginX, boundsRectOriginY, boundsRectWidth, boundsRectHeight);
104 radioModifier_->SetBoundsRect(boundsRect);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderparams_fuzzer/
H A Drsrenderparams_fuzzer.cpp77 const Drawing::RectF boundsRect; in DoSomethingInterestingWithMyAPI() local
78 rsRenderParams.SetBoundsRect(boundsRect); in DoSomethingInterestingWithMyAPI()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/
H A Dcheckbox_paint_method.h142 RectF boundsRect(boundsRectOriginX, boundsRectOriginY, boundsRectWidth, boundsRectHeight); in SetModifierBoundsRect()
143 checkboxModifier_->SetBoundsRect(boundsRect); in SetModifierBoundsRect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_paint_method.h92 RectF boundsRect(boundsRectOriginX, boundsRectOriginY, boundsRectWidth, boundsRectHeight); in UpdateBoundsRect()
93 switchModifier_->SetBoundsRect(boundsRect); in UpdateBoundsRect()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/
H A Drs_property_drawable_utils.h61 const RectF& boundsRect, const bool boundsGeoValid, const Drawing::TileMode pixelStretchTileMode);
77 const Vector4f& boundsRect, const Color& backgroundColor);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_pattern.cpp764 RectF boundsRect; in SetContentModifierBounds() local
765 boundsRect.SetLeft(frameRect.Left() - handleDiameter * EXPAND_HANDLE_PAINT_RECT_HALF); in SetContentModifierBounds()
766 boundsRect.SetTop(frameRect.Top() - handleDiameter * EXPAND_HANDLE_PAINT_RECT_HALF); in SetContentModifierBounds()
767 boundsRect.SetWidth(frameRect.Width() + handleDiameter * EXPAND_HANDLE_PAINT_RECT); in SetContentModifierBounds()
768 boundsRect.SetHeight(frameRect.Height() + handleDiameter * EXPAND_HANDLE_PAINT_RECT); in SetContentModifierBounds()
769 modifier->SetBoundsRect(boundsRect); in SetContentModifierBounds()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/
H A Drs_render_params.cpp95 void RSRenderParams::SetBoundsRect(const Drawing::RectF& boundsRect) in SetBoundsRect() argument
97 if (boundsRect_ == boundsRect) { in SetBoundsRect()
100 boundsRect_ = boundsRect; in SetBoundsRect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_modifier.cpp938 RectF boundsRect; in UpdateBoundsRect() local
939 boundsRect.SetLeft((offset.GetX() - addDistance) < 0 ? (offset.GetX() - addDistance) : 0); in UpdateBoundsRect()
940 boundsRect.SetTop((offset.GetY() - addDistance) < 0 ? (offset.GetY() - addDistance) : 0); in UpdateBoundsRect()
941 boundsRect.SetWidth(sideLength + addDistance * 2.0f); in UpdateBoundsRect()
942 boundsRect.SetHeight(sideLength + addDistance * 2.0f); in UpdateBoundsRect()
943 SetBoundsRect(boundsRect); in UpdateBoundsRect()
/foundation/window/window_manager/wmserver/src/
H A Dremote_animation.cpp327 auto boundsRect = RectF(avoidRect.posX_, avoidRect.posY_, avoidRect.width_, avoidRect.height_); in GetExpectRect() local
332 boundsRect = RectF(avoidRect.posX_, avoidRect.posY_, avoidRect.height_, avoidRect.width_); in GetExpectRect()
334 dstTarget->windowBounds_.rect_ = boundsRect; in GetExpectRect()
753 auto boundsRect = RectF(rect.posX_, rect.posY_, rect.width_, rect.height_); in CreateWindowAnimationTarget() local
760 boundsRect = RectF(rect.posX_, rect.posY_, rect.height_, rect.width_); in CreateWindowAnimationTarget()
764 windowAnimationTarget->windowBounds_ = RRect(boundsRect, radius); in CreateWindowAnimationTarget()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp714 auto boundsRect = properties.GetBoundsRect(); in DrawBackgroundImageAsEffect() local
721 canvas.ClipRect(RSPropertiesPainter::Rect2DrawingRect(boundsRect)); in DrawBackgroundImageAsEffect()
901 auto boundsRect = properties.GetBoundsRect(); in GetPixelStretchDirtyRect() local
902 auto scaledBounds = RectF(boundsRect.left_ - pixelStretch->x_, boundsRect.top_ - pixelStretch->y_, in GetPixelStretchDirtyRect()
903 boundsRect.width_ + pixelStretch->x_ + pixelStretch->z_, in GetPixelStretchDirtyRect()
904 boundsRect.height_ + pixelStretch->y_ + pixelStretch->w_); in GetPixelStretchDirtyRect()
924 auto boundsRect = properties.GetBoundsRect(); in GetForegroundEffectDirtyRect() local
925 auto scaledBounds = boundsRect.MakeOutset(dirtyExtension); in GetForegroundEffectDirtyRect()
1141 auto boundsRect in DrawBackground() local
[all...]
H A Drs_property_drawable_bounds_geometry.cpp1032 auto boundsRect = RSPropertiesPainter::Rect2DrawingRect(properties.GetBoundsRect()); in Draw() local
1037 image->CanvasDrawImage(canvas, boundsRect, Drawing::SamplingOptions(), true); in Draw()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp791 const RectF& boundsRect, const bool boundsGeoValid, const Drawing::TileMode pixelStretchTileMode) in DrawPixelStretch()
818 auto bounds = Rect2DrawingRect(boundsRect); in DrawPixelStretch()
1076 const Vector4f& boundsRect, const Color& backgroundColor) in GetInvertBackgroundColor()
1081 Drawing::Rect rect = Drawing::Rect(0, 0, boundsRect.z_, boundsRect.w_); in GetInvertBackgroundColor()
1300 const auto& boundsRect = property.GetBoundsRect(); in RSFilterSetPixelStretch() local
1307 boundsRect.width_, boundsRect.height_); in RSFilterSetPixelStretch()
790 DrawPixelStretch(Drawing::Canvas* canvas, const std::optional<Vector4f>& pixelStretch, const RectF& boundsRect, const bool boundsGeoValid, const Drawing::TileMode pixelStretchTileMode) DrawPixelStretch() argument
1075 GetInvertBackgroundColor(RSPaintFilterCanvas& canvas, bool needClipToBounds, const Vector4f& boundsRect, const Color& backgroundColor) GetInvertBackgroundColor() argument
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_property_drawable_utils_test.cpp374 RectF boundsRect = RectF(0.0f, 0.0f, 1.0f, 1.0f); in HWTEST_F() local
377 &paintFilterCanvasTest, pixelStretch, boundsRect, true, Drawing::TileMode::CLAMP); in HWTEST_F()
381 &paintFilterCanvasTest, pixelStretch, boundsRect, true, Drawing::TileMode::CLAMP); in HWTEST_F()
385 &paintFilterCanvasTest, pixelStretch, boundsRect, true, Drawing::TileMode::CLAMP); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/
H A Drs_property_drawable_utils_test.cpp374 RectF boundsRect = RectF(0.0f, 0.0f, 1.0f, 1.0f); in HWTEST_F() local
377 &paintFilterCanvasTest, pixelStretch, boundsRect, true, Drawing::TileMode::CLAMP); in HWTEST_F()
381 &paintFilterCanvasTest, pixelStretch, boundsRect, true, Drawing::TileMode::CLAMP); in HWTEST_F()
385 &paintFilterCanvasTest, pixelStretch, boundsRect, true, Drawing::TileMode::CLAMP); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp3580 RectF boundsRect = overlayMod_->GetBoundsRect(); in CreateNodePaintMethod() local
3584 boundsRect.SetWidth(boundsWidth); in CreateNodePaintMethod()
3585 boundsRect.SetHeight(boundsHeight); in CreateNodePaintMethod()
3587 SetResponseRegion(frameSize, boundsRect.GetSize()); in CreateNodePaintMethod()
3588 ProcessBoundRectByTextShadow(boundsRect); in CreateNodePaintMethod()
3589 ProcessBoundRectByTextMarquee(boundsRect); in CreateNodePaintMethod()
3590 if ((LessNotEqual(frameSize.Width(), boundsRect.Width()) || in CreateNodePaintMethod()
3591 LessNotEqual(frameSize.Height(), boundsRect.Height()))) { in CreateNodePaintMethod()
3592 boundsWidth = std::max(frameSize.Width(), boundsRect.Width()); in CreateNodePaintMethod()
3593 boundsHeight = std::max(frameSize.Height(), boundsRect in CreateNodePaintMethod()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/
H A Drs_render_params.h73 void SetBoundsRect(const Drawing::RectF& boundsRect);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.cpp910 RectF boundsRect(boundsRectOriginX, boundsRectOriginY, boundsRectWidth, boundsRectHeight); in CalcBoundsRect()
912 return boundsRect; in CalcBoundsRect()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp2813 const RectF boundsRect = GetRenderProperties().GetBoundsRect(); in NeedInitCacheSurface() local
2814 RRect rrect = RRect(boundsRect, {0, 0, 0, 0}); in NeedInitCacheSurface()
2882 const RectF boundsRect = GetRenderProperties().GetBoundsRect(); in InitCacheSurface() local
2883 RRect rrect = RRect(boundsRect, {0, 0, 0, 0}); in InitCacheSurface()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp318 RectF boundsRect(0.0f, 0.0f, textWidth, bottomHeight + frameSize.Height()); in CalculateBoundsRect()
319 textFieldOverlayModifier_->SetBoundsRect(boundsRect); in CalculateBoundsRect()
323 RectF boundsRect(0.0f, 0.0f, frameSize.Width(), countHeight + frameSize.Height()); in CalculateBoundsRect()
324 textFieldOverlayModifier_->SetBoundsRect(boundsRect); in CalculateBoundsRect()
329 RectF boundsRect(0.0f, 0.0f, textWidth, errorHeight + frameSize.Height()); in CalculateBoundsRect()
330 textFieldOverlayModifier_->SetBoundsRect(boundsRect); in CalculateBoundsRect()
339 RectF boundsRect(0.0f, 0.0f, frameSize.Width(), maxFrameHeight_ + UNDERLINE_WIDTH.ConvertToPx()); in CalculateBoundsRect()
340 textFieldOverlayModifier_->SetBoundsRect(boundsRect); in CalculateBoundsRect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp634 RectF boundsRect(frameOffset.GetX(), frameOffset.GetY(), frameSize.Width(), height); in OnDirtyLayoutWrapperSwap()
636 overlayMod_->SetBoundsRect(boundsRect); in OnDirtyLayoutWrapperSwap()

Completed in 63 milliseconds