Lines Matching defs:pos

36                              int16_t& pos,
45 pos = 0;
49 pos = 0;
51 pos = length - validLengths[count];
55 pos = (length - validLengths[count]) / 2; // 2: half
61 pos = interval / 2; // 2: half
64 pos = interval;
67 pos = 0;
80 void FlexLayout::GetRowStartPos(int16_t& pos,
86 GetStartPos(GetWidth(), pos, interval, count, rowsWidth, rowsChildNum);
89 void FlexLayout::GetColumnStartPos(int16_t& pos,
95 GetStartPos(GetHeight(), pos, interval, count, columnsHeight, columnsChildNum);
128 int16_t pos = 0;
138 pos += left;
139 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
140 pos = left;
143 pos += child->GetRelativeRect().GetWidth() + right;
152 int16_t pos = 0;
170 pos += left;
171 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
172 pos = left;
179 pos += child->GetRelativeRect().GetWidth() + right;
188 int16_t pos = 0;
203 pos += left;
204 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
205 pos = left;
216 pos += child->GetRelativeRect().GetWidth() + right;
318 int16_t pos = 0;
328 pos += top;
329 if ((pos + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) {
330 pos = top;
333 pos += child->GetRelativeRect().GetHeight() + bottom;
342 int16_t pos = 0;
358 pos += left;
359 if ((pos + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) {
360 pos = left;
367 pos += child->GetRelativeRect().GetHeight() + bottom;
376 int16_t pos = 0;
391 pos += top;
392 if ((pos + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) {
393 pos = top;
404 pos += child->GetRelativeRect().GetHeight() + bottom;