Lines Matching refs:GetWidth

96         rect.SetWidth(rect.GetWidth() - r);  in OnPreDraw()
208 int16_t width = GetWidth(); in SetStyle()
221 SetWidth(rect.GetWidth()); in UpdateRectInfo()
227 SetWidth(rect.GetWidth()); in UpdateRectInfo()
811 contentRect.SetWidth(GetWidth()); in GetContentRect()
821 contentRect.SetWidth(GetWidth()); in GetOrigContentRect()
836 return Rect(x, y, x + rect_.GetWidth() - 1, y + rect_.GetHeight() - 1); in GetOrigRect()
866 absoluteRect.SetWidth(visibleRect_->GetWidth()); in GetVisibleRect()
891 if (GetWidth() != width) { in SetWidth()
903 if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1)) { in SetWidthPercent()
904 int16_t newWidth = static_cast<int16_t>(GetParent()->GetWidth() * widthPercent); in SetWidthPercent()
909 int16_t UIView::GetWidth() in GetWidth() function in OHOS::UIView
911 return rect_.GetWidth() - (style_->paddingLeft_ + style_->paddingRight_) - in GetWidth()
952 … if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1) && (GetParent()->GetHeight() > 1)) { in ResizePercent()
953 int16_t newWidth = static_cast<int16_t>(GetParent()->GetWidth() * widthPercent); in ResizePercent()
971 if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1)) { in SetXPercent()
972 int16_t newX = static_cast<int16_t>(GetParent()->GetWidth() * xPercent); in SetXPercent()
1016 … if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1) && (GetParent()->GetHeight() > 1)) { in SetPositionPercent()
1017 int16_t newX = static_cast<int16_t>(GetParent()->GetWidth() * xPercent); in SetPositionPercent()
1035 … if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1) && (GetParent()->GetHeight() > 1)) { in SetPositionPercent()
1036 int16_t newX = static_cast<int16_t>(GetParent()->GetWidth() * xPercent); in SetPositionPercent()
1038 int16_t newWidth = static_cast<int16_t>(GetParent()->GetWidth() * widthPercent); in SetPositionPercent()
1116 …int16_t posX = parent_->GetWidth() / 2 - (rect_.GetWidth() - leftMargin + rightMargin) / 2 + xOffs… in LayoutCenterOfParent()
1139 SetPosition(parent_->GetWidth() - offset - rect_.GetWidth() - rightMargin, GetY()); in LayoutRightOfParent()
1182 … SetPosition(sib->GetX() + sib->rect_.GetWidth() - rect_.GetWidth() - offset + margin, GetY()); in AlignRightToSibling()
1220 …SetPosition(sib->GetX() + sib->rect_.GetWidth() / 2 - rect_.GetWidth() / 2 + margin + offset, GetY… in AlignHorCenterToSibling()
1245 SetPosition(sib->GetX() - offset - rect_.GetWidth() - margin, GetY()); in LayoutLeftToSibling()
1257 SetPosition(sib->GetX() + sib->rect_.GetWidth() + offset + margin, GetY()); in LayoutRightToSibling()
1310 bufInfo.width = mask.GetWidth(); in GetBitmap()
1363 … return GetRelativeRect().GetWidth() + GetStyle(STYLE_MARGIN_LEFT) + GetStyle(STYLE_MARGIN_RIGHT); in GetWidthWithMargin()