Lines Matching refs:right
102 int16_t right;
112 right = child->GetStyle(STYLE_MARGIN_RIGHT);
113 totalValidLength += (child->GetRelativeRect().GetWidth() + left + right);
130 int16_t right;
137 right = child->GetStyle(STYLE_MARGIN_RIGHT);
139 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
143 pos += child->GetRelativeRect().GetWidth() + right;
154 int16_t right;
167 right = child->GetStyle(STYLE_MARGIN_RIGHT);
171 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
179 pos += child->GetRelativeRect().GetWidth() + right;
190 int16_t right;
202 right = child->GetStyle(STYLE_MARGIN_RIGHT);
204 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
212 width += child->GetRelativeRect().GetWidth() + right + left;
216 pos += child->GetRelativeRect().GetWidth() + right;
288 int16_t right = child->GetStyle(STYLE_MARGIN_RIGHT);
290 if (((posX + child->GetRelativeRect().GetWidth() + right) > GetWidth()) && (wrap_ == WRAP)) {
297 child->SetPosition(GetWidth() - posX - child->GetRelativeRect().GetWidth() - right,
302 posX += child->GetRelativeRect().GetWidth() + right + interval;
344 int16_t right;
356 right = child->GetStyle(STYLE_MARGIN_RIGHT);
365 width = MATH_MAX(width, child->GetRelativeRect().GetWidth() + left + right);
419 int16_t right = child->GetStyle(STYLE_MARGIN_RIGHT);
430 posX = GetWidth() - child->GetRelativeRect().GetWidth() - right - offset;
439 posX = (GetWidth() - child->GetRelativeRect().GetWidth() - left - right) / 2 + left + offset; // 2: half