Lines Matching refs:left
101 int16_t left; in CalValidLength() local
111 left = child->GetStyle(STYLE_MARGIN_LEFT); in CalValidLength()
113 totalValidLength += (child->GetRelativeRect().GetWidth() + left + right); in CalValidLength()
129 int16_t left; in CalRowCount() local
136 left = child->GetStyle(STYLE_MARGIN_LEFT); in CalRowCount()
138 pos += left; in CalRowCount()
140 pos = left; in CalRowCount()
153 int16_t left; in GetRowMaxHeight() local
166 left = child->GetStyle(STYLE_MARGIN_LEFT); in GetRowMaxHeight()
170 pos += left; in GetRowMaxHeight()
172 pos = left; in GetRowMaxHeight()
189 int16_t left; in GetRowsWidth() local
201 left = child->GetStyle(STYLE_MARGIN_LEFT); in GetRowsWidth()
203 pos += left; in GetRowsWidth()
205 pos = left; in GetRowsWidth()
212 width += child->GetRelativeRect().GetWidth() + right + left; in GetRowsWidth()
287 int16_t left = child->GetStyle(STYLE_MARGIN_LEFT); in LayoutHorizontal() local
289 posX += left; in LayoutHorizontal()
292 posX += left; in LayoutHorizontal()
300 child->SetPosition(posX - left, posY - child->GetStyle(STYLE_MARGIN_TOP)); in LayoutHorizontal()
343 int16_t left; in GetColumnMaxWidth() local
355 left = child->GetStyle(STYLE_MARGIN_LEFT); in GetColumnMaxWidth()
358 pos += left; in GetColumnMaxWidth()
360 pos = left; in GetColumnMaxWidth()
365 width = MATH_MAX(width, child->GetRelativeRect().GetWidth() + left + right); in GetColumnMaxWidth()
418 int16_t left = child->GetStyle(STYLE_MARGIN_LEFT); in GetCrossAxisPosX() local
425 posX = left + offset; in GetCrossAxisPosX()
439 …posX = (GetWidth() - child->GetRelativeRect().GetWidth() - left - right) / 2 + left + offset; // 2… in GetCrossAxisPosX()