Lines Matching defs:posX
259 int16_t posX = 0;
280 GetRowStartPos(posX, interval, count, rowsWidth, rowsChildNum);
282 GetNoWrapStartPos(GetWidth(), posX, interval);
289 posX += left;
290 if (((posX + child->GetRelativeRect().GetWidth() + right) > GetWidth()) && (wrap_ == WRAP)) {
291 GetRowStartPos(posX, interval, ++count, rowsWidth, rowsChildNum);
292 posX += left;
297 child->SetPosition(GetWidth() - posX - child->GetRelativeRect().GetWidth() - right,
300 child->SetPosition(posX - left, posY - child->GetStyle(STYLE_MARGIN_TOP));
302 posX += child->GetRelativeRect().GetWidth() + right + interval;
410 void FlexLayout::GetCrossAxisPosX(int16_t& posX, uint16_t& count, uint16_t* columnsMaxWidth, UIView* child)
425 posX = left + offset;
430 posX = GetWidth() - child->GetRelativeRect().GetWidth() - right - offset;
439 posX = (GetWidth() - child->GetRelativeRect().GetWidth() - left - right) / 2 + left + offset; // 2: half
447 int16_t posX = 0;
483 GetCrossAxisPosX(posX, count, columnsMaxWidth, child);
485 child->SetPosition(posX - child->GetStyle(STYLE_MARGIN_LEFT),
488 child->SetPosition(posX - child->GetStyle(STYLE_MARGIN_LEFT), posY - top);