Lines Matching refs:GetWidth
96 rect.SetWidth(rect.GetWidth() - r);
208 int16_t width = GetWidth();
221 SetWidth(rect.GetWidth());
227 SetWidth(rect.GetWidth());
811 contentRect.SetWidth(GetWidth());
821 contentRect.SetWidth(GetWidth());
836 return Rect(x, y, x + rect_.GetWidth() - 1, y + rect_.GetHeight() - 1);
866 absoluteRect.SetWidth(visibleRect_->GetWidth());
891 if (GetWidth() != width) {
903 if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1)) {
904 int16_t newWidth = static_cast<int16_t>(GetParent()->GetWidth() * widthPercent);
909 int16_t UIView::GetWidth()
911 return rect_.GetWidth() - (style_->paddingLeft_ + style_->paddingRight_) -
952 if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1) && (GetParent()->GetHeight() > 1)) {
953 int16_t newWidth = static_cast<int16_t>(GetParent()->GetWidth() * widthPercent);
971 if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1)) {
972 int16_t newX = static_cast<int16_t>(GetParent()->GetWidth() * xPercent);
1016 if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1) && (GetParent()->GetHeight() > 1)) {
1017 int16_t newX = static_cast<int16_t>(GetParent()->GetWidth() * xPercent);
1035 if ((GetParent() != nullptr) && (GetParent()->GetWidth() > 1) && (GetParent()->GetHeight() > 1)) {
1036 int16_t newX = static_cast<int16_t>(GetParent()->GetWidth() * xPercent);
1038 int16_t newWidth = static_cast<int16_t>(GetParent()->GetWidth() * widthPercent);
1116 int16_t posX = parent_->GetWidth() / 2 - (rect_.GetWidth() - leftMargin + rightMargin) / 2 + xOffset;
1139 SetPosition(parent_->GetWidth() - offset - rect_.GetWidth() - rightMargin, GetY());
1182 SetPosition(sib->GetX() + sib->rect_.GetWidth() - rect_.GetWidth() - offset + margin, GetY());
1220 SetPosition(sib->GetX() + sib->rect_.GetWidth() / 2 - rect_.GetWidth() / 2 + margin + offset, GetY());
1245 SetPosition(sib->GetX() - offset - rect_.GetWidth() - margin, GetY());
1257 SetPosition(sib->GetX() + sib->rect_.GetWidth() + offset + margin, GetY());
1310 bufInfo.width = mask.GetWidth();
1363 return GetRelativeRect().GetWidth() + GetStyle(STYLE_MARGIN_LEFT) + GetStyle(STYLE_MARGIN_RIGHT);