/ohos5.0/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().ConvertTo… in DrawRect() 45 …radiusXY[3].SetY(static_cast<float>(rectPaintProperty.GetBottomLeftRadiusValue().GetY().ConvertToP… in DrawRect() 54 radius.SetY(radius.GetX()); in DrawRect()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | shape.h | 241 topLeftRadius_.SetY(topLeftRadius); 252 topRightRadius_.SetY(topRightRadius); 263 bottomRightRadius_.SetY(bottomRightRadius); 274 bottomLeftRadius_.SetY(bottomLeftRadius); 524 topLeftRadius_.SetY(value, option); 525 topRightRadius_.SetY(value, option); 526 bottomRightRadius_.SetY(value, option); 527 bottomLeftRadius_.SetY(value, option);
|
H A D | arc.h | 86 centerPoint_.SetY(centerPoint_.GetY() + yOffset); in Move() 92 out.SetY(centerPoint_.GetY()); in GetPointByAngle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_layout_algorithm.cpp | 167 menuOffset.SetY(currentY); in CalculateCustomMenuByMouseOffset() 343 menuPosition.SetY(firstHandleRect.Bottom() + menuSpacing); in ComputeSelectMenuPosition() 376 menuPosition.SetY(singleHandle.Top()); in ComputeSelectMenuPosition() 380 menuPosition.SetY( in ComputeSelectMenuPosition() 384 menuPosition.SetY( in ComputeSelectMenuPosition() 393 menuPosition.SetY(menuOffsetY); in ComputeSelectMenuPosition() 395 menuPosition.SetY(menuSpacingBetweenText); in ComputeSelectMenuPosition() 406 menuPosition.SetY(top); in ComputeSelectMenuPosition() 420 menuPosition.SetY(downHandleRect.Bottom() + menuSpacing); in ComputeSelectMenuPosition() 456 menuOffset.SetY(menuY); in AdjustMenuInRootRect() [all …]
|
H A D | select_overlay_content_modifier.cpp | 130 startPoint.SetY(startPoint.GetY() + 1.0f); in PaintSingleHandleWithPoints() 145 startPoint.SetY(startPoint.GetY() + 1.0f); in PaintSingleHandleWithPoints() 191 startPoint.SetY(startPoint.GetY() + offsetY); in PaintDoubleHandleWithPoint() 207 startPoint.SetY(startPoint.GetY() + offsetY); in PaintDoubleHandleWithPoint() 316 centerOffset.SetY(handleRect.Top() - handleRadius); in PaintHandle() 317 startPoint.SetY(handleRadius + gap); in PaintHandle() 318 endPoint.SetY(handleRadius + handleRect.Height() + gap); in PaintHandle() 320 centerOffset.SetY(handleRect.Bottom() + handleRadius); in PaintHandle() 321 startPoint.SetY(-handleRadius - gap); in PaintHandle() 322 endPoint.SetY(-handleRadius - handleRect.Height() - gap); in PaintHandle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_scroll.cpp | 283 currentOffset.SetY(0.0); in CanScrollVertically() 285 currentOffset.SetY(mainScrollExtent_ - viewPort_.Height()); in CanScrollVertically() 556 delta.SetY(-value); in ResetScrollable() 559 delta.SetY(0.0); in ResetScrollable() 722 delta.SetY(position - GetMainOffset(currentOffset_)); in DoJump() 879 delta.SetY(-value); in InitScrollBarProxy() 882 delta.SetY(0.0); in InitScrollBarProxy() 925 delta.SetY(-value); in SetBarCallBack() 928 delta.SetY(0.0); in SetBarCallBack() 976 delta.SetY(value); in HandleRotate() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_paint_method.cpp | 43 corner.SetY(maxRadius); in NormalizeRadius() 77 radiusXY[TOP_LEFT].SetY(radiusXY[TOP_LEFT].GetY() - diff); in UpdateBorderRadius() 78 radiusXY[TOP_RIGHT].SetY(radiusXY[TOP_RIGHT].GetY() - diff); in UpdateBorderRadius() 82 radiusXY[BOTTOM_LEFT].SetY(radiusXY[BOTTOM_LEFT].GetY() - diff); in UpdateBorderRadius() 83 radiusXY[BOTTOM_RIGHT].SetY(radiusXY[BOTTOM_RIGHT].GetY() - diff); in UpdateBorderRadius()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | shape_component.h | 115 topLeftRadius_.SetY(value, option); 116 topRightRadius_.SetY(value, option); 117 bottomRightRadius_.SetY(value, option); 118 bottomLeftRadius_.SetY(value, option);
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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_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_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_text_component.cpp | 71 void SvgTextComponent::SetY(const Dimension& y) in SetY() function in OHOS::Ace::SvgTextComponent 73 declaration_->SetY(y); in SetY()
|
/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid/ |
H A D | render_grid.cpp | 117 limitOffset.SetY(0.0); in LimitOffset() 122 limitOffset.SetY(0.0); in LimitOffset() 125 limitOffset.SetY(totalMainSize_ - GetLayoutSize().Height()); in LimitOffset() 141 limitOffset.SetY(0.0); in LimitOffset() 146 limitOffset.SetY(0.0); in LimitOffset() 149 limitOffset.SetY(GetLayoutSize().Height() - totalMainSize_); in LimitOffset() 309 offset.SetY(position.GetY()); in GetChildOffset() 315 offset.SetY((position.GetY() + layout.Height()) - GetLayoutSize().Height()); in GetChildOffset() 365 offset.SetY(position); in JumpTo() 894 delta.SetY(-value); in ResetScrollable() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/ |
H A D | scrollable_fling_test_ng.cpp | 232 localLocation.SetY(-1.1f); 244 localLocation.SetY(-0.0f); 257 localLocation.SetY(-1.1f); 310 localLocation.SetY(-1.1f); 531 localLocation.SetY(-0.0f); 674 notifyDragEvent->SetY(0.2f); 1147 localLocation.SetY(-1.1f); 1159 localLocation.SetY(-0.0f); 1172 localLocation.SetY(-1.1f); 1225 localLocation.SetY(-1.1f); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_overlay_modifier.cpp | 240 centerOffset.SetY(startY - outerHandleRadius); in PaintHandle() 241 startPoint.SetY(outerHandleRadius - 1.0); in PaintHandle() 242 endPoint.SetY(outerHandleRadius + handleRectHeight); in PaintHandle() 245 centerOffset.SetY(startY + outerHandleRadius); in PaintHandle() 246 startPoint.SetY(-outerHandleRadius + 1.0); in PaintHandle() 247 endPoint.SetY(-outerHandleRadius - handleRectHeight); in PaintHandle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | radius.h | 73 void SetY(const Dimension& y, const AnimationOption& option = AnimationOption()) 83 void SetY(const AnimatableDimension& y) in SetY() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_layout_algorithm.cpp | 247 circleCenter.SetY(contentRect.Height() * HALF); in CalculateBlockOffset() 250 circleCenter.SetY(selectOffset); in CalculateBlockOffset() 255 circleCenter.SetY(contentRect.Height() * HALF); in CalculateBlockOffset() 258 circleCenter.SetY(contentRect.Height() - selectOffset); in CalculateBlockOffset()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | render_pattern_lock.cpp | 36 touchPoint.SetY(moveDeltaY); in RenderPatternLock() 48 touchPoint.SetY(moveDeltaY); in RenderPatternLock() 206 centerOffset.SetY(offsetY); in AddChoosePoint() 231 … cellCenter.SetY(offset.GetY() + NormalizeToPx(sideLength_) / COL_COUNT / scale * (y * scale - 1)); in GetCircleCenterByXY()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | point.h | 42 inline void SetY(scalar y); 90 inline void PointF::SetY(scalar y) in SetY() function 203 inline void SetY(int y); 247 inline void PointI::SetY(int y) in SetY() function
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | pipeline_context_test_ng_new.cpp | 1085 emptyHistory.push_back(TouchEvent {}.SetX(100.0f).SetY(200.0f).SetTime(timeStampAce)); 1109 history.push_back(TouchEvent {}.SetX(100.0f).SetY(200.0f).SetTime(timeStampAce)); 1110 history.push_back(TouchEvent {}.SetX(150.0f).SetY(250.0f).SetTime(timeStampTwo)); 1112 current.push_back(TouchEvent {}.SetX(200.0f).SetY(300.0f).SetTime(timeStampThree)); 1113 current.push_back(TouchEvent {}.SetX(250.0f).SetY(350.0f).SetTime(timeStampFour)); 1136 current.push_back(TouchEvent {}.SetX(100.0f).SetY(200.0f).SetTime(timeStampAce)); 1137 current.push_back(TouchEvent {}.SetX(150.0f).SetY(250.0f).SetTime(timeStampTwo)); 1158 history.push_back(TouchEvent {}.SetX(100.0f).SetY(200.0f).SetTime(timeStampAce)); 1159 history.push_back(TouchEvent {}.SetX(150.0f).SetY(250.0f).SetTime(timeStampTwo)); 1161 current.push_back(TouchEvent {}.SetX(200.0f).SetY(300.0f).SetTime(timeStampThree)); [all …]
|