Home
last modified time | relevance | path

Searched refs:GetRelativeRect (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/layout/
H A Dflex_layout.cpp139 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) { in CalRowCount()
143 pos += child->GetRelativeRect().GetWidth() + right; in CalRowCount()
179 pos += child->GetRelativeRect().GetWidth() + right; in GetRowMaxHeight()
212 width += child->GetRelativeRect().GetWidth() + right + left; in GetRowsWidth()
216 pos += child->GetRelativeRect().GetWidth() + right; in GetRowsWidth()
302 posX += child->GetRelativeRect().GetWidth() + right + interval; in LayoutHorizontal()
333 pos += child->GetRelativeRect().GetHeight() + bottom; in CalColumnCount()
367 pos += child->GetRelativeRect().GetHeight() + bottom; in GetColumnMaxWidth()
400 height += child->GetRelativeRect().GetHeight() + top + bottom; in GetColumnsHeight()
404 pos += child->GetRelativeRect().GetHeight() + bottom; in GetColumnsHeight()
[all …]
H A Dgrid_layout.cpp72 …int16_t actPosX = posX + (layoutWidth - child->GetRelativeRect().GetWidth() - left - right) / 2 + … in LayoutHorizontal()
74 …int16_t actPosY = posY + (layoutHeight - child->GetRelativeRect().GetHeight() - top - bottom) / 2 … in LayoutHorizontal()
106 …int16_t actPosX = posX + (layoutWidth - child->GetRelativeRect().GetWidth() - left - right) / 2 + … in LayoutVertical()
108 …int16_t actPosY = posY + (layoutHeight - child->GetRelativeRect().GetHeight() - top - bottom) / 2 … in LayoutVertical()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_list.cpp360 …childrenHead_->GetRelativeRect().GetTop() >= 0 && childrenHead_->GetRelativeRect().GetTop() - y < … in MoveOffset()
370 …childrenHead_->GetRelativeRect().GetLeft() >= 0 && childrenHead_->GetRelativeRect().GetLeft() - x … in MoveOffset()
506 if (childrenHead_ && (childrenHead_->GetRelativeRect().GetRight() + distance < 0)) { in MoveChildStepHorizontal()
541 (child->GetY() + child->GetRelativeRect().GetHeight() >= selectPosition_)) { in GetSelectView()
549 (child->GetX() + child->GetRelativeRect().GetWidth() >= selectPosition_)) { in GetSelectView()
636 height = view->GetRelativeRect().GetHeight(); in MoveChildByOffset()
648 width = view->GetRelativeRect().GetWidth(); in MoveChildByOffset()
666 height = view->GetRelativeRect().GetHeight(); in MoveChildByOffset()
679 width = view->GetRelativeRect().GetWidth(); in MoveChildByOffset()
889 int16_t width = targetView->GetRelativeRect().GetWidth(); in FixHorDistance()
[all …]
H A Dui_swipe_view.cpp114 if (childrenTail_->GetRelativeRect().GetRight() < width - blankSize_) { in DragXInner()
141 if (childrenTail_->GetRelativeRect().GetBottom() < height - blankSize_) { in DragYInner()
330 next->SetX(pre->GetRelativeRect().GetRight() + pre->GetStyle(STYLE_MARGIN_RIGHT) + 1); in SortChild()
332 next->SetY(pre->GetRelativeRect().GetBottom() + pre->GetStyle(STYLE_MARGIN_BOTTOM) + 1); in SortChild()
535 Rect swipeRect(0, 0, GetRelativeRect().GetWidth() - 1, GetRelativeRect().GetHeight() - 1); in CalculateInvalidate()
539 Rect rect = view->GetRelativeRect(); in CalculateInvalidate()
H A Dui_view.cpp832 …x += par->GetRelativeRect().GetX() + par->GetStyle(STYLE_PADDING_LEFT) + par->GetStyle(STYLE_BORDE… in GetOrigRect()
833 …y += par->GetRelativeRect().GetY() + par->GetStyle(STYLE_PADDING_TOP) + par->GetStyle(STYLE_BORDER… in GetOrigRect()
1363 … return GetRelativeRect().GetWidth() + GetStyle(STYLE_MARGIN_LEFT) + GetStyle(STYLE_MARGIN_RIGHT); in GetWidthWithMargin()
1368 … return GetRelativeRect().GetHeight() + GetStyle(STYLE_MARGIN_TOP) + GetStyle(STYLE_MARGIN_BOTTOM); in GetHeightWithMargin()
1371 Rect UIView::GetRelativeRect() const in GetRelativeRect() function in OHOS::UIView
H A Dui_view_group.cpp264 Rect rectChild = view->GetRelativeRect(); in GetAllChildRelativeRect()
H A Droot_view.cpp660 relativeRect = curView->GetRelativeRect(); in Render()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_button.h265 return GetRelativeRect().GetWidth() - (style->paddingLeft_ + style->paddingRight_) - in GetWidth()
279 return GetRelativeRect().GetHeight() - (style->paddingTop_ + style->paddingBottom_) - in GetHeight()
H A Dui_view.h813 Rect GetRelativeRect() const;
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_view_unit_test.cpp1066 Rect rect = view_->GetRelativeRect();
1093 rect = view_->GetRelativeRect();
1119 rect = view_->GetRelativeRect();