Home
last modified time | relevance | path

Searched refs:buttonSize_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drosen_render_button.cpp185 buttonSize_.SetWidth(0.0); in MeasureButtonSize()
221 …minSize = widthDefined_ ? std::min(buttonSize_.Width(), buttonSize_.Height()) : buttonSize_.Height… in MeasureCircle()
273 rRect.setRectRadii(SkRect::MakeIWH(buttonSize_.Width(), buttonSize_.Height()), radii_); in DrawShape()
275 …rRect.setRectXY(SkRect::MakeIWH(buttonSize_.Width(), buttonSize_.Height()), rrectRadius_, rrectRad… in DrawShape()
387 …rRect.setRectXY(SkRect::MakeWH(buttonSize_.Width(), buttonSize_.Height()), rrectRadius_, rrectRadi… in DrawLineProgress()
401 RSRect(0, 0, buttonSize_.Width(), buttonSize_.Height()), rrectRadius_, rrectRadius_); in DrawLineProgress()
419 …path.addArc({ offsetX, offsetY, buttonSize_.Height() + offsetX, buttonSize_.Height() + offsetY }, … in DrawLineProgressAnimation()
446 …path.AddArc(RSRect(offsetX, offsetY, buttonSize_.Height() + offsetX, buttonSize_.Height() + offset… in DrawLineProgressAnimation()
450 buttonSize_.Height() - progressWidth_ + offsetX, buttonSize_.Height() + offsetY), in DrawLineProgressAnimation()
515 …canvas->drawCircle(offset.GetX() + buttonSize_.Width() / 2, offset.GetY() + buttonSize_.Height() /… in DrawDownloadButton()
[all …]
H A Drender_button.cpp200 …if ((moveDeltaX < 0 || moveDeltaX > buttonSize_.Width()) || (moveDeltaY < 0 || moveDeltaY > button… in HandleMoveEvent()
505 buttonSize_ = Size(NormalizePercentToPx(width_, false), NormalizePercentToPx(height_, true)); in PerformLayout()
511 buttonSize_ = GetLayoutSize() - Size(widthDelta_, widthDelta_); in PerformLayout()
513 rrectRadius_ = buttonSize_.Height() / 2; in PerformLayout()
521 double maxWidth = buttonSize_.Width(); in SetChildrenLayoutSize()
522 if (NearEqual(buttonSize_.Width(), 0.0)) { in SetChildrenLayoutSize()
526 double height = buttonSize_.Height(); in SetChildrenLayoutSize()
559 if (NearEqual(buttonSize_.Width(), 0.0)) { in CalculateLayoutSize()
562 layoutSize = Size(width, buttonSize_.Height()) + Size(widthDelta_, widthDelta_); in CalculateLayoutSize()
619 progressWidth_ = buttonSize_.Width() * progressPercent_; in SetProgress()
[all …]
H A Drender_button.h162 Size buttonSize_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_pattern.h179 return buttonSize_; in GetButtonSize()
299 SizeF buttonSize_; variable
H A Dsearch_pattern.cpp170 buttonSize_.Reset(); in OnDirtyLayoutWrapperSwap()
172 buttonSize_ = buttonGeometryNode->GetFrameSize(); in OnDirtyLayoutWrapperSwap()
1045 endX = buttonSize_.Width() + originX - DOUBLE * focusOffset; in GetInnerFocusPaintRect()
1046 endY = buttonSize_.Height() + originY - DOUBLE * focusOffset; in GetInnerFocusPaintRect()
1047 radiusTopLeft = buttonSize_.Height() / DOUBLE - focusOffset; in GetInnerFocusPaintRect()
1048 radiusTopRight = buttonSize_.Height() / DOUBLE - focusOffset; in GetInnerFocusPaintRect()
1049 radiusBottomLeft = buttonSize_.Height() / DOUBLE - focusOffset; in GetInnerFocusPaintRect()
1050 radiusBottomRight = buttonSize_.Height() / DOUBLE - focusOffset; in GetInnerFocusPaintRect()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/search/
H A Dsearch_test_ng.cpp458 EXPECT_EQ(pattern->buttonSize_.Height(), 0);
459 EXPECT_EQ(pattern->buttonSize_.Width(), 0);