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