/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | rect_painter.cpp | 33 radiusXY[0].SetY(static_cast<float>(rectPaintProperty.GetTopLeftRadiusValue().GetY().ConvertToPx())); in DrawRect() 37 radiusXY[1].SetY(static_cast<float>(rectPaintProperty.GetTopRightRadiusValue().GetY().ConvertToPx())); in DrawRect() 41 radiusXY[2].SetY(static_cast<float>(rectPaintProperty.GetBottomRightRadiusValue().GetY().ConvertToPx())); in DrawRect() 45 radiusXY[3].SetY(static_cast<float>(rectPaintProperty.GetBottomLeftRadiusValue().GetY().ConvertToPx())); in DrawRect() 54 radius.SetY(radius.GetX()); in DrawRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | rect_model_ng.cpp | 43 radius.SetY(DEFAULT_RADIUS_INVALID); in SetRadiusWidth() 50 value.IsNegative() ? radius.SetY(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetY(value); in SetRadiusHeight() 174 radius.SetY(DEFAULT_RADIUS_INVALID); in SetRadiusWidth() 181 value.IsNegative() ? radius.SetY(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetY(value); in SetRadiusHeight()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_paint_method.cpp | 96 leftStartPoint.SetY(0.0f); in PaintLeftGradient() 99 leftEndPoint.SetY(0.0f); in PaintLeftGradient() 111 rightStartPoint.SetY(0.0f); in PaintRightGradient() 114 rightEndPoint.SetY(0.0f); in PaintRightGradient() 125 topStartPoint.SetY(shadowMargin + gradientWidth); in PaintTopGradient() 128 topEndPoint.SetY(0.0f); in PaintTopGradient() 140 bottomStartPoint.SetY(barRect.Height() - shadowMargin - gradientWidth); in PaintBottomGradient() 143 bottomEndPoint.SetY(barRect.Height()); in PaintBottomGradient()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | svg_use_component.cpp | 62 void SvgUseComponent::SetY(const Dimension& y) in SetY() function in OHOS::Ace::SvgUseComponent 64 declaration_->SetY(y); in SetY()
|
H A D | svg_rect_component.cpp | 87 void SvgRectComponent::SetY(const Dimension& y) in SetY() function in OHOS::Ace::SvgRectComponent 89 declaration_->SetY(y); in SetY()
|
H A D | svg_component.cpp | 62 void SvgComponent::SetY(const Dimension& y) in SetY() function in OHOS::Ace::SvgComponent 64 declaration_->SetY(y); in SetY()
|
H A D | svg_text_component.cpp | 71 void SvgTextComponent::SetY(const Dimension& y) in SetY() function in OHOS::Ace::SvgTextComponent 73 declaration_->SetY(y); in SetY()
|
H A D | svg_use_component.h | 36 void SetY(const Dimension& y);
|
/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | shape_component.h | 115 topLeftRadius_.SetY(value, option); in SetRadiusHeight() 116 topRightRadius_.SetY(value, option); in SetRadiusHeight() 117 bottomRightRadius_.SetY(value, option); in SetRadiusHeight() 118 bottomLeftRadius_.SetY(value, option); in SetRadiusHeight()
|
/foundation/arkui/ace_engine/frameworks/core/components/triangle/ |
H A D | render_triangle.cpp | 36 centerPoint.SetY(y1_ + radius_); in Calculate() 45 centerPoint.SetY(y2_ + radius_); in Calculate() 54 centerPoint.SetY(y3_ - radius_ / std::cos(bottomAngle / 2.0)); in Calculate() 71 centerPoint.SetY((y1_ + y3_ + bottomDiff) / 2.0); in Calculate()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_paint_method.cpp | 40 corner.SetY(maxRadius); in NormalizeRadius() 74 radiusXY[TOP_LEFT].SetY(radiusXY[TOP_LEFT].GetY() - diff); in UpdateBorderRadius() 75 radiusXY[TOP_RIGHT].SetY(radiusXY[TOP_RIGHT].GetY() - diff); in UpdateBorderRadius() 79 radiusXY[BOTTOM_LEFT].SetY(radiusXY[BOTTOM_LEFT].GetY() - diff); in UpdateBorderRadius() 80 radiusXY[BOTTOM_RIGHT].SetY(radiusXY[BOTTOM_RIGHT].GetY() - diff); in UpdateBorderRadius()
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_scroll.cpp | 86 currentOffset_.SetY(std::clamp(currentOffset_.GetY(), 0.0, mainScrollExtent_ - viewPort_.Height())); in ValidateOffset() 89 currentOffset_.SetY(std::clamp(currentOffset_.GetY(), 0.0, mainScrollExtent_ - viewPort_.Height())); in ValidateOffset() 104 axis_ == Axis::HORIZONTAL ? currentOffset_.SetY(0.0) : currentOffset_.SetX(0.0); in ValidateOffset() 283 currentOffset.SetY(0.0); in CanScrollVertically() 285 currentOffset.SetY(mainScrollExtent_ - viewPort_.Height()); in CanScrollVertically() 403 axis_ == Axis::VERTICAL ? delta.SetY(offset) : delta.SetX(offset); in AdjustOffset() 556 delta.SetY(-value); in ResetScrollable() 559 delta.SetY(0.0); in ResetScrollable() 722 delta.SetY(position - GetMainOffset(currentOffset_)); in DoJump() 879 delta.SetY( in InitScrollBarProxy() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | round_rect.cpp | 76 radiusXY_[cornerPosA].SetY(radiiA); in AdjustRadiiY() 77 radiusXY_[cornerPosB].SetY(radiiB); in AdjustRadiiY() 87 radiusXY_[i].SetY(0); in ClampToZero()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_layout_algorithm.cpp | 163 menuOffset.SetY(currentY); in CalculateCustomMenuByMouseOffset() 333 menuPosition.SetY(secondHandleRect.Bottom() + menuSpacing); in ComputeSelectMenuPosition() 336 menuPosition.SetY(firstHandleRect.Bottom() + menuSpacing); in ComputeSelectMenuPosition() 341 menuPosition.SetY(static_cast<float>(top - menuSpacing - menuHeight)); in ComputeSelectMenuPosition() 368 menuPosition.SetY(singleHandle.Top()); in ComputeSelectMenuPosition() 372 menuPosition.SetY( in ComputeSelectMenuPosition() 376 menuPosition.SetY( in ComputeSelectMenuPosition() 385 menuPosition.SetY(menuOffsetY); in ComputeSelectMenuPosition() 387 menuPosition.SetY(menuSpacingBetweenText); in ComputeSelectMenuPosition() 390 menuPosition.SetY(viewPor in ComputeSelectMenuPosition() [all...] |
H A D | select_overlay_content_modifier.cpp | 124 startPoint.SetY(startPoint.GetY() + 1.0f); in PaintSingleHandleWithPoints() 139 startPoint.SetY(startPoint.GetY() + 1.0f); in PaintSingleHandleWithPoints() 185 startPoint.SetY(startPoint.GetY() + offsetY); in PaintDoubleHandleWithPoint() 201 startPoint.SetY(startPoint.GetY() + offsetY); in PaintDoubleHandleWithPoint() 310 centerOffset.SetY(handleRect.Top() - handleRadius); in PaintHandle() 311 startPoint.SetY(handleRadius + gap); in PaintHandle() 312 endPoint.SetY(handleRadius + handleRect.Height() + gap); in PaintHandle() 314 centerOffset.SetY(handleRect.Bottom() + handleRadius); in PaintHandle() 315 startPoint.SetY(-handleRadius - gap); in PaintHandle() 316 endPoint.SetY( in PaintHandle() [all...] |
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | shape.h | 241 topLeftRadius_.SetY(topLeftRadius); in SetTopLeftRadius() 252 topRightRadius_.SetY(topRightRadius); in SetTopRightRadius() 263 bottomRightRadius_.SetY(bottomRightRadius); in SetBottomRightRadius() 274 bottomLeftRadius_.SetY(bottomLeftRadius); in SetBottomLeftRadius() 524 topLeftRadius_.SetY(value, option); in SetRadiusHeight() 525 topRightRadius_.SetY(value, option); in SetRadiusHeight() 526 bottomRightRadius_.SetY(value, option); in SetRadiusHeight() 527 bottomLeftRadius_.SetY(value, option); in SetRadiusHeight()
|
H A D | arc.h | 86 centerPoint_.SetY(centerPoint_.GetY() + yOffset); in Move() 92 out.SetY(centerPoint_.GetY()); in GetPointByAngle()
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_round_rect.h | 49 radiusXY_[i].SetY(yRad); in TestingRoundRect() 64 radiusXY_[pos].SetY(radiusY); in SetCornerRadius()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | radius.h | 73 void SetY(const Dimension& y, const AnimationOption& option = AnimationOption()) in SetY() function in OHOS::Ace::final 83 void SetY(const AnimatableDimension& y) in SetY() function in OHOS::Ace::final
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_touch_handler.cpp | 70 .SetY(point.GetLocalLocation().GetY()) in CreateTouchEvent() 95 deltaChange.SetY(point.screenY - oldPoint.screenY); in CreateSceneTouchEvent()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_surface_view.cpp | 116 void UISurfaceView::SetY(int16_t y) in SetY() function in OHOS::UISurfaceView 118 UIView::SetY(y); in SetY() 120 GRAPHIC_LOGE("UISurfaceView::SetY surface is null\n"); in SetY()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | round_rect.h | 95 radiusXY_[i].SetY(yRad); in RoundRect() 113 radiusXY_[pos].SetY(radiusY); in SetCornerRadius()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/point_fuzzer/ |
H A D | point_fuzzer.cpp | 45 pointf.SetY(y); in PointFuzzTest000() 99 pointi.SetY(y); in PointFuzzTest002()
|
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | component_test_tester_impl.cpp | 231 to.SetY(screenRect.Height() * HALF - screenRect.Height() * QUARTER); in FlingImpl() 235 to.SetY(screenRect.Height() * HALF + screenRect.Width() * QUARTER); in FlingImpl() 239 to.SetY(screenRect.Height() * HALF); in FlingImpl() 243 to.SetY(screenRect.Height() * HALF); in FlingImpl()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/ |
H A D | vec3.h | 31 void SetY(float y) { y_ = y; } in SetY() function in OHOS::Render3D::Vec3
|